diff options
author | George Hazan <ghazan@miranda.im> | 2019-09-12 21:33:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-09-12 21:33:28 +0300 |
commit | 7b64f8c1aac010e8d2bf865bb649df56388a51b3 (patch) | |
tree | c1900dc291802d15ef21adba550104dcfec51d08 /plugins/TabSRMM/src/themes.h | |
parent | a40f1f72a0bf581b77ac3d2d348827d77195e24c (diff) |
tabSRMM: single window
Diffstat (limited to 'plugins/TabSRMM/src/themes.h')
-rw-r--r-- | plugins/TabSRMM/src/themes.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/TabSRMM/src/themes.h b/plugins/TabSRMM/src/themes.h index 96233533a4..1f11390521 100644 --- a/plugins/TabSRMM/src/themes.h +++ b/plugins/TabSRMM/src/themes.h @@ -370,8 +370,8 @@ public: static void TSAPI SkinDrawBG(HWND hwndClient, HWND hwnd, TContainerData *pContainer, RECT *rcClient, HDC hdcTarget);
static void TSAPI DrawDimmedIcon(HDC hdc, LONG left, LONG top, LONG dx, LONG dy, HICON hIcon, BYTE alpha);
static DWORD TSAPI HexStringToLong(const wchar_t *szSource);
- static UINT TSAPI DrawRichEditFrame(HWND hwnd, const CTabBaseDlg *mwdat, UINT skinID, UINT msg, WPARAM wParam, LPARAM lParam, WNDPROC OldWndProc);
- static UINT TSAPI NcCalcRichEditFrame(HWND hwnd, const CTabBaseDlg *mwdat, UINT skinID, UINT msg, WPARAM wParam, LPARAM lParam, WNDPROC OldWndProc);
+ static UINT TSAPI DrawRichEditFrame(HWND hwnd, const CMsgDialog *mwdat, UINT skinID, UINT msg, WPARAM wParam, LPARAM lParam, WNDPROC OldWndProc);
+ static UINT TSAPI NcCalcRichEditFrame(HWND hwnd, const CMsgDialog *mwdat, UINT skinID, UINT msg, WPARAM wParam, LPARAM lParam, WNDPROC OldWndProc);
static HBITMAP TSAPI CreateAeroCompatibleBitmap(const RECT &rc, HDC dc);
static int TSAPI RenderText(HDC hdc, HANDLE hTheme, const wchar_t *szText, RECT *rc, DWORD dtFlags, const int iGlowSize = DEFAULT_GLOW_SIZE, COLORREF clr = 0, bool fForceAero = false);
static void TSAPI MapClientToParent(HWND hwndClient, HWND hwndParent, RECT &rc);
@@ -470,8 +470,8 @@ struct TabControlData HIMAGELIST himlDrag;
TContainerData *pContainer;
- CSrmmWindow *dragDat;
- CSrmmWindow *helperDat; // points to the client data of the active tab
+ CMsgDialog *dragDat;
+ CMsgDialog *helperDat; // points to the client data of the active tab
CImageItem *helperItem, *helperGlowItem; // aero ui, holding the skin image for the tabs
};
@@ -497,12 +497,12 @@ struct ButtonItem { char szModule[256], szSetting[256];
BYTE bValuePush[256], bValueRelease[256];
DWORD type;
- void(*pfnAction)(ButtonItem *item, HWND hwndDlg, CTabBaseDlg *dat, HWND hwndItem);
- void(*pfnCallback)(ButtonItem *item, HWND hwndDlg, CTabBaseDlg *dat, HWND hwndItem);
+ void(*pfnAction)(ButtonItem *item, HWND hwndDlg, CMsgDialog *dat, HWND hwndItem);
+ void(*pfnCallback)(ButtonItem *item, HWND hwndDlg, CMsgDialog *dat, HWND hwndItem);
wchar_t tszLabel[40];
ButtonItem* nextItem;
HANDLE hContact;
- CSrmmWindow *dat;
+ CMsgDialog *dat;
};
typedef struct _tagButtonSet {
|