diff options
author | ikeblaster <ike@thez.info> | 2021-08-28 15:43:51 +0200 |
---|---|---|
committer | ikeblaster <ike@thez.info> | 2021-08-28 15:43:51 +0200 |
commit | 33fe69a40aedb1ff4849818a2a7527f10820c791 (patch) | |
tree | 65fcdbdc8d1bb34e1586e396ef48c64e2d2da530 /plugins | |
parent | bc9c084e1214b800b403a481210dd3f492c340e8 (diff) |
TabSRMM - new "aero" custom theme
Better for dark themes
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TabSRMM/src/themes.cpp | 15 | ||||
-rw-r--r-- | plugins/TabSRMM/src/themes.h | 3 |
2 files changed, 17 insertions, 1 deletions
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,
|