1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 09:39:48 +00:00
Pixelorama/src/UI/Tools.tscn
Manolis Papadeas add9ba926e Remove pre-set tool button nodes, tool setup now being done only in the Tools singleton
Now when making a new tool we only have to set it up in Tools.gd, along with its button and cursor textures and its tool options scene. Previously, we also had to put it in ToolButtons.gd and manually create a button in Tools.tscn
2022-02-21 18:02:02 +02:00

36 lines
876 B
Plaintext

[gd_scene load_steps=2 format=2]
[ext_resource path="res://src/UI/ToolButtons.gd" type="Script" id=3]
[node name="Tools" type="ScrollContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -1242.0
margin_bottom = -230.0
rect_min_size = Vector2( 36, 0 )
size_flags_horizontal = 0
size_flags_vertical = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="PanelContainer" type="PanelContainer" parent="."]
margin_right = 14.0
margin_bottom = 14.0
size_flags_horizontal = 0
size_flags_vertical = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ToolButtons" type="GridContainer" parent="PanelContainer"]
margin_left = 7.0
margin_top = 7.0
margin_right = 7.0
margin_bottom = 7.0
size_flags_horizontal = 0
size_flags_vertical = 0
script = ExtResource( 3 )
[connection signal="resized" from="." to="PanelContainer/ToolButtons" method="_on_Tools_resized"]