-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathliberation_tutorial.hpp
144 lines (135 loc) · 3.8 KB
/
liberation_tutorial.hpp
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
135
136
137
138
139
140
141
142
143
144
class liberation_tutorial {
idd = 5353;
movingEnable = false;
controlsBackground[] = {};
controls[] = { "OuterBG2", "OuterBG_F2", "OuterBG1", "OuterBG_F1", "InnerBG1", "InnerBG_F1", "InnerBG2", "InnerBG_F2",
"Header","HeaderTuto", "TutorialList", "CloseButton", "TutoControlGroup"};
objects[] = {};
class OuterBG1 : StdBG{
colorBackground[] = COLOR_BROWN;
x = (0.2 * safezoneW + safezoneX) - (2 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.15 * safezoneW) + (4 * BORDERSIZE);
h = (0.6 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F1 : OuterBG1 {
style = ST_FRAME;
};
class OuterBG2 : StdBG{
colorBackground[] = COLOR_BROWN;
x = (0.35 * safezoneW + safezoneX) + (3 * BORDERSIZE);
y = (0.2 * safezoneH + safezoneY) - (3 * BORDERSIZE);
w = (0.45 * safezoneW);
h = (0.6 * safezoneH) + (6 * BORDERSIZE);
};
class OuterBG_F2 : OuterBG2 {
style = ST_FRAME;
};
class InnerBG1 : OuterBG1 {
colorBackground[] = COLOR_GREEN;
x = (0.2 * safezoneW + safezoneX) - ( BORDERSIZE);
y = 0.25 * safezoneH + safezoneY - (1.5 * BORDERSIZE);
w = (0.15 * safezoneW) + (2 * BORDERSIZE);
h = 0.55 * safezoneH + (3 * BORDERSIZE);
};
class InnerBG_F1 : InnerBG1 {
style = ST_FRAME;
};
class InnerBG2 : OuterBG2 {
colorBackground[] = COLOR_GREEN_ALPHA;
x = (0.35 * safezoneW + safezoneX) + (4 * BORDERSIZE);
y = 0.25 * safezoneH + safezoneY - (1.5 * BORDERSIZE);
w = (0.45 * safezoneW) - (2 * BORDERSIZE ) ;
h = 0.55 * safezoneH + (3 * BORDERSIZE);
};
class InnerBG_F2 : InnerBG2 {
style = ST_FRAME;
};
class Header : StdHeader{
x = 0.2 * safezoneW + safezoneX - (BORDERSIZE);
y = 0.19 * safezoneH + safezoneY;
w = 0.15 * safezoneW + ( 2 * BORDERSIZE);
h = 0.05 * safezoneH - (BORDERSIZE);
text = $STR_TUTO_TITLE;
};
class HeaderTuto : Header{
idc = 514;
x = (0.35 * safezoneW + safezoneX) + ( 4 * BORDERSIZE);
w = (0.45 * safezoneW) - (2 * BORDERSIZE);
text = "1. Introduction";
};
class TutorialList : StdListBox {
idc = 513;
x = 0.2 * safezoneW + safezoneX;
w = 0.15 * safezoneW;
y = 0.25 * safezoneH + safezoneY;
h = (0.5 * safezoneH) - (1.5 * BORDERSIZE);
shadow = 2;
onLBSelChanged="";
};
class CloseButton : StdButton{
idc = 512;
x = (0.2 * safezoneW + safezoneX);
y = (0.75 * safezoneH + safezoneY);
w = (0.15 * safezoneW);
h = (0.05 * safezoneH);
sizeEx = 0.05 * safezoneH;
text = $STR_TUTO_GOTIT;
action = "howtoplay = 0";
};
class TutoControlGroup {
type = 15;
idc = -1;
style = 0;
x = (0.35 * safezoneW + safezoneX) + (4 * BORDERSIZE);
y = 0.25 * safezoneH + safezoneY - (1.5 * BORDERSIZE);
w = (0.45 * safezoneW) - (2 * BORDERSIZE ) ;
h = 0.55 * safezoneH + (3 * BORDERSIZE);
colorScrollbar[] = COLOR_WHITE;
class VScrollbar
{
color[] = COLOR_WHITE;
width = 0.01 * safezoneW;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
};
class HScrollbar
{
color[] = COLOR_WHITE;
height = 0.012 * safezoneH;
};
class ScrollBar
{
color[] = COLOR_WHITE;
colorActive[] = COLOR_WHITE;
colorDisabled[] = COLOR_WHITE;
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
};
class Controls
{
class TutoStructuredText
{
idc = 515;
type = CT_STRUCTURED_TEXT;
colorBackground[] = COLOR_NOALPHA;
style = ST_LEFT;
x = 0;
y = 0;
w = (0.45 * safezoneW) - (2 * BORDERSIZE);
h = 0.5 * safezoneH;
text= "AAA";
size = 0.02 * safezoneH;
sizeEx = 0.02 * safezoneH;
shadow = 2;
font = FontM;
color = "#e0e0e0";
align = "left";
valign = "top";
};
};
};
};