From ee7a91629442ba40e876e19e4cdd7af173e8e840 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Dec 2023 14:19:05 +0300 Subject: NewStory: fast fetch()-based version of search (closes #4068 completely) --- plugins/NewStory/src/history_control.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/NewStory/src/history_control.h') diff --git a/plugins/NewStory/src/history_control.h b/plugins/NewStory/src/history_control.h index 658e351d9d..c60b57a667 100644 --- a/plugins/NewStory/src/history_control.h +++ b/plugins/NewStory/src/history_control.h @@ -19,7 +19,7 @@ struct NewstoryListData : public MZeroedObject int cachedWindowWidth = -1, cachedWindowHeight = -1; int cachedMaxDrawnItem = -1; int cachedScrollbarPos = -1, cachedScrollbarMax = -1; - int totalCount, loadCount = -1; + int totalCount; RECT rcLastPaint; @@ -28,14 +28,13 @@ struct NewstoryListData : public MZeroedObject HWND m_hwnd; HWND hwndEditBox; - CTimer redrawTimer, loadTimer; + CTimer redrawTimer; CSrmmBaseDialog *pMsgDlg = nullptr; void OnContextMenu(int index, POINT pt); void OnResize(int newWidth, int newHeight); void onTimer_Draw(CTimer *pTimer); - void onTimer_Load(CTimer *pTimer); void AddChatEvent(SESSION_INFO *si, const LOGINFO *lin); void AddEvent(MCONTACT hContact, MEVENT hFirstEvent, int iCount); -- cgit v1.2.3