Skip to content

Commit c9698c4

Browse files
committed
Cleaned up examples
1 parent 714277f commit c9698c4

File tree

3 files changed

+544
-30
lines changed

3 files changed

+544
-30
lines changed

example/button.gui

+137
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
script: ""
2+
fonts {
3+
name: "Roboto-Regular"
4+
font: "/example/assets/fonts/Roboto-Regular.font"
5+
}
6+
background_color {
7+
x: 0.0
8+
y: 0.0
9+
z: 0.0
10+
w: 0.0
11+
}
12+
nodes {
13+
position {
14+
x: 0.0
15+
y: 0.0
16+
z: 0.0
17+
w: 1.0
18+
}
19+
rotation {
20+
x: 0.0
21+
y: 0.0
22+
z: 0.0
23+
w: 1.0
24+
}
25+
scale {
26+
x: 1.0
27+
y: 1.0
28+
z: 1.0
29+
w: 1.0
30+
}
31+
size {
32+
x: 200.0
33+
y: 45.0
34+
z: 0.0
35+
w: 1.0
36+
}
37+
color {
38+
x: 1.0
39+
y: 1.0
40+
z: 1.0
41+
w: 1.0
42+
}
43+
type: TYPE_BOX
44+
blend_mode: BLEND_MODE_ALPHA
45+
texture: ""
46+
id: "bg"
47+
xanchor: XANCHOR_NONE
48+
yanchor: YANCHOR_NONE
49+
pivot: PIVOT_CENTER
50+
adjust_mode: ADJUST_MODE_FIT
51+
layer: "below"
52+
inherit_alpha: true
53+
slice9 {
54+
x: 0.0
55+
y: 0.0
56+
z: 0.0
57+
w: 0.0
58+
}
59+
clipping_mode: CLIPPING_MODE_NONE
60+
clipping_visible: true
61+
clipping_inverted: false
62+
alpha: 1.0
63+
template_node_child: false
64+
size_mode: SIZE_MODE_MANUAL
65+
}
66+
nodes {
67+
position {
68+
x: 0.0
69+
y: 0.0
70+
z: 0.0
71+
w: 1.0
72+
}
73+
rotation {
74+
x: 0.0
75+
y: 0.0
76+
z: 0.0
77+
w: 1.0
78+
}
79+
scale {
80+
x: 0.75
81+
y: 0.75
82+
z: 0.75
83+
w: 1.0
84+
}
85+
size {
86+
x: 200.0
87+
y: 45.0
88+
z: 0.0
89+
w: 1.0
90+
}
91+
color {
92+
x: 0.2
93+
y: 0.2
94+
z: 0.2
95+
w: 1.0
96+
}
97+
type: TYPE_TEXT
98+
blend_mode: BLEND_MODE_ALPHA
99+
text: "<text>"
100+
font: "Roboto-Regular"
101+
id: "text"
102+
xanchor: XANCHOR_NONE
103+
yanchor: YANCHOR_NONE
104+
pivot: PIVOT_CENTER
105+
outline {
106+
x: 1.0
107+
y: 1.0
108+
z: 1.0
109+
w: 1.0
110+
}
111+
shadow {
112+
x: 1.0
113+
y: 1.0
114+
z: 1.0
115+
w: 1.0
116+
}
117+
adjust_mode: ADJUST_MODE_FIT
118+
line_break: false
119+
parent: "bg"
120+
layer: "roboto-regular"
121+
inherit_alpha: true
122+
alpha: 1.0
123+
outline_alpha: 1.0
124+
shadow_alpha: 1.0
125+
template_node_child: false
126+
text_leading: 1.0
127+
text_tracking: 0.0
128+
}
129+
layers {
130+
name: "below"
131+
}
132+
layers {
133+
name: "roboto-regular"
134+
}
135+
material: "/builtins/materials/gui.material"
136+
adjust_reference: ADJUST_REFERENCE_PARENT
137+
max_nodes: 512

0 commit comments

Comments
 (0)