From 33fe69a40aedb1ff4849818a2a7527f10820c791 Mon Sep 17 00:00:00 2001 From: ikeblaster Date: Sat, 28 Aug 2021 15:43:51 +0200 Subject: TabSRMM - new "aero" custom theme Better for dark themes --- plugins/TabSRMM/src/themes.cpp | 15 +++++++++++++++ plugins/TabSRMM/src/themes.h | 3 ++- 2 files changed, 17 insertions(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src') diff --git a/plugins/TabSRMM/src/themes.cpp b/plugins/TabSRMM/src/themes.cpp index e0ae712a0b..fa055305d7 100644 --- a/plugins/TabSRMM/src/themes.cpp +++ b/plugins/TabSRMM/src/themes.cpp @@ -184,6 +184,21 @@ AeroEffect CSkin::m_aeroEffects[AERO_EFFECT_LAST] = { DWORD(-1), DWORD(-1), AeroEffectCallback_Solid + }, + { + LPGENW("Custom 2 (use own gradient colors)"), + 0xF0F0F0, /* base color */ + 0xF0F0F0, /* gradient color */ + 255, /* base alpha */ + 0, /* final alpha */ + 0, /* corner type */ + GRADIENT_TB + 1, /* gradient type */ + 0, /* corner radius */ + 0, /* glow size (0 means no glowing text, colors can be used) */ + 0x0, /* background color (black = transparency) */ + 0xffffff, /* toolbar first color (if 0, use custom gradient color) */ + 0xffffff, /* toolbar 2nd gradient color (0 = use aero theme color, -1 = use custom gradient color */ + AeroEffectCallback_Solid /* callback function to render the effect */ } }; diff --git a/plugins/TabSRMM/src/themes.h b/plugins/TabSRMM/src/themes.h index 9a5c30ffb6..5a99146da6 100644 --- a/plugins/TabSRMM/src/themes.h +++ b/plugins/TabSRMM/src/themes.h @@ -288,7 +288,8 @@ public: AERO_EFFECT_SOLID = 3, AERO_EFFECT_WHITE = 4, AERO_EFFECT_CUSTOM = 5, - AERO_EFFECT_LAST = 6 + AERO_EFFECT_CUSTOM2 = 6, + AERO_EFFECT_LAST = 7 }; enum { AERO_EFFECT_AREA_MENUBAR = 0, -- cgit v1.2.3