forked from panda3d/panda3d
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbutton_map.egg
More file actions
117 lines (117 loc) · 1.91 KB
/
button_map.egg
File metadata and controls
117 lines (117 loc) · 1.91 KB
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
<Comment> {
"egg-texture-cards -o button_map.egg -p 768,192 -g -1.0,1.0,-0.25,0.25 -wm clamp ready.png click.png hover.png disabled.png"
}
<Texture> ready {
ready.png
<Scalar> wrap { clamp }
}
<Texture> hover {
hover.png
<Scalar> wrap { clamp }
}
<Texture> disabled {
disabled.png
<Scalar> wrap { clamp }
}
<Texture> click {
click.png
<Scalar> wrap { clamp }
}
<Group> {
<Switch> { 1 }
<Scalar> fps { 2 }
<VertexPool> vpool {
<Vertex> 0 {
-1 0.25 0
<UV> { 0 1 }
}
<Vertex> 1 {
-1 -0.25 0
<UV> { 0 0 }
}
<Vertex> 2 {
1 -0.25 0
<UV> { 1 0 }
}
<Vertex> 3 {
1 0.25 0
<UV> { 1 1 }
}
<Vertex> 4 {
-1 0.25 0
<UV> { 0 1 }
}
<Vertex> 5 {
-1 -0.25 0
<UV> { 0 0 }
}
<Vertex> 6 {
1 -0.25 0
<UV> { 1 0 }
}
<Vertex> 7 {
1 0.25 0
<UV> { 1 1 }
}
<Vertex> 8 {
-1 0.25 0
<UV> { 0 1 }
}
<Vertex> 9 {
-1 -0.25 0
<UV> { 0 0 }
}
<Vertex> 10 {
1 -0.25 0
<UV> { 1 0 }
}
<Vertex> 11 {
1 0.25 0
<UV> { 1 1 }
}
<Vertex> 12 {
-1 0.25 0
<UV> { 0 1 }
}
<Vertex> 13 {
-1 -0.25 0
<UV> { 0 0 }
}
<Vertex> 14 {
1 -0.25 0
<UV> { 1 0 }
}
<Vertex> 15 {
1 0.25 0
<UV> { 1 1 }
}
}
<Group> ready {
<Polygon> {
<RGBA> { 1 1 1 1 }
<TRef> { ready }
<VertexRef> { 0 1 2 3 <Ref> { vpool } }
}
}
<Group> click {
<Polygon> {
<RGBA> { 1 1 1 1 }
<TRef> { click }
<VertexRef> { 4 5 6 7 <Ref> { vpool } }
}
}
<Group> hover {
<Polygon> {
<RGBA> { 1 1 1 1 }
<TRef> { hover }
<VertexRef> { 8 9 10 11 <Ref> { vpool } }
}
}
<Group> disabled {
<Polygon> {
<RGBA> { 1 1 1 1 }
<TRef> { disabled }
<VertexRef> { 12 13 14 15 <Ref> { vpool } }
}
}
}