diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-03 15:47:12 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-03 15:47:12 +0300 |
commit | 0805744c4b2f73149d27f5fbadb767d3d5bd50b1 (patch) | |
tree | fed632071267b83ece5bb710c2c1f08d9c477cba /include | |
parent | 6936e530d411a5d516e13e86022fb064dd342f77 (diff) |
SRMM: quote panel
Diffstat (limited to 'include')
-rw-r--r-- | include/chat_resource.h | 2 | ||||
-rw-r--r-- | include/m_srmm_int.h | 6 |
2 files changed, 8 insertions, 0 deletions
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);
|