update ui
This commit is contained in:
224
core/game_menu/window_option_menu.tscn
Normal file
224
core/game_menu/window_option_menu.tscn
Normal file
@@ -0,0 +1,224 @@
|
||||
[gd_scene format=3 uid="uid://cxkmo80ecvyal"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://bftymw7ajgb25" path="res://core/game_menu/assets/page_3/fullscreen.png" id="1_1oilv"]
|
||||
[ext_resource type="Script" uid="uid://8gdaotll12ug" path="res://core/game_menu/window_option_menu.gd" id="1_6b7am"]
|
||||
[ext_resource type="PackedScene" uid="uid://du4o5mms8jmrx" path="res://core/game_menu/window_option_menu_button.tscn" id="2_13nv1"]
|
||||
[ext_resource type="PackedScene" uid="uid://dm3skv22c60tm" path="res://core/game_menu/arrow_button.tscn" id="2_c6wxr"]
|
||||
[ext_resource type="Texture2D" uid="uid://m5llqtaj5kla" path="res://core/game_menu/assets/page_3/borderless.png" id="3_byg38"]
|
||||
[ext_resource type="Texture2D" uid="uid://idvleok1gecb" path="res://core/game_menu/assets/page_3/base.png" id="3_lo8ks"]
|
||||
[ext_resource type="Texture2D" uid="uid://dbcs6apfftxxw" path="res://core/game_menu/assets/page_3/windowed.png" id="4_c6wxr"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_323rd"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_264kt"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_1folt"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_tcqrg"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_kbu6n"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_dk0pr"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_f16cj"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_s4jbd"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_2ocph"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_5386i"]
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_6pmjh"]
|
||||
|
||||
[node name="WindowOptionMenu" type="Control" unique_id=891718047]
|
||||
layout_mode = 3
|
||||
anchor_right = 0.21770833
|
||||
anchor_bottom = 0.31666666
|
||||
pivot_offset_ratio = Vector2(0.5, 0.5)
|
||||
script = ExtResource("1_6b7am")
|
||||
window_option_menu_button_scene = ExtResource("2_13nv1")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Base" type="TextureRect" parent="." unique_id=1093652090]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(255.46, 330.8)
|
||||
layout_mode = 1
|
||||
anchors_preset = 5
|
||||
anchor_left = 0.5
|
||||
anchor_right = 0.5
|
||||
offset_left = -109.64252
|
||||
offset_right = 109.64252
|
||||
offset_bottom = 238.0
|
||||
grow_horizontal = 2
|
||||
size_flags_horizontal = 4
|
||||
texture = ExtResource("3_lo8ks")
|
||||
expand_mode = 1
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="Base" unique_id=416233744]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="Base/VBoxContainer" unique_id=2077693765]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_left = 32
|
||||
theme_override_constants/margin_top = 100
|
||||
theme_override_constants/margin_right = 32
|
||||
theme_override_constants/margin_bottom = 32
|
||||
|
||||
[node name="ResolutionsList" type="VBoxContainer" parent="Base/VBoxContainer/MarginContainer" unique_id=633511112]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
alignment = 1
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=255911279]
|
||||
layout_mode = 0
|
||||
offset_right = 418.0
|
||||
offset_bottom = 100.0
|
||||
alignment = 1
|
||||
|
||||
[node name="LeftArrowButton" parent="HBoxContainer" unique_id=579258112 instance=ExtResource("2_c6wxr")]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(50.5, 62)
|
||||
layout_mode = 2
|
||||
flip_h = true
|
||||
|
||||
[node name="Texture" parent="HBoxContainer/LeftArrowButton" index="0" unique_id=91599097]
|
||||
custom_minimum_size = Vector2(50, 62)
|
||||
anchors_preset = -1
|
||||
anchor_top = 0.19
|
||||
anchor_right = 0.990099
|
||||
anchor_bottom = 0.81
|
||||
offset_top = 31.0
|
||||
offset_right = -50.0
|
||||
offset_bottom = -31.0
|
||||
grow_horizontal = 1
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
flip_h = true
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="FullScreenButton" type="Button" parent="HBoxContainer" unique_id=658423473]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(310, 100)
|
||||
layout_mode = 2
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_323rd")
|
||||
theme_override_styles/normal_mirrored = SubResource("StyleBoxEmpty_264kt")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxEmpty_1folt")
|
||||
theme_override_styles/pressed_mirrored = SubResource("StyleBoxEmpty_tcqrg")
|
||||
theme_override_styles/hover = SubResource("StyleBoxEmpty_kbu6n")
|
||||
theme_override_styles/hover_mirrored = SubResource("StyleBoxEmpty_dk0pr")
|
||||
theme_override_styles/hover_pressed = SubResource("StyleBoxEmpty_f16cj")
|
||||
theme_override_styles/hover_pressed_mirrored = SubResource("StyleBoxEmpty_s4jbd")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_2ocph")
|
||||
theme_override_styles/disabled_mirrored = SubResource("StyleBoxEmpty_5386i")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_6pmjh")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Texture" type="TextureRect" parent="HBoxContainer/FullScreenButton" unique_id=1273084077]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("1_1oilv")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="BorderlessButton" type="Button" parent="HBoxContainer" unique_id=1930001398]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(310, 100)
|
||||
layout_mode = 2
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_323rd")
|
||||
theme_override_styles/normal_mirrored = SubResource("StyleBoxEmpty_264kt")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxEmpty_1folt")
|
||||
theme_override_styles/pressed_mirrored = SubResource("StyleBoxEmpty_tcqrg")
|
||||
theme_override_styles/hover = SubResource("StyleBoxEmpty_kbu6n")
|
||||
theme_override_styles/hover_mirrored = SubResource("StyleBoxEmpty_dk0pr")
|
||||
theme_override_styles/hover_pressed = SubResource("StyleBoxEmpty_f16cj")
|
||||
theme_override_styles/hover_pressed_mirrored = SubResource("StyleBoxEmpty_s4jbd")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_2ocph")
|
||||
theme_override_styles/disabled_mirrored = SubResource("StyleBoxEmpty_5386i")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_6pmjh")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Texture" type="TextureRect" parent="HBoxContainer/BorderlessButton" unique_id=2113335035]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("3_byg38")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="WindowedButton" type="Button" parent="HBoxContainer" unique_id=210063143]
|
||||
unique_name_in_owner = true
|
||||
visible = false
|
||||
custom_minimum_size = Vector2(310, 100)
|
||||
layout_mode = 2
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_323rd")
|
||||
theme_override_styles/normal_mirrored = SubResource("StyleBoxEmpty_264kt")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxEmpty_1folt")
|
||||
theme_override_styles/pressed_mirrored = SubResource("StyleBoxEmpty_tcqrg")
|
||||
theme_override_styles/hover = SubResource("StyleBoxEmpty_kbu6n")
|
||||
theme_override_styles/hover_mirrored = SubResource("StyleBoxEmpty_dk0pr")
|
||||
theme_override_styles/hover_pressed = SubResource("StyleBoxEmpty_f16cj")
|
||||
theme_override_styles/hover_pressed_mirrored = SubResource("StyleBoxEmpty_s4jbd")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_2ocph")
|
||||
theme_override_styles/disabled_mirrored = SubResource("StyleBoxEmpty_5386i")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_6pmjh")
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="Texture" type="TextureRect" parent="HBoxContainer/WindowedButton" unique_id=873436909]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
texture = ExtResource("4_c6wxr")
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="RightArrowButton" parent="HBoxContainer" unique_id=1429974963 instance=ExtResource("2_c6wxr")]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(50.5, 62)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Texture" parent="HBoxContainer/RightArrowButton" index="0" unique_id=91599097]
|
||||
custom_minimum_size = Vector2(50, 62)
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.00990099
|
||||
anchor_top = 0.19
|
||||
anchor_bottom = 0.81
|
||||
offset_left = 50.0
|
||||
offset_top = 31.0
|
||||
offset_bottom = -31.0
|
||||
grow_horizontal = 0
|
||||
expand_mode = 1
|
||||
stretch_mode = 5
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[connection signal="mouse_entered" from="HBoxContainer/FullScreenButton" to="HBoxContainer/FullScreenButton" method="_on_mouse_entered"]
|
||||
[connection signal="mouse_exited" from="HBoxContainer/FullScreenButton" to="HBoxContainer/FullScreenButton" method="_on_mouse_exited"]
|
||||
[connection signal="pressed" from="HBoxContainer/FullScreenButton" to="HBoxContainer/FullScreenButton" method="_on_pressed"]
|
||||
[connection signal="mouse_entered" from="HBoxContainer/BorderlessButton" to="HBoxContainer/BorderlessButton" method="_on_mouse_entered"]
|
||||
[connection signal="mouse_exited" from="HBoxContainer/BorderlessButton" to="HBoxContainer/BorderlessButton" method="_on_mouse_exited"]
|
||||
[connection signal="pressed" from="HBoxContainer/BorderlessButton" to="HBoxContainer/BorderlessButton" method="_on_pressed"]
|
||||
[connection signal="mouse_entered" from="HBoxContainer/WindowedButton" to="HBoxContainer/WindowedButton" method="_on_mouse_entered"]
|
||||
[connection signal="mouse_exited" from="HBoxContainer/WindowedButton" to="HBoxContainer/WindowedButton" method="_on_mouse_exited"]
|
||||
[connection signal="pressed" from="HBoxContainer/WindowedButton" to="HBoxContainer/WindowedButton" method="_on_pressed"]
|
||||
|
||||
[editable path="HBoxContainer/LeftArrowButton"]
|
||||
[editable path="HBoxContainer/RightArrowButton"]
|
||||
Reference in New Issue
Block a user