-
Notifications
You must be signed in to change notification settings - Fork 0
/
idCard.hpp
57 lines (56 loc) · 1.63 KB
/
idCard.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
class IDCard
{
idd = -1;
duration = 30; //1 min
fadeOut = 5;
onLoad = "_this call onIDCardLoad; onIDCardLoadEventHandler = (findDisplay 46) displayAddEventHandler [""KeyDown"", ""cutText ["""""""", """"PLAIN""""];""];";
onUnload = "(findDisplay 46) displayRemoveEventHandler [""KeyDown"", onIDCardLoadEventHandler];";
class controls
{
class TheTitle
{
idc = 1; //control reference
type = 0;
style = ST_CENTER;
x = 0;
y = 0;
w = 1;
h = 0.2;
font = "EtelkaMonospacePro";
sizeEx = 0.1;
colorBackground[] = {0.9, 0.9, 0.9, 0.9};
colorText[] = {0.1, 0.1, 0.1,1};
text = "Občanský průkaz";
};
class UnitNameLabel
{
idc = 10; //control reference
type = 0;
style = ST_LEFT;
x = 0;
y = 0.2;
w = 0.5;
h = 0.1;
font = "EtelkaMonospacePro";
sizeEx = 0.1;
colorBackground[] = {0.9, 0.9, 0.9, 0.9};
colorText[] = {0.1, 0.1, 0.1,1};
text = "JMÉNO/PŘÍJMENÍ :";
};
class UnitNameValue
{
idc = 11; //control reference
type = 0;
style = ST_LEFT;
x = 0.5;
y = 0.2;
w = 0.5;
h = 0.1;
font = "EtelkaMonospacePro";
sizeEx = 0.1;
colorBackground[] = {0.9, 0.9, 0.9, 0.9};
colorText[] = {0.1, 0.1, 0.1,1};
text = "<INSERT NAME HERE>";
};
};
};