diff options
Diffstat (limited to 'combinator_panel.tscn')
| -rw-r--r-- | combinator_panel.tscn | 53 |
1 files changed, 36 insertions, 17 deletions
diff --git a/combinator_panel.tscn b/combinator_panel.tscn index b306f7b..0ea5aa0 100644 --- a/combinator_panel.tscn +++ b/combinator_panel.tscn @@ -1,4 +1,8 @@ -[gd_scene format=2] +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://scripts/combinator_panel.gd" type="Script" id=1] +[ext_resource path="res://assets/plus.png" type="Texture" id=2] +[ext_resource path="res://assets/minus.png" type="Texture" id=3] [node name="CombinatorPanel" type="Panel"] @@ -6,33 +10,48 @@ margin_right = 400.0 margin_bottom = 400.0 rect_clip_content = false mouse_filter = 0 +script = ExtResource( 1 ) + +[node name="Tree" type="Tree" parent="."] + +margin_left = 10.0 +margin_top = 10.0 +margin_right = 340.0 +margin_bottom = 390.0 +mouse_filter = 0 -[node name="Label" type="Label" parent="."] +[node name="add" type="Button" parent="."] -margin_left = 30.0 -margin_top = 40.0 -margin_right = 70.0 -margin_bottom = 54.0 +margin_left = 350.0 +margin_top = 210.0 +margin_right = 394.0 +margin_bottom = 290.0 rect_clip_content = false -mouse_filter = 2 -size_flags_vertical = 0 -text = "Test?" -percent_visible = 1.0 -lines_skipped = 0 -max_lines_visible = -1 +mouse_filter = 0 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +icon = ExtResource( 2 ) +flat = false -[node name="Button" type="Button" parent="."] +[node name="remove" type="Button" parent="."] -margin_left = 120.0 -margin_top = 50.0 -margin_right = 262.0 -margin_bottom = 150.0 +margin_left = 350.0 +margin_top = 310.0 +margin_right = 394.0 +margin_bottom = 390.0 rect_clip_content = false mouse_filter = 0 toggle_mode = false enabled_focus_mode = 2 shortcut = null group = null +icon = ExtResource( 3 ) flat = false +[connection signal="gui_input" from="Tree" to="." method="_on_Tree_gui_input"] + +[connection signal="mouse_entered" from="Tree" to="." method="_on_Tree_mouse_entered"] + |
