diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-03 19:23:53 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-03 19:23:53 +0300 |
commit | 1516e9198b589f215d0fd7d52a6aecce2dc380f2 (patch) | |
tree | 3d378daa18f11e122d951fb80f79dfb770a986d0 /plugins/TabSRMM/src/infopanel.h | |
parent | 7f1d7982f443ebd5ed80ae980145f911842a0668 (diff) |
tabSRMM:
- fixes #728;
- panel object aggregated instead of embedding;
- more UI buttons for the groupchat window;
- crazy translation optimization removed
Diffstat (limited to 'plugins/TabSRMM/src/infopanel.h')
-rw-r--r-- | plugins/TabSRMM/src/infopanel.h | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/plugins/TabSRMM/src/infopanel.h b/plugins/TabSRMM/src/infopanel.h index 73c235d902..f554fa0bc5 100644 --- a/plugins/TabSRMM/src/infopanel.h +++ b/plugins/TabSRMM/src/infopanel.h @@ -29,6 +29,10 @@ #ifndef __INFOPANEL_H
#define __INFOPANEL_H
+class CInfoPanel;
+class CTabBaseDlg;
+struct CSkinItem;
+
/*
* configuration data for the info panel (fonts, colors)
* this is global for all panels
@@ -125,25 +129,8 @@ public: HTNIRVANA = 0
};
- CInfoPanel(CTabBaseDlg *dat)
- {
- if (dat) {
- m_dat = dat;
- m_isChat = dat->m_bType == SESSIONTYPE_CHAT ? true : false;
- }
- m_defaultHeight = PluginConfig.m_panelHeight;
- m_defaultMUCHeight = PluginConfig.m_MUCpanelHeight;
- m_hwndConfig = 0;
- m_hoverFlags = 0;
- m_tip = 0;
- }
-
- ~CInfoPanel()
- {
- if (m_hwndConfig)
- ::DestroyWindow(m_hwndConfig);
- saveHeight(true);
- }
+ CInfoPanel(CTabBaseDlg *dat);
+ ~CInfoPanel();
__forceinline const LONG getHeight() const { return m_height; }
__forceinline bool isActive() const { return m_active; }
|