SUI-distrib/scenesrc/SuiIconButton.tscn
2024-03-23 13:28:56 +01:00

39 lines
1.1 KiB
Text

[gd_scene load_steps=5 format=3 uid="uid://cxg471hoqg6mr"]
[ext_resource type="Script" path="res://SUI/src/SuiIconButton.gd" id="1_ekv73"]
[ext_resource type="Texture2D" uid="uid://beqhfqbyme6in" path="res://SUI/dist/example.png" id="2_c5w38"]
[ext_resource type="Script" path="res://SUI/src/SuiIconButtonTool.gd" id="2_g6elc"]
[ext_resource type="Theme" uid="uid://prqv77t23rsq" path="res://SUI/themes/Button.tres" id="3_knxki"]
[node name="SuiIconButton" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = -900.0
offset_bottom = -490.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ekv73")
image = ExtResource("2_c5w38")
ip_left = 8
ip_top = 5
ip_right = 8
ip_bottom = 5
[node name="ToolScript" type="Node" parent="."]
script = ExtResource("2_g6elc")
[node name="Button" type="Button" parent="."]
layout_mode = 0
offset_right = 50.0
offset_bottom = 50.0
theme = ExtResource("3_knxki")
[node name="Icon" type="NinePatchRect" parent="."]
layout_mode = 0
offset_left = 8.0
offset_top = 5.0
offset_right = 42.0
offset_bottom = 45.0
texture = ExtResource("2_c5w38")