From ccde738e49d3102681ab38c6b3e250e9fb57c8bb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 16 Sep 2024 19:21:57 +0300 Subject: =?UTF-8?q?fixes=20#4675=20(=D0=9D=D0=B5=20=D1=80=D0=B0=D0=B1?= =?UTF-8?q?=D0=BE=D1=82=D0=B0=D1=8E=D1=82=20=D0=BA=D0=BD=D0=BE=D0=BF=D0=BA?= =?UTF-8?q?=D0=B8=20=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=82=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=B2=20StdMsg/Scriver)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/m_chat_int.h | 1 - include/m_srmm_int.h | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'include') 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(); -- cgit v1.2.3