From 0805744c4b2f73149d27f5fbadb767d3d5bd50b1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 3 Dec 2023 15:47:12 +0300 Subject: SRMM: quote panel --- include/chat_resource.h | 2 ++ include/m_srmm_int.h | 6 ++++++ 2 files changed, 8 insertions(+) (limited to 'include') diff --git a/include/chat_resource.h b/include/chat_resource.h index fc31071881..e0b898ed95 100644 --- a/include/chat_resource.h +++ b/include/chat_resource.h @@ -34,3 +34,5 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define IDC_SRMM_NICKLIST 3010 #define IDC_SRMM_LOG 3011 #define IDC_SRMM_MESSAGE 3012 +#define IDC_SRMM_QUOTE 3013 +#define IDC_SRMM_CLOSEQUOTE 3014 diff --git a/include/m_srmm_int.h b/include/m_srmm_int.h index a21098ea32..58ecb1ed7d 100644 --- a/include/m_srmm_int.h +++ b/include/m_srmm_int.h @@ -311,6 +311,7 @@ protected: CCtrlRichEdit m_message; SESSION_INFO *m_si; COLORREF m_clrInputBG, m_clrInputFG; + MEVENT m_hQuoteEvent = 0; // user typing support; uint32_t m_nLastTyping = 0; @@ -322,6 +323,9 @@ protected: int m_iNickSearch = -1; CMStringW m_wszNickSearch; + CCtrlBase m_Quote; + CCtrlMButton m_btnCloseQuote; + CCtrlButton m_btnColor, m_btnBkColor, m_btnOk; CCtrlButton m_btnBold, m_btnItalic, m_btnUnderline; CCtrlButton m_btnHistory, m_btnChannelMgr, m_btnNickList, m_btnFilter; @@ -332,6 +336,7 @@ protected: void onClick_ChanMgr(CCtrlButton *); void onClick_History(CCtrlButton *); + void onClick_CloseQuote(CCtrlButton *); void onDblClick_List(CCtrlListBox *); @@ -350,6 +355,7 @@ public: void RedrawLog(); void ScheduleRedrawLog(); void SetMessageText(const wchar_t *pwszText, bool bAppend = true); + void SetQuoteEvent(MEVENT hEvent); void ShowColorChooser(int iCtrlId); void UpdateChatOptions(); void UpdateNickList(void); -- cgit v1.2.3