From 1516e9198b589f215d0fd7d52a6aecce2dc380f2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 3 Mar 2017 19:23:53 +0300 Subject: tabSRMM: - fixes #728; - panel object aggregated instead of embedding; - more UI buttons for the groupchat window; - crazy translation optimization removed --- plugins/TabSRMM/src/infopanel.h | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) (limited to 'plugins/TabSRMM/src/infopanel.h') 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; } -- cgit v1.2.3