ai and game menu
This commit was merged in pull request #23.
This commit is contained in:
36
core/main_scene_ui/icon_button.tscn
Normal file
36
core/main_scene_ui/icon_button.tscn
Normal file
@@ -0,0 +1,36 @@
|
||||
[gd_scene format=3 uid="uid://2tqofxxxnvhv"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bpbgecvan0a5k" path="res://core/main_scene_ui/icon_button.gd" id="1_r8gxt"]
|
||||
[ext_resource type="Texture2D" uid="uid://dldg826x1kkoe" path="res://core/main_scene_ui/assets/weather_test.png" id="1_upldh"]
|
||||
|
||||
[node name="IconButton" type="Control" unique_id=1750448019]
|
||||
custom_minimum_size = Vector2(160, 160)
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_r8gxt")
|
||||
image = ExtResource("1_upldh")
|
||||
|
||||
[node name="Texture" type="TextureRect" parent="." unique_id=1071359322]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(160, 160)
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.45833334
|
||||
anchor_top = 0.42592594
|
||||
anchor_right = 0.5416667
|
||||
anchor_bottom = 0.5740741
|
||||
offset_left = 80.0
|
||||
offset_top = 79.99997
|
||||
offset_right = -80.0
|
||||
offset_bottom = -80.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
texture = ExtResource("1_upldh")
|
||||
expand_mode = 1
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[connection signal="gui_input" from="." to="." method="_on_gui_input"]
|
||||
Reference in New Issue
Block a user