diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-07 15:09:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-07 18:44:33 +0300 |
commit | 0042f7550ab3d69d742c3ef90383fcdff446f850 (patch) | |
tree | 770478eb8fe83c9a41f50db3a399993b4da0f99d /plugins/TabSRMM/src/msgs.h | |
parent | cbceb59a83a41f05b1b1a7812d10bc4940d4d303 (diff) |
splitter data removed from common chat session settings
Diffstat (limited to 'plugins/TabSRMM/src/msgs.h')
-rw-r--r-- | plugins/TabSRMM/src/msgs.h | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/plugins/TabSRMM/src/msgs.h b/plugins/TabSRMM/src/msgs.h index 8c5c4b24db..a13f0bfd28 100644 --- a/plugins/TabSRMM/src/msgs.h +++ b/plugins/TabSRMM/src/msgs.h @@ -156,17 +156,17 @@ struct TLogTheme struct TContainerSettings
{
- bool fPrivate;
- DWORD dwFlags;
- DWORD dwFlagsEx;
- DWORD dwTransparency;
- DWORD panelheight;
- DWORD splitterPos;
- wchar_t szTitleFormat[TITLE_FORMATLEN + 2];
- WORD avatarMode;
- WORD ownAvatarMode;
- WORD autoCloseSeconds;
- BYTE reserved[10];
+ bool fPrivate;
+ DWORD dwFlags;
+ DWORD dwFlagsEx;
+ DWORD dwTransparency;
+ DWORD panelheight;
+ int iSplitterY;
+ wchar_t szTitleFormat[TITLE_FORMATLEN + 2];
+ WORD avatarMode;
+ WORD ownAvatarMode;
+ WORD autoCloseSeconds;
+ int iSplitterX;
};
struct ButtonItem;
@@ -175,7 +175,7 @@ struct TContainerData {
TContainerData *pNext;
- wchar_t szName[CONTAINER_NAMELEN + 4]; // container name
+ wchar_t szName[CONTAINER_NAMELEN + 4]; // container name
HWND hwndActive; // active message window
HWND hwnd; // the container handle
int iTabIndex; // next tab id
@@ -199,7 +199,7 @@ struct TContainerData DWORD dwFlashingStarted;
HWND hWndOptions;
BOOL bSizingLoop;
- wchar_t szRelThemeFile[MAX_PATH], szAbsThemeFile[MAX_PATH];
+ wchar_t szRelThemeFile[MAX_PATH], szAbsThemeFile[MAX_PATH];
TTemplateSet *ltr_templates, *rtl_templates;
HDC cachedDC;
HBITMAP cachedHBM, oldHBM;
@@ -280,8 +280,9 @@ public: RECT m_rcNick, m_rcUIN, m_rcStatus, m_rcPic;
MEVENT m_hDbEventFirst, m_hDbEventLast;
int m_sendMode;
- int m_splitterY, m_originalSplitterY, m_dynaSplitter, m_savedSplitter, m_savedSplitY, m_savedDynaSplit;
- int m_multiSplitterX;
+ int m_originalSplitterY;
+ int m_iSplitterY, m_dynaSplitter;
+ int m_savedSplitterY, m_savedDynaSplit;
SIZE m_minEditBoxSize;
int m_nTypeSecs;
int m_nTypeMode;
@@ -439,6 +440,7 @@ class CSrmmWindow : public CTabBaseDlg public:
int msgTop, rcLogBottom;
+ int m_iSavedMultiSplit, m_iMultiSplit;
wchar_t *wszInitialText;
bool m_bActivate, m_bWantPopup;
@@ -704,6 +706,7 @@ struct TIconDescW #define DM_SCROLLIEVIEW (TM_USER+102)
#define DM_UPDATEUIN (TM_USER+103)
+#define MINSPLITTERX 60
#define MINSPLITTERY 42
#define MINLOGHEIGHT 30
#define ERRORPANEL_HEIGHT 51
|