-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.tscn
64 lines (52 loc) · 1.69 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
[gd_scene load_steps=4 format=3 uid="uid://dls2pxx0yng2c"]
[ext_resource type="Script" path="res://app.gd" id="1"]
[sub_resource type="InputEventAction" id="InputEventAction_s6mp6"]
action = &"render"
[sub_resource type="Shortcut" id="Shortcut_dfwmn"]
events = [SubResource("InputEventAction_s6mp6")]
[node name="app" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1")
[node name="Panel" type="Panel" parent="."]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
[node name="HSplitContainer" type="HSplitContainer" parent="Panel"]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/HSplitContainer"]
layout_mode = 2
[node name="render" type="Button" parent="Panel/HSplitContainer/VBoxContainer" node_paths=PackedStringArray("shortcut_context")]
layout_mode = 2
shortcut_context = NodePath("../../..")
shortcut = SubResource("Shortcut_dfwmn")
text = "Render"
[node name="code" type="TextEdit" parent="Panel/HSplitContainer/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(400, 100)
layout_mode = 2
size_flags_vertical = 3
text = "startshape base
shape base
rule {
TRIANGLE []
}
rule {
CIRCLE []
}
rule {
SQUARE []
}"
highlight_current_line = true
[node name="output" type="TextureRect" parent="Panel/HSplitContainer"]
unique_name_in_owner = true
layout_mode = 2
stretch_mode = 5
[connection signal="pressed" from="Panel/HSplitContainer/VBoxContainer/render" to="." method="_on_render_pressed"]
[connection signal="text_changed" from="Panel/HSplitContainer/VBoxContainer/code" to="." method="_on_code_text_changed"]