diff options
author | George Hazan <ghazan@miranda.im> | 2020-04-03 14:50:10 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-04-03 14:50:19 +0300 |
commit | 58a9d3dbd775650dd1a8ac51ec78748184b4a657 (patch) | |
tree | 8ad2d33e013e1b5970c6442d32dfbab51ba3f35b /plugins/Popup/src/popup_wnd2.h | |
parent | 41fb0d2d6a4417d3ad2d26df15b6d6ab68af0c68 (diff) |
MTextControl's support removed from Popup+
Diffstat (limited to 'plugins/Popup/src/popup_wnd2.h')
-rw-r--r-- | plugins/Popup/src/popup_wnd2.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/plugins/Popup/src/popup_wnd2.h b/plugins/Popup/src/popup_wnd2.h index 45b940fbb6..407ebd622d 100644 --- a/plugins/Popup/src/popup_wnd2.h +++ b/plugins/Popup/src/popup_wnd2.h @@ -34,7 +34,7 @@ class PopupWnd2 : public MZeroedObject {
public:
typedef LRESULT(PopupWnd2::*MethodPtr)(LPARAM lParam);
- enum TextType { TT_NONE, TT_UNICODE, TT_MTEXT };
+ enum TextType { TT_NONE, TT_UNICODE };
struct ActionInfo
{
@@ -55,7 +55,6 @@ private: // content
TextType m_textType;
wchar_t *m_lptzTitle, *m_lptzText;
- HANDLE m_mtTitle, m_mtText;
bool m_bTextEmpty, m_bIcoLib;
HFONT m_hfnTitle, m_hfnText;
HICON m_hIcon;
@@ -130,7 +129,6 @@ public: void updateData(POPUPDATAW *ppd);
void updateData(POPUPDATA2 *ppd);
- void buildMText();
void updateText(wchar_t *text);
void updateTitle(wchar_t *title);
@@ -146,15 +144,13 @@ public: bool isTextEmpty() { return m_bTextEmpty; }
bool isIcolib() { return m_bIcoLib; }
TextType getTextType() { return m_textType; }
- wchar_t *getText() { return m_lptzText; }
- HANDLE getTextM() { return m_mtText; }
- wchar_t *getTitle() { return m_lptzTitle; }
- HANDLE getTitleM() { return m_mtTitle; }
+ wchar_t *getText() { return m_lptzText; }
+ wchar_t *getTitle() { return m_lptzTitle; }
int getActionCount() { return m_actionCount; }
ActionInfo *getActions() { return m_actions; }
- wchar_t *getTime() { return m_time; }
+ wchar_t *getTime() { return m_time; }
HICON getIcon() { return m_hIcon; }
MCONTACT getContact() { return m_hContact; }
MCONTACT getContactPassed() { return m_hContactPassed; }
|