From cfe4ce0fb4705a6c231528d60e4833c4dc2ec68f Mon Sep 17 00:00:00 2001 From: J08nY Date: Sun, 23 Apr 2017 16:31:27 +0200 Subject: Add a bunch of stuff --- combinator_panel.tscn | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'combinator_panel.tscn') diff --git a/combinator_panel.tscn b/combinator_panel.tscn index 0ea5aa0..f7a46d7 100644 --- a/combinator_panel.tscn +++ b/combinator_panel.tscn @@ -1,8 +1,9 @@ -[gd_scene load_steps=4 format=2] +[gd_scene load_steps=5 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] +[ext_resource path="res://assets/storage.png" type="Texture" id=4] [node name="CombinatorPanel" type="Panel"] @@ -50,8 +51,29 @@ group = null icon = ExtResource( 3 ) flat = false +[node name="storage" type="Button" parent="."] + +margin_left = 350.0 +margin_top = 20.0 +margin_right = 394.0 +margin_bottom = 193.0 +rect_clip_content = false +mouse_filter = 0 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +text = "Storage" +icon = ExtResource( 4 ) +flat = false +clip_text = true + [connection signal="gui_input" from="Tree" to="." method="_on_Tree_gui_input"] -[connection signal="mouse_entered" from="Tree" to="." method="_on_Tree_mouse_entered"] +[connection signal="pressed" from="add" to="." method="_on_add_pressed"] + +[connection signal="pressed" from="remove" to="." method="_on_remove_pressed"] + +[connection signal="pressed" from="storage" to="." method="_on_storage_pressed"] -- cgit v1.2.3-70-g09d2