summaryrefslogtreecommitdiff
path: root/Plugins/skins/SkinLib/FieldState.rec
blob: ca1998d0ddab52a2646960bb013fb2e9158ade92 (plain)
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
struct DialogState
{
	Int32 width;
	Int32 height;
	const Int32 x;
	const Int32 y;
	const Int32 left;
	const Int32 top;
	const Int32 right;
	const Int32 bottom;
};

struct FieldState
{
	Int32 x;
	Int32 y;
	Int32 width;
	Int32 height;
	Int32 left;
	Int32 top;
	Int32 right;
	Int32 bottom;
	Boolean visible;
	const Boolean enabled;
};

struct ControlFieldState
{
	Char text[1024];
};

struct TextFieldState
{
	Char text[1024];
	Int32 hAlign | LEFT | CENTER | RIGHT;
};

struct FontState
{
	Char face[32];
	Int32 size;
	Boolean italic;
	Boolean bold;
	Boolean underline;
	Boolean strikeOut;
	Int32 color;
};

struct BorderState
{
	Int32 left;
	Int32 right;
	Int32 top;
	Int32 bottom;
};

struct SkinOption
{
	Char description[128];
	Int32 min;
	Int32 max;
	Int32 type | CHECKBOX | NUMBER | TEXT;
};