diff options
author | George Hazan <george.hazan@gmail.com> | 2024-09-16 19:21:57 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-09-16 19:21:57 +0300 |
commit | ccde738e49d3102681ab38c6b3e250e9fb57c8bb (patch) | |
tree | 20fc7d1da6b43ce9323dbdcba1b99605224a2931 /include | |
parent | 41b98908e8f8b9014d1525d123c5a4c3b845230b (diff) |
fixes #4675 (Не работают кнопки форматирования в StdMsg/Scriver)
Diffstat (limited to 'include')
-rw-r--r-- | include/m_chat_int.h | 1 | ||||
-rw-r--r-- | include/m_srmm_int.h | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h index f8fc7ce950..c5f0d163f2 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -308,7 +308,6 @@ struct CHAT_MANAGER wchar_t* (*RemoveFormatting)(const wchar_t *pszText);
void (*ReloadSettings)(void);
- int (*DoRtfToTags)(CMStringW &pszText, int iNumColors, COLORREF *pColors);
void (*CreateNick)(const SESSION_INFO *si, const LOGINFO *lin, CMStringW &dest);
int logPixelSY, logPixelSX;
diff --git a/include/m_srmm_int.h b/include/m_srmm_int.h index 00f701bc44..b33980c301 100644 --- a/include/m_srmm_int.h +++ b/include/m_srmm_int.h @@ -306,6 +306,7 @@ protected: #endif
bool ProcessHotkeys(int key, bool bShift, bool bCtrl, bool bAlt);
void RefreshButtonStatus(void);
+ bool DoRtfToTags(CMStringW &pszText) const;
void RunUserMenu(HWND hwndOwner, struct USERINFO *ui, const POINT &pt);
void UpdateChatLog(void);
@@ -347,9 +348,10 @@ public: MCONTACT m_hContact;
MEVENT m_hDbEventFirst, m_hQuoteEvent = 0;
int m_iLogFilterFlags;
- bool m_bFilterEnabled, m_bNicklistEnabled, m_bReadOnly = false;
+ bool m_bFilterEnabled, m_bNicklistEnabled, m_bReadOnly = false, m_bSendFormat;
bool m_bFGSet, m_bBGSet;
bool m_bInMenu, m_bActive;
+
COLORREF m_iFG, m_iBG;
CTimer timerFlash, timerType, timerNickList, timerRedraw;
@@ -369,6 +371,7 @@ public: virtual void DrawNickList(USERINFO *ui, DRAWITEMSTRUCT *dis) = 0;
virtual void EventAdded(MEVENT, const DB::EventInfo &dbei) = 0;
virtual bool GetFirstEvent() = 0;
+ virtual void GetInputFont(LOGFONTW &lf, COLORREF &bg, COLORREF &fg) const = 0;
virtual bool IsActive() const = 0;
virtual void LoadSettings() = 0;
virtual void OnOptionsApplied();
|