summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-07-25 13:11:06 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-07-25 13:11:06 +0300
commit69581b8648e0c2fe96f454455763359ebeeba46a (patch)
tree524a4088b16ad99993b4ca9994ccc55b554c49db /include
parent1acef408decb2450ce8cea52b37674f1972b9f82 (diff)
SRMM: automatic RTF log redraw on event's change/removal
Diffstat (limited to 'include')
-rw-r--r--include/m_srmm_int.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/m_srmm_int.h b/include/m_srmm_int.h
index b2813d9a0b..2ed23a5bf7 100644
--- a/include/m_srmm_int.h
+++ b/include/m_srmm_int.h
@@ -237,6 +237,7 @@ class MIR_APP_EXPORT CSrmmBaseDialog : public CDlgBase
CSrmmBaseDialog &operator=(const CSrmmBaseDialog &) = delete;
void OnNickListTimer(CTimer *);
+ void OnRedrawTimer(CTimer *);
protected:
CSrmmBaseDialog(CMPluginBase &pPlugin, int idDialog, struct SESSION_INFO *si = nullptr);
@@ -294,10 +295,11 @@ public:
bool m_bFGSet, m_bBGSet;
bool m_bInMenu;
COLORREF m_iFG, m_iBG;
- CTimer timerFlash, timerType, timerNickList;
+ CTimer timerFlash, timerType, timerNickList, timerRedraw;
void ClearLog();
void RedrawLog();
+ void ScheduleRedrawLog();
void ShowColorChooser(int iCtrlId);
void UpdateNickList(void);
@@ -308,6 +310,7 @@ public:
virtual bool GetFirstEvent() PURE;
virtual bool IsActive() const PURE;
virtual void LoadSettings() PURE;
+ virtual void RemakeLog() PURE;
virtual void SetStatusText(const wchar_t *, HICON) {}
virtual void ShowFilterMenu() {}
virtual void UpdateFilterButton();