|
2 | 2 |
|
3 | 3 | [ext_resource path="res://drag_drop_script.gd" type="Script" id=1] |
4 | 4 |
|
5 | | -[node name="Control" type="Control" index="0"] |
6 | | - |
7 | | -anchor_left = 0.0 |
8 | | -anchor_top = 0.0 |
| 5 | +[node name="Control" type="Control"] |
9 | 6 | anchor_right = 1.0 |
10 | 7 | anchor_bottom = 1.0 |
11 | | -rect_pivot_offset = Vector2( 0, 0 ) |
12 | | -mouse_filter = 0 |
13 | | -mouse_default_cursor_shape = 0 |
14 | 8 | size_flags_horizontal = 2 |
15 | 9 | size_flags_vertical = 2 |
16 | 10 | __meta__ = { |
17 | 11 | "__editor_plugin_screen__": "2D" |
18 | 12 | } |
19 | 13 |
|
20 | | -[node name="ColorPickerButton0" type="ColorPickerButton" parent="." index="0"] |
21 | | - |
22 | | -anchor_left = 0.0 |
23 | | -anchor_top = 0.0 |
24 | | -anchor_right = 0.0 |
25 | | -anchor_bottom = 0.0 |
| 14 | +[node name="ColorPickerButton0" type="ColorPickerButton" parent="."] |
26 | 15 | margin_left = 64.0 |
27 | 16 | margin_top = 64.0 |
28 | 17 | margin_right = 160.0 |
29 | 18 | margin_bottom = 128.0 |
30 | | -rect_pivot_offset = Vector2( 0, 0 ) |
31 | | -focus_mode = 2 |
32 | | -mouse_filter = 0 |
33 | | -mouse_default_cursor_shape = 0 |
34 | 19 | size_flags_horizontal = 2 |
35 | 20 | size_flags_vertical = 2 |
36 | | -toggle_mode = false |
37 | | -enabled_focus_mode = 2 |
38 | | -shortcut = null |
39 | | -group = null |
40 | | -flat = false |
41 | | -align = 1 |
42 | 21 | color = Color( 0.671032, 0.605183, 0, 1 ) |
43 | | -edit_alpha = true |
44 | 22 | script = ExtResource( 1 ) |
45 | 23 |
|
46 | | -[node name="ColorPickerButton1" type="ColorPickerButton" parent="." index="1"] |
47 | | - |
48 | | -anchor_left = 0.0 |
49 | | -anchor_top = 0.0 |
50 | | -anchor_right = 0.0 |
51 | | -anchor_bottom = 0.0 |
| 24 | +[node name="ColorPickerButton1" type="ColorPickerButton" parent="."] |
52 | 25 | margin_left = 224.0 |
53 | 26 | margin_top = 64.0 |
54 | 27 | margin_right = 320.0 |
55 | 28 | margin_bottom = 128.0 |
56 | | -rect_pivot_offset = Vector2( 0, 0 ) |
57 | | -focus_mode = 2 |
58 | | -mouse_filter = 0 |
59 | | -mouse_default_cursor_shape = 0 |
60 | 29 | size_flags_horizontal = 2 |
61 | 30 | size_flags_vertical = 2 |
62 | | -toggle_mode = false |
63 | | -enabled_focus_mode = 2 |
64 | | -shortcut = null |
65 | | -group = null |
66 | | -flat = false |
67 | | -align = 1 |
68 | 31 | color = Color( 0, 0.797347, 0.741037, 1 ) |
69 | | -edit_alpha = true |
70 | 32 | script = ExtResource( 1 ) |
71 | 33 |
|
72 | | -[node name="ColorPickerButton2" type="ColorPickerButton" parent="." index="2"] |
73 | | - |
74 | | -anchor_left = 0.0 |
75 | | -anchor_top = 0.0 |
76 | | -anchor_right = 0.0 |
77 | | -anchor_bottom = 0.0 |
| 34 | +[node name="ColorPickerButton2" type="ColorPickerButton" parent="."] |
78 | 35 | margin_left = 384.0 |
79 | 36 | margin_top = 64.0 |
80 | 37 | margin_right = 480.0 |
81 | 38 | margin_bottom = 128.0 |
82 | | -rect_pivot_offset = Vector2( 0, 0 ) |
83 | | -focus_mode = 2 |
84 | | -mouse_filter = 0 |
85 | | -mouse_default_cursor_shape = 0 |
86 | 39 | size_flags_horizontal = 2 |
87 | 40 | size_flags_vertical = 2 |
88 | | -toggle_mode = false |
89 | | -enabled_focus_mode = 2 |
90 | | -shortcut = null |
91 | | -group = null |
92 | | -flat = false |
93 | | -align = 1 |
94 | 41 | color = Color( 0.443924, 0, 0.632923, 1 ) |
95 | | -edit_alpha = true |
96 | 42 | script = ExtResource( 1 ) |
97 | 43 |
|
98 | | -[node name="ColorPickerButton3" type="ColorPickerButton" parent="." index="3"] |
99 | | - |
100 | | -anchor_left = 0.0 |
101 | | -anchor_top = 0.0 |
102 | | -anchor_right = 0.0 |
103 | | -anchor_bottom = 0.0 |
| 44 | +[node name="ColorPickerButton3" type="ColorPickerButton" parent="."] |
104 | 45 | margin_left = 64.0 |
105 | 46 | margin_top = 160.0 |
106 | 47 | margin_right = 160.0 |
107 | 48 | margin_bottom = 224.0 |
108 | | -rect_pivot_offset = Vector2( 0, 0 ) |
109 | | -focus_mode = 2 |
110 | | -mouse_filter = 0 |
111 | | -mouse_default_cursor_shape = 0 |
112 | 49 | size_flags_horizontal = 2 |
113 | 50 | size_flags_vertical = 2 |
114 | | -toggle_mode = false |
115 | | -enabled_focus_mode = 2 |
116 | | -shortcut = null |
117 | | -group = null |
118 | | -flat = false |
119 | | -align = 1 |
120 | 51 | color = Color( 1, 1, 1, 1 ) |
121 | | -edit_alpha = true |
122 | 52 | script = ExtResource( 1 ) |
123 | 53 |
|
124 | | -[node name="ColorPickerButton4" type="ColorPickerButton" parent="." index="4"] |
125 | | - |
126 | | -anchor_left = 0.0 |
127 | | -anchor_top = 0.0 |
128 | | -anchor_right = 0.0 |
129 | | -anchor_bottom = 0.0 |
| 54 | +[node name="ColorPickerButton4" type="ColorPickerButton" parent="."] |
130 | 55 | margin_left = 224.0 |
131 | 56 | margin_top = 160.0 |
132 | 57 | margin_right = 320.0 |
133 | 58 | margin_bottom = 224.0 |
134 | | -rect_pivot_offset = Vector2( 0, 0 ) |
135 | | -focus_mode = 2 |
136 | | -mouse_filter = 0 |
137 | | -mouse_default_cursor_shape = 0 |
138 | 59 | size_flags_horizontal = 2 |
139 | 60 | size_flags_vertical = 2 |
140 | | -toggle_mode = false |
141 | | -enabled_focus_mode = 2 |
142 | | -shortcut = null |
143 | | -group = null |
144 | | -flat = false |
145 | | -align = 1 |
146 | 61 | color = Color( 1, 0.933842, 0, 1 ) |
147 | | -edit_alpha = true |
148 | 62 | script = ExtResource( 1 ) |
149 | 63 |
|
150 | | -[node name="ColorPickerButton5" type="ColorPickerButton" parent="." index="5"] |
151 | | - |
152 | | -anchor_left = 0.0 |
153 | | -anchor_top = 0.0 |
154 | | -anchor_right = 0.0 |
155 | | -anchor_bottom = 0.0 |
| 64 | +[node name="ColorPickerButton5" type="ColorPickerButton" parent="."] |
156 | 65 | margin_left = 384.0 |
157 | 66 | margin_top = 160.0 |
158 | 67 | margin_right = 480.0 |
159 | 68 | margin_bottom = 224.0 |
160 | | -rect_pivot_offset = Vector2( 0, 0 ) |
161 | | -focus_mode = 2 |
162 | | -mouse_filter = 0 |
163 | | -mouse_default_cursor_shape = 0 |
164 | 69 | size_flags_horizontal = 2 |
165 | 70 | size_flags_vertical = 2 |
166 | | -toggle_mode = false |
167 | | -enabled_focus_mode = 2 |
168 | | -shortcut = null |
169 | | -group = null |
170 | | -flat = false |
171 | | -align = 1 |
172 | 71 | color = Color( 0.287293, 0.886362, 0.122933, 1 ) |
173 | | -edit_alpha = true |
174 | 72 | script = ExtResource( 1 ) |
175 | 73 |
|
176 | | -[node name="ColorPickerButton6" type="ColorPickerButton" parent="." index="6"] |
177 | | - |
178 | | -anchor_left = 0.0 |
179 | | -anchor_top = 0.0 |
180 | | -anchor_right = 0.0 |
181 | | -anchor_bottom = 0.0 |
| 74 | +[node name="ColorPickerButton6" type="ColorPickerButton" parent="."] |
182 | 75 | margin_left = 64.0 |
183 | 76 | margin_top = 256.0 |
184 | 77 | margin_right = 160.0 |
185 | 78 | margin_bottom = 320.0 |
186 | | -rect_pivot_offset = Vector2( 0, 0 ) |
187 | | -focus_mode = 2 |
188 | | -mouse_filter = 0 |
189 | | -mouse_default_cursor_shape = 0 |
190 | 79 | size_flags_horizontal = 2 |
191 | 80 | size_flags_vertical = 2 |
192 | | -toggle_mode = false |
193 | | -enabled_focus_mode = 2 |
194 | | -shortcut = null |
195 | | -group = null |
196 | | -flat = false |
197 | | -align = 1 |
198 | 81 | color = Color( 0.908461, 0, 0.88789, 1 ) |
199 | | -edit_alpha = true |
200 | 82 | script = ExtResource( 1 ) |
201 | 83 |
|
202 | | -[node name="ColorPickerButton7" type="ColorPickerButton" parent="." index="7"] |
203 | | - |
204 | | -anchor_left = 0.0 |
205 | | -anchor_top = 0.0 |
206 | | -anchor_right = 0.0 |
207 | | -anchor_bottom = 0.0 |
| 84 | +[node name="ColorPickerButton7" type="ColorPickerButton" parent="."] |
208 | 85 | margin_left = 224.0 |
209 | 86 | margin_top = 256.0 |
210 | 87 | margin_right = 320.0 |
211 | 88 | margin_bottom = 320.0 |
212 | | -rect_pivot_offset = Vector2( 0, 0 ) |
213 | | -focus_mode = 2 |
214 | | -mouse_filter = 0 |
215 | | -mouse_default_cursor_shape = 0 |
216 | 89 | size_flags_horizontal = 2 |
217 | 90 | size_flags_vertical = 2 |
218 | | -toggle_mode = false |
219 | | -enabled_focus_mode = 2 |
220 | | -shortcut = null |
221 | | -group = null |
222 | | -flat = false |
223 | | -align = 1 |
224 | 91 | color = Color( 0, 0.283703, 0, 1 ) |
225 | | -edit_alpha = true |
226 | 92 | script = ExtResource( 1 ) |
227 | 93 |
|
228 | | -[node name="ColorPickerButton8" type="ColorPickerButton" parent="." index="8"] |
229 | | - |
230 | | -anchor_left = 0.0 |
231 | | -anchor_top = 0.0 |
232 | | -anchor_right = 0.0 |
233 | | -anchor_bottom = 0.0 |
| 94 | +[node name="ColorPickerButton8" type="ColorPickerButton" parent="."] |
234 | 95 | margin_left = 384.0 |
235 | 96 | margin_top = 256.0 |
236 | 97 | margin_right = 480.0 |
237 | 98 | margin_bottom = 320.0 |
238 | | -rect_pivot_offset = Vector2( 0, 0 ) |
239 | | -focus_mode = 2 |
240 | | -mouse_filter = 0 |
241 | | -mouse_default_cursor_shape = 0 |
242 | 99 | size_flags_horizontal = 2 |
243 | 100 | size_flags_vertical = 2 |
244 | | -toggle_mode = false |
245 | | -enabled_focus_mode = 2 |
246 | | -shortcut = null |
247 | | -group = null |
248 | | -flat = false |
249 | | -align = 1 |
250 | 101 | color = Color( 0, 0, 0.178211, 1 ) |
251 | | -edit_alpha = true |
252 | 102 | script = ExtResource( 1 ) |
253 | 103 |
|
254 | | -[node name="Label" type="Label" parent="." index="9"] |
255 | | - |
256 | | -anchor_left = 0.0 |
257 | | -anchor_top = 0.0 |
258 | | -anchor_right = 0.0 |
259 | | -anchor_bottom = 0.0 |
| 104 | +[node name="Label" type="Label" parent="."] |
260 | 105 | margin_left = 10.0 |
261 | 106 | margin_top = 11.0 |
262 | 107 | margin_right = 470.0 |
263 | 108 | margin_bottom = 24.0 |
264 | | -rect_pivot_offset = Vector2( 0, 0 ) |
265 | | -mouse_filter = 2 |
266 | | -mouse_default_cursor_shape = 0 |
267 | 109 | size_flags_horizontal = 2 |
268 | 110 | size_flags_vertical = 0 |
269 | 111 | text = "Drag colors from button to button, or change button colors and drag them again." |
270 | | -percent_visible = 1.0 |
271 | | -lines_skipped = 0 |
272 | | -max_lines_visible = -1 |
273 | | - |
274 | 112 |
|
0 commit comments