summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/themes.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-12 18:03:10 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-12 18:03:10 +0000
commitd9013df6a880f0bd7459f952d654ff476e480a90 (patch)
treed6547c07cc04da79368c3a98003f365b83835c7a /plugins/TabSRMM/src/themes.h
parent58ff50e5bf8dbb6b28d54370423232dc0221cd53 (diff)
custom buttons in TabSRMM removed and based on the standard MButtonClass
git-svn-id: http://svn.miranda-ng.org/main/trunk@5661 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/themes.h')
-rw-r--r--plugins/TabSRMM/src/themes.h28
1 files changed, 8 insertions, 20 deletions
diff --git a/plugins/TabSRMM/src/themes.h b/plugins/TabSRMM/src/themes.h
index afd29288fa..e96e62146d 100644
--- a/plugins/TabSRMM/src/themes.h
+++ b/plugins/TabSRMM/src/themes.h
@@ -41,31 +41,19 @@ HBITMAP IMG_LoadLogo(const TCHAR *szName);
class CSideBarButton;
-struct MButtonCtrl
+struct TSButtonCtrl : public MButtonCtrl
{
- HWND hwnd;
- int stateId; // button state
- int focus; // has focus (1 or 0)
- HFONT hFont; // font
- HICON arrow; // uses down arrow
- int defbutton; // default button
- HICON hIcon, hIconPrivate;
- HBITMAP hBitmap;
- int pushBtn;
- int pbState;
- HANDLE hThemeButton;
- HANDLE hThemeToolbar;
- BOOL bThemed;
- BOOL bToolbarButton; // is a toolbar button (important for aero background rendering)
- BOOL bTitleButton;
- TCHAR cHot;
- int flatBtn;
- int dimmed;
- HICON overlay;
+ HICON hIconPrivate, overlay;
+ bool bToolbarButton; // is a toolbar button (important for aero background rendering)
+ bool bTitleButton;
+ bool bDimmed;
+
TContainerData *pContainer;
CSideBarButton *sitem;
};
+void CustomizeButton(HWND hwndButton);
+
#define BUTTONSETASDIMMED (BUTTONSETASFLATBTN + 11)
#define BUTTONSETCONTAINER (BUTTONSETASFLATBTN + 12)
#define BUTTONSETASTITLE (BUTTONSETASFLATBTN + 13)