summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_control.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-07-29 13:19:57 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-07-29 13:19:57 +0300
commita63fdd451d23aa5d4b33c1bcf3540bea411f3358 (patch)
tree58611d7ffb4d32adfd9aa308026f479b27309f72 /plugins/NewStory/src/history_control.h
parent65b8ac5da658208d9b8540eaa39299283ea99d04 (diff)
NewStory: event is redrawn when ME_DB_EVENT_EDITED is fired + code cleaning
Diffstat (limited to 'plugins/NewStory/src/history_control.h')
-rw-r--r--plugins/NewStory/src/history_control.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/NewStory/src/history_control.h b/plugins/NewStory/src/history_control.h
index 3d9784b8c1..743992e90a 100644
--- a/plugins/NewStory/src/history_control.h
+++ b/plugins/NewStory/src/history_control.h
@@ -77,7 +77,8 @@ enum
NSM_SEEKTIME,
//
- NSM_SET_SRMM, // act inside SRMM dialog
+ NSM_SET_SRMM, // act inside SRMM dialog
+ NSM_SET_CONTACT,
NSM_LAST
};
@@ -118,10 +119,11 @@ struct NewstoryListData : public MZeroedObject
void EndEditItem(bool bAccept);
void EnsureVisible(int item);
void FixScrollPosition();
- int GetItemFromPixel(int yPos);
- int LayoutItem(int index);
- int PaintItem(HDC hdc, int index, int top, int width);
+ int GetItemFromPixel(int yPos);
+ int LayoutItem(int index);
+ int PaintItem(HDC hdc, int index, int top, int width);
void RecalcScrollBar();
+ void ScheduleDraw();
void ScrollListBy(int scrollItems, int scrollPixels);
void SetPos(int pos);
};