forked from Benjamin-Dobell/ge_tts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUi.ttslua
101 lines (88 loc) · 1.89 KB
/
Ui.ttslua
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
local Ui = {}
-- Common
Ui.Alignment = {
UpperLeft = "UpperLeft",
UpperCenter = "UpperCenter",
UpperRight = "UpperRight",
MiddleLeft = "MiddleLeft",
MiddleCenter = "MiddleCenter",
MiddleRight = "MiddleRight",
LowerLeft = "LowerLeft",
LowerCenter = "LowerCenter",
LowerRight = "LowerRight",
}
Ui.Animation = {
Hide = {
None = "None",
Shrink = "Shrink",
FadeOut = "FadeOut",
SlideOutLeft = "SlideOut_Left",
SlideOutRight = "SlideOut_Right",
SlideOutTop = "SlideOut_Top",
SlideOutBottom = "SlideOut_Bottom",
},
Show = {
None = "None",
Grow = "Grow",
FadeIn = "FadeIn",
SlideInLeft = "SlideIn_Left",
SlideInRight = "SlideIn_Right",
SlideInTop = "SlideIn_Top",
SlideInBottom = "SlideIn_Bottom",
},
}
Ui.ContentSizeFit = {
Vertical = "vertical",
Horizontal = "horizontal",
Both = "both",
None = "none",
}
Ui.FontStyle = {
Normal = "Normal",
Bold = "Bold",
Italic = "Italic",
BoldItalic = "BoldItalic",
}
Ui.IconAlignment = {
Left = "Left",
Right = "Right",
}
Ui.MouseButton = {
Left = "-1",
Right = "-2",
Middle = "-3",
}
Ui.Navigation = {
None = "None",
Horizontal = "Horizontal",
Vertical = "Vertical",
Automatic = "Automatic",
Explicit = "Explicit",
}
Ui.Tag = {
Button = "Button",
HorizontalLayout = "HorizontalLayout",
Panel = "Panel",
Text = "Text",
VerticalLayout = "VerticalLayout",
}
-- Elements
Ui.Button = {
Transition = {
None = "None",
ColorTint = "ColorTint",
SpriteSwap = "SpriteSwap",
Animation = "Animation",
}
}
Ui.Text = {
HorizontalOverflow = {
Wrap = "Wrap",
Overflow = "Overflow",
},
VerticalOverflow = {
Truncate = "Truncate",
Overflow = "Overflow",
}
}
return Ui