-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathwtheme.h
83 lines (76 loc) · 1.57 KB
/
wtheme.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/*****************************************
NanoShell Operating System
(C) 2021 iProgramInCpp
Window themes module header file
******************************************/
#ifndef _WTHEME_H
#define _WTHEME_H
#include <main.h>
#include <window.h>
enum
{
TH_DEFAULT,
TH_DARK,
TH_BLACK,
TH_REDMOND,
TH_VGA,
TH_SANDY,
//TH_WHITE,//--fix edges pls
TH_ROSE,
TH_DESERT,
//TH_RAINYDAY,
//TH_CALM,
TH_MAX,
};
typedef union
{
uint32_t m_raw_data[P_THEME_PARM_COUNT];
struct
{
uint32_t
Black,
BackgroundColor,
ButtonMiddleColor,
WindowBackgroundColor,
WindowBorderColor,
WindowTitleActiveColor,
WindowTitleInactiveColor,
WindowTitleActiveColorBright,
WindowTitleInactiveColorBright,
WindowTitleTextColorShadow,
WindowTitleTextColor,
WindowTextColor,
WindowTextColorLight,
SystemFont,
TitleBarHeight,
TitleBarFont,
SelectedMenuItemColor,
SelectedMenuItemColorBright,
MenuBarHeight,
BorderSize,
ButtonHilightColor,
ButtonShadowColor,
ButtonEdgeColor,
ButtonHoverButton,
ScrollBarSize,
MenuBarSelectionColor,
SelectedItemColor,
SelectedTextColor,
DeselectedTextColor,
ListBackgroundColor,
TooltipBackgroundColor,
TooltipTextColor,
ScrollBarBackgroundColor,
SelectedMenuItemTextColor,
DeselectedMenuItemTextColor,
TableViewAltRowColor,
MenuItemHeight,
ButtonDarkerShadowColor,
CaptionButtonIconColor,
BorderSizeNoResize;
};
}
ThemeData;
void ApplyTheme(int themeID);
const char* GetThemeName(int themeID);
#endif//_WTHEME_H