summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/themes.h
diff options
context:
space:
mode:
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)