forked from nptr/msstyleEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVisualStyleEnums.cpp
134 lines (118 loc) · 2.11 KB
/
VisualStyleEnums.cpp
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
#pragma once
#include "VisualStyleEnums.h"
namespace libmsstyle
{
const EnumMap ENUM_BGTYPE[] =
{
{ 0, "IMAGEFILE" },
{ 1, "BORDERFILL" },
{ 2, "NONE" }
};
const EnumMap ENUM_IMAGELAYOUT[] =
{
{ 0, "VERTICAL" },
{ 1, "HORIZONTAL" }
};
const EnumMap ENUM_BORDERTYPE[] =
{
{ 0, "RECT" },
{ 1, "ROUNDRECT" },
{ 2, "ELLIPSE" }
};
const EnumMap ENUM_FILLTYPE[] =
{
{ 0, "SOLID" },
{ 1, "VERTGRADIENT" },
{ 2, "HORIZONTALGRADIENT" },
{ 3, "RADIALGRADIENT" },
{ 4, "TILEIMAGE" }
};
const EnumMap ENUM_SIZINGTYPE[] =
{
{ 0, "TRUESIZE" },
{ 1, "STRETCH" },
{ 2, "TILE" }
};
const EnumMap ENUM_ALIGNMENT_H[] =
{
{ 0, "LEFT" },
{ 1, "RIGHT" },
{ 2, "CENTER" }
};
const EnumMap ENUM_ALIGNMENT_V[] =
{
{ 0, "TOP" },
{ 1, "CENTER" },
{ 2, "BOTTOM" }
};
const EnumMap ENUM_OFFSET[] =
{
{ 0, "TOPLEFT" },
{ 1, "TOPRIGHT" },
{ 2, "TOPMIDDLE" },
{ 3, "BOTTOMLEFT" },
{ 4, "BOTTOMRIGHT" },
{ 5, "BOTTOMMIDDLE" },
{ 6, "MIDDLERIGHT" },
{ 7, "LEFTOFCAPTION" },
{ 8, "RIGHTOFCAPTION" },
{ 9, "LEFTOFLASTBUTTON" },
{ 10, "RIGHTOFLASTBUTTON" },
{ 11, "ABOVELASTBUTTON" },
{ 12, "BELOWLASTBUTTON" }
};
const EnumMap ENUM_ICONEFFECT[] =
{
{ 0, "NONE" },
{ 1, "GLOW" },
{ 2, "SHADOW" },
{ 3, "PULSE" },
{ 4, "ALPHA" }
};
const EnumMap ENUM_TEXTSHADOW[] =
{
{ 0, "NONE" },
{ 1, "SINGLE" },
{ 2, "CONTINUOUS" }
};
const EnumMap ENUM_GLYPHTYPE[] =
{
{ 0, "NONE" },
{ 1, "IMAGEGLYPH" },
{ 2, "FONTGLYPH" }
};
const EnumMap ENUM_IMAGESELECT[] =
{
{ 0, "NONE" },
{ 1, "SIZE" },
{ 2, "DPI" }
};
const EnumMap ENUM_TRUESIZESCALING[] =
{
{ 0, "NONE" },
{ 1, "SIZE" },
{ 2, "DPI" }
};
const EnumMap ENUM_GLYPHFONTSCALING[] =
{
{ 0, "NONE" },
{ 1, "SIZE" },
{ 2, "DPI" }
};
const EnumMap ENUM_HIGHCONTRASTTYPE[] =
{
{ 0, "ACTIVECAPTION" },
{ 1, "CAPTIONTEXT" },
{ 2, "BTNFACE" },
{ 3, "BTNTEXT" },
{ 4, "DESKTOP" },
{ 5, "GRAYTEXT" },
{ 6, "HOTLIGHT" },
{ 7, "INACTIVECAPTION" },
{ 8, "INACTIVECAPTIONTEXT" },
{ 9, "HIGHLIGHT" },
{ 10, "HIGHLIGHTTEXT" },
{ 11, "WINDOW" },
{ 12, "WINDOWTEXT" }
};
}