diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-25 14:19:05 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-25 14:19:05 +0300 |
commit | ee7a91629442ba40e876e19e4cdd7af173e8e840 (patch) | |
tree | af9949706fef750dd88d5aa020f36fbd3f714863 /plugins/NewStory/src/history_control.h | |
parent | b2d8179423721eb6cc58286dde0b1f4c94dd87ce (diff) |
NewStory: fast fetch()-based version of search (closes #4068 completely)
Diffstat (limited to 'plugins/NewStory/src/history_control.h')
-rw-r--r-- | plugins/NewStory/src/history_control.h | 5 |
1 files changed, 2 insertions, 3 deletions
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); |