Added buttons' styles
This commit is contained in:
@@ -99,10 +99,11 @@ text = "MASTER"
|
||||
[node name="MasterSlider" type="HSlider" parent="MarginContainer/VBoxContainer/GridContainer" unique_id=1600615574]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
step = 10.0
|
||||
tick_count = 11
|
||||
ticks_on_borders = true
|
||||
ticks_position = 2
|
||||
ticks_position = 3
|
||||
|
||||
[node name="UILabel" type="Label" parent="MarginContainer/VBoxContainer/GridContainer" unique_id=1039303416]
|
||||
layout_mode = 2
|
||||
@@ -111,10 +112,11 @@ text = "UI"
|
||||
[node name="UISlider" type="HSlider" parent="MarginContainer/VBoxContainer/GridContainer" unique_id=2094741924]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
step = 10.0
|
||||
tick_count = 11
|
||||
ticks_on_borders = true
|
||||
ticks_position = 2
|
||||
ticks_position = 3
|
||||
|
||||
[node name="SFXLabel" type="Label" parent="MarginContainer/VBoxContainer/GridContainer" unique_id=122025284]
|
||||
layout_mode = 2
|
||||
@@ -123,10 +125,11 @@ text = "SFX"
|
||||
[node name="SFXSlider" type="HSlider" parent="MarginContainer/VBoxContainer/GridContainer" unique_id=630139889]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
step = 10.0
|
||||
tick_count = 11
|
||||
ticks_on_borders = true
|
||||
ticks_position = 2
|
||||
ticks_position = 3
|
||||
|
||||
[node name="MusicLabel" type="Label" parent="MarginContainer/VBoxContainer/GridContainer" unique_id=2133353313]
|
||||
layout_mode = 2
|
||||
@@ -135,10 +138,11 @@ text = "MUSIC"
|
||||
[node name="MusicSlider" type="HSlider" parent="MarginContainer/VBoxContainer/GridContainer" unique_id=537100873]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
step = 10.0
|
||||
tick_count = 11
|
||||
ticks_on_borders = true
|
||||
ticks_position = 2
|
||||
ticks_position = 3
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer" unique_id=676353768]
|
||||
layout_mode = 2
|
||||
@@ -149,6 +153,7 @@ unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
shortcut = SubResource("Shortcut_e2bp2")
|
||||
shortcut_in_tooltip = false
|
||||
text = "BACK"
|
||||
|
||||
[connection signal="toggled" from="MarginContainer/VBoxContainer/GridContainer/FullscreenCheckButton" to="." method="_on_fullscreen_check_button_toggled"]
|
||||
|
||||
@@ -1,10 +1,179 @@
|
||||
[gd_resource type="Theme" format=3 uid="uid://bqj884yfvhhft"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://dvowltc3uwaxp" path="res://images/gui/buttons.png" id="1_88p1a"]
|
||||
[ext_resource type="FontFile" uid="uid://cqhh5hrj2rr0y" path="res://fonts/Mx437_DOS-V_re_PRC16.ttf" id="1_sfg7l"]
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ve1uc"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(0, 0, 32, 32)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_qdigb"]
|
||||
texture = SubResource("AtlasTexture_ve1uc")
|
||||
texture_margin_left = 9.0
|
||||
texture_margin_top = 9.0
|
||||
texture_margin_right = 9.0
|
||||
texture_margin_bottom = 9.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_8fsjs"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(32, 0, 32, 32)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_88mo4"]
|
||||
texture = SubResource("AtlasTexture_8fsjs")
|
||||
texture_margin_left = 9.0
|
||||
texture_margin_top = 9.0
|
||||
texture_margin_right = 9.0
|
||||
texture_margin_bottom = 9.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_46ixk"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(64, 0, 32, 32)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_88p1a"]
|
||||
texture = SubResource("AtlasTexture_46ixk")
|
||||
texture_margin_left = 9.0
|
||||
texture_margin_top = 9.0
|
||||
texture_margin_right = 9.0
|
||||
texture_margin_bottom = 9.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_kigjk"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(96, 0, 32, 32)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_0ixfm"]
|
||||
texture = SubResource("AtlasTexture_kigjk")
|
||||
texture_margin_left = 9.0
|
||||
texture_margin_top = 9.0
|
||||
texture_margin_right = 9.0
|
||||
texture_margin_bottom = 9.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_q11gj"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(96, 0, 32, 32)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_qx6gs"]
|
||||
texture = SubResource("AtlasTexture_q11gj")
|
||||
texture_margin_left = 9.0
|
||||
texture_margin_top = 9.0
|
||||
texture_margin_right = 9.0
|
||||
texture_margin_bottom = 9.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_88p1a"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(160, 0, 32, 32)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_46ixk"]
|
||||
texture = SubResource("AtlasTexture_88p1a")
|
||||
texture_margin_left = 9.0
|
||||
texture_margin_top = 9.0
|
||||
texture_margin_right = 9.0
|
||||
texture_margin_bottom = 9.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_e2bp2"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(0, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_j72d6"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(0, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_0ixfm"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(0, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_qx6gs"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(0, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_ow3tg"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(16, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_w7pro"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(16, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_3jdoh"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(16, 48, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_2sq22"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(16, 32, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_oka74"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(32, 64, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_v2ict"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(48, 64, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_5nv22"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(64, 64, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_hlrns"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(80, 64, 16, 16)
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_pmpf8"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(96, 64, 32, 16)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mla8h"]
|
||||
texture = SubResource("AtlasTexture_pmpf8")
|
||||
texture_margin_left = 6.0
|
||||
texture_margin_top = 6.0
|
||||
texture_margin_right = 6.0
|
||||
texture_margin_bottom = 6.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_cy47o"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(128, 64, 32, 16)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_bkny3"]
|
||||
texture = SubResource("AtlasTexture_cy47o")
|
||||
texture_margin_left = 6.0
|
||||
texture_margin_top = 6.0
|
||||
texture_margin_right = 6.0
|
||||
texture_margin_bottom = 6.0
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_wc5wp"]
|
||||
atlas = ExtResource("1_88p1a")
|
||||
region = Rect2(160, 64, 32, 16)
|
||||
|
||||
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_53fnn"]
|
||||
texture = SubResource("AtlasTexture_wc5wp")
|
||||
texture_margin_left = 6.0
|
||||
texture_margin_top = 6.0
|
||||
texture_margin_right = 6.0
|
||||
texture_margin_bottom = 6.0
|
||||
|
||||
[resource]
|
||||
default_font = ExtResource("1_sfg7l")
|
||||
default_font_size = 32
|
||||
Button/styles/disabled = SubResource("StyleBoxTexture_qdigb")
|
||||
Button/styles/focus = SubResource("StyleBoxTexture_88mo4")
|
||||
Button/styles/hover = SubResource("StyleBoxTexture_88p1a")
|
||||
Button/styles/hover_pressed = SubResource("StyleBoxTexture_0ixfm")
|
||||
Button/styles/normal = SubResource("StyleBoxTexture_qx6gs")
|
||||
Button/styles/pressed = SubResource("StyleBoxTexture_46ixk")
|
||||
CheckButton/icons/checked = SubResource("AtlasTexture_e2bp2")
|
||||
CheckButton/icons/checked_disabled = SubResource("AtlasTexture_j72d6")
|
||||
CheckButton/icons/checked_disabled_mirrored = SubResource("AtlasTexture_0ixfm")
|
||||
CheckButton/icons/checked_mirrored = SubResource("AtlasTexture_qx6gs")
|
||||
CheckButton/icons/unchecked = SubResource("AtlasTexture_ow3tg")
|
||||
CheckButton/icons/unchecked_disabled = SubResource("AtlasTexture_w7pro")
|
||||
CheckButton/icons/unchecked_disabled_mirrored = SubResource("AtlasTexture_3jdoh")
|
||||
CheckButton/icons/unchecked_mirrored = SubResource("AtlasTexture_2sq22")
|
||||
HSlider/icons/grabber = SubResource("AtlasTexture_oka74")
|
||||
HSlider/icons/grabber_disabled = SubResource("AtlasTexture_v2ict")
|
||||
HSlider/icons/grabber_highlight = SubResource("AtlasTexture_5nv22")
|
||||
HSlider/icons/tick = SubResource("AtlasTexture_hlrns")
|
||||
HSlider/styles/grabber_area = SubResource("StyleBoxTexture_mla8h")
|
||||
HSlider/styles/grabber_area_highlight = SubResource("StyleBoxTexture_bkny3")
|
||||
HSlider/styles/slider = SubResource("StyleBoxTexture_53fnn")
|
||||
MarginContainer/constants/margin_bottom = 25
|
||||
MarginContainer/constants/margin_left = 25
|
||||
MarginContainer/constants/margin_right = 25
|
||||
|
||||
BIN
Binary file not shown.
@@ -0,0 +1,40 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dvowltc3uwaxp"
|
||||
path="res://.godot/imported/buttons.png-3e7b7171a4b0e693fcb3d33222209282.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://images/gui/buttons.png"
|
||||
dest_files=["res://.godot/imported/buttons.png-3e7b7171a4b0e693fcb3d33222209282.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
Reference in New Issue
Block a user