-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.tscn
233 lines (194 loc) · 6.65 KB
/
app.tscn
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
[gd_scene load_steps=5 format=3 uid="uid://uo8qkhx3gynv"]
[ext_resource type="Script" path="res://app.gd" id="1_ha35j"]
[ext_resource type="PackedScene" uid="uid://hgcortslfy7d" path="res://input_number.tscn" id="2_p7osa"]
[ext_resource type="Texture2D" uid="uid://c5t3rch1qv5xh" path="res://icon.svg" id="3_oj23n"]
[ext_resource type="Script" path="res://draw.gd" id="4_lgx07"]
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="app" type="VBoxContainer" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource("1_ha35j")
[node name="VBoxContainer" type="VBoxContainer" parent="app"]
layout_mode = 2
size_flags_vertical = 3
[node name="HBoxContainer" type="HBoxContainer" parent="app/VBoxContainer"]
layout_mode = 2
[node name="VBoxContainer0" type="VBoxContainer" parent="app/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
[node name="Label" type="Label" parent="app/VBoxContainer/HBoxContainer/VBoxContainer0"]
layout_mode = 2
text = "Series:"
[node name="series" type="ItemList" parent="app/VBoxContainer/HBoxContainer/VBoxContainer0"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
item_count = 1
item_0/text = "Colour Strip"
[node name="btn_add" type="Button" parent="app/VBoxContainer/HBoxContainer/VBoxContainer0"]
unique_name_in_owner = true
layout_mode = 2
text = "Add"
[node name="btn_remove" type="Button" parent="app/VBoxContainer/HBoxContainer/VBoxContainer0"]
unique_name_in_owner = true
layout_mode = 2
text = "Remove"
[node name="btn_up" type="Button" parent="app/VBoxContainer/HBoxContainer/VBoxContainer0"]
unique_name_in_owner = true
layout_mode = 2
text = "Move Up"
[node name="btn_dn" type="Button" parent="app/VBoxContainer/HBoxContainer/VBoxContainer0"]
unique_name_in_owner = true
layout_mode = 2
text = "Move Down"
[node name="HSeparator" type="HSeparator" parent="app/VBoxContainer/HBoxContainer/VBoxContainer0"]
layout_mode = 2
[node name="btn_load" type="Button" parent="app/VBoxContainer/HBoxContainer/VBoxContainer0"]
unique_name_in_owner = true
layout_mode = 2
text = "Load"
[node name="btn_save" type="Button" parent="app/VBoxContainer/HBoxContainer/VBoxContainer0"]
unique_name_in_owner = true
layout_mode = 2
text = "Save
"
[node name="btn_export" type="Button" parent="app/VBoxContainer/HBoxContainer/VBoxContainer0"]
unique_name_in_owner = true
layout_mode = 2
text = "Export"
[node name="VBoxContainer4" type="VBoxContainer" parent="app/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
[node name="Label" type="Label" parent="app/VBoxContainer/HBoxContainer/VBoxContainer4"]
layout_mode = 2
text = "Name:"
[node name="txt_name" type="LineEdit" parent="app/VBoxContainer/HBoxContainer/VBoxContainer4"]
unique_name_in_owner = true
layout_mode = 2
[node name="Label3" type="Label" parent="app/VBoxContainer/HBoxContainer/VBoxContainer4"]
layout_mode = 2
text = "Num steps:"
[node name="val_steps" parent="app/VBoxContainer/HBoxContainer/VBoxContainer4" instance=ExtResource("2_p7osa")]
unique_name_in_owner = true
layout_mode = 2
value = 3.0
min_value = 3.0
max_value = 255.0
step = 1.0
exp_edit = true
[node name="Label4" type="Label" parent="app/VBoxContainer/HBoxContainer/VBoxContainer4"]
layout_mode = 2
text = "Curve type:
"
[node name="opt_curve_type" type="OptionButton" parent="app/VBoxContainer/HBoxContainer/VBoxContainer4"]
unique_name_in_owner = true
layout_mode = 2
selected = 3
allow_reselect = true
item_count = 4
popup/item_0/text = "Bezier"
popup/item_1/text = "Quadratic"
popup/item_1/id = 1
popup/item_2/text = "Bezier Resampled"
popup/item_2/id = 2
popup/item_3/text = "Quadratic Resampled"
popup/item_3/id = 3
[node name="Label5" type="Label" parent="app/VBoxContainer/HBoxContainer/VBoxContainer4"]
layout_mode = 2
text = "Num samples:
"
[node name="val_samples" parent="app/VBoxContainer/HBoxContainer/VBoxContainer4" instance=ExtResource("2_p7osa")]
unique_name_in_owner = true
layout_mode = 2
value = 3.0
min_value = 3.0
max_value = 10000.0
step = 1.0
exp_edit = true
[node name="VBoxContainer1" type="VBoxContainer" parent="app/VBoxContainer/HBoxContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="app/VBoxContainer/HBoxContainer/VBoxContainer1"]
layout_mode = 2
text = "Low value:"
[node name="pkr_low" type="ColorPicker" parent="app/VBoxContainer/HBoxContainer/VBoxContainer1"]
unique_name_in_owner = true
layout_mode = 2
edit_alpha = false
picker_shape = 3
can_add_swatches = false
hex_visible = false
presets_visible = false
[node name="VBoxContainer2" type="VBoxContainer" parent="app/VBoxContainer/HBoxContainer"]
layout_mode = 2
[node name="Label2" type="Label" parent="app/VBoxContainer/HBoxContainer/VBoxContainer2"]
layout_mode = 2
text = "Mid value:"
[node name="pkr_mid" type="ColorPicker" parent="app/VBoxContainer/HBoxContainer/VBoxContainer2"]
unique_name_in_owner = true
layout_mode = 2
edit_alpha = false
picker_shape = 3
can_add_swatches = false
hex_visible = false
presets_visible = false
[node name="VBoxContainer3" type="VBoxContainer" parent="app/VBoxContainer/HBoxContainer"]
layout_mode = 2
[node name="Label3" type="Label" parent="app/VBoxContainer/HBoxContainer/VBoxContainer3"]
layout_mode = 2
text = "High value:"
[node name="pkr_high" type="ColorPicker" parent="app/VBoxContainer/HBoxContainer/VBoxContainer3"]
unique_name_in_owner = true
layout_mode = 2
edit_alpha = false
picker_shape = 3
can_add_swatches = false
hex_visible = false
presets_visible = false
[node name="VBoxContainer" type="VBoxContainer" parent="app/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="out" type="TextureRect" parent="app/VBoxContainer/VBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_vertical = 3
texture = ExtResource("3_oj23n")
expand_mode = 3
stretch_mode = 4
script = ExtResource("4_lgx07")
[node name="dlg_load" type="FileDialog" parent="app"]
unique_name_in_owner = true
auto_translate_mode = 1
title = "Open a File"
size = Vector2i(800, 800)
ok_button_text = "Open"
file_mode = 0
access = 2
filters = PackedStringArray("*.pal")
[node name="dlg_save" type="FileDialog" parent="app"]
unique_name_in_owner = true
title = "Save Palette"
size = Vector2i(800, 800)
access = 2
filters = PackedStringArray("*.pal")
[node name="dlg_export" type="FileDialog" parent="app"]
unique_name_in_owner = true
auto_translate_mode = 1
title = "Export Palette"
size = Vector2i(800, 800)
access = 2
filters = PackedStringArray("*.png")