diff options
| author | J08nY | 2017-04-23 16:31:27 +0200 |
|---|---|---|
| committer | J08nY | 2017-04-23 16:31:27 +0200 |
| commit | cfe4ce0fb4705a6c231528d60e4833c4dc2ec68f (patch) | |
| tree | 57111775c93b70ce1c8297efdb1f21161a055bec /combinator_panel.tscn | |
| parent | 04a7806aafe210aeefcd80f74d78c8d4420c54e2 (diff) | |
| download | ld38-cfe4ce0fb4705a6c231528d60e4833c4dc2ec68f.tar.gz ld38-cfe4ce0fb4705a6c231528d60e4833c4dc2ec68f.tar.zst ld38-cfe4ce0fb4705a6c231528d60e4833c4dc2ec68f.zip | |
Diffstat (limited to 'combinator_panel.tscn')
| -rw-r--r-- | combinator_panel.tscn | 26 |
1 files changed, 24 insertions, 2 deletions
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"] |
