Update select scene item, clean old button reset and add *button reset* and *button large*.

This commit is contained in:
stilobique-surface
2021-05-15 17:29:18 +02:00
parent 1265684c53
commit 73d811a35b
14 changed files with 182 additions and 35 deletions
+39 -30
View File
@@ -1,7 +1,11 @@
[gd_scene load_steps=3 format=2]
[gd_scene load_steps=7 format=2]
[ext_resource path="res://assets/ui/themes/level-btn.png" type="Texture" id=1]
[ext_resource path="res://assets/ui/themes/icon-reset.png" type="Texture" id=2]
[ext_resource path="res://assets/ui/themes/UI-Button-Clear-Large.png" type="Texture" id=2]
[ext_resource path="res://assets/ui/themes/UI-Button-Reset-hover.png" type="Texture" id=3]
[ext_resource path="res://assets/ui/themes/UI-Button-Reset.png" type="Texture" id=4]
[ext_resource path="res://assets/ui/themes/UI-Button-Clear-Large-hover.png" type="Texture" id=5]
[ext_resource path="res://assets/ui/themes/UI-Button-Reset-disabled.png" type="Texture" id=6]
[node name="VBoxContainer" type="VBoxContainer"]
margin_right = 150.0
@@ -11,7 +15,7 @@ __meta__ = {
}
[node name="TextureRect" type="TextureRect" parent="."]
margin_right = 217.0
margin_right = 200.0
margin_bottom = 200.0
texture = ExtResource( 1 )
__meta__ = {
@@ -32,41 +36,46 @@ __meta__ = {
[node name="VBoxContainer" type="HBoxContainer" parent="."]
margin_top = 204.0
margin_right = 217.0
margin_bottom = 332.0
margin_right = 200.0
margin_bottom = 284.0
size_flags_horizontal = 3
size_flags_vertical = 3
custom_constants/separation = 25
alignment = 1
[node name="ButtonReset" type="TextureButton" parent="VBoxContainer"]
margin_right = 64.0
margin_bottom = 128.0
[node name="MarginContainer" type="CenterContainer" parent="VBoxContainer"]
margin_right = 98.0
margin_bottom = 80.0
size_flags_horizontal = 3
[node name="ButtonReset" type="TextureButton" parent="VBoxContainer/MarginContainer"]
margin_left = 9.0
margin_right = 89.0
margin_bottom = 80.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
disabled = true
texture_normal = ExtResource( 4 )
texture_hover = ExtResource( 3 )
texture_disabled = ExtResource( 6 )
texture_focused = ExtResource( 3 )
[node name="MarginContainer2" type="CenterContainer" parent="VBoxContainer"]
margin_left = 102.0
margin_right = 200.0
margin_bottom = 80.0
size_flags_horizontal = 3
[node name="ButtonCount" type="TextureButton" parent="VBoxContainer/MarginContainer2"]
margin_left = 9.0
margin_right = 89.0
margin_bottom = 80.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
texture_normal = ExtResource( 2 )
texture_hover = ExtResource( 5 )
texture_focused = ExtResource( 5 )
[node name="Label" type="Label" parent="VBoxContainer/ButtonReset"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3
size_flags_vertical = 7
text = "Reset"
align = 1
valign = 1
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ButtonCount" type="TextureButton" parent="VBoxContainer"]
margin_left = 89.0
margin_right = 217.0
margin_bottom = 128.0
mouse_default_cursor_shape = 2
size_flags_horizontal = 3
texture_normal = ExtResource( 2 )
[node name="Label" type="Label" parent="VBoxContainer/ButtonCount"]
[node name="Label" type="Label" parent="VBoxContainer/MarginContainer2/ButtonCount"]
anchor_right = 1.0
anchor_bottom = 1.0
size_flags_horizontal = 3