diff options
author | George L. Albany <Megacake1234@gmail.com> | 2023-05-13 00:44:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-13 00:44:10 +0200 |
commit | 5b207ea57ec278daf5b8b44fdf72757fda1a7bd0 (patch) | |
tree | e4511c51eb4ceaefd92a7ad8a00f42910eb83811 /game/theme | |
parent | 398ba6f05ae1bb13e59790436bf0da299e5a399d (diff) | |
parent | 8ab166ae0bd784145c3706aba0c3f3326cbbaac1 (diff) |
Merge pull request #110 from Spartan322/add/save-and-load
Diffstat (limited to 'game/theme')
-rw-r--r-- | game/theme/default_theme.tres | 77 | ||||
-rw-r--r-- | game/theme/game_session_menu.tres | 2 |
2 files changed, 77 insertions, 2 deletions
diff --git a/game/theme/default_theme.tres b/game/theme/default_theme.tres index 6104472..dd8d310 100644 --- a/game/theme/default_theme.tres +++ b/game/theme/default_theme.tres @@ -1,3 +1,78 @@ -[gd_resource type="Theme" format=3 uid="uid://b48ymrsp1q8sf"] +[gd_resource type="Theme" load_steps=6 format=3 uid="uid://b48ymrsp1q8sf"] + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_oe2hl"] +content_margin_left = 4.0 +content_margin_top = 4.0 +content_margin_right = 4.0 +content_margin_bottom = 4.0 +bg_color = Color(0.1, 0.1, 0.1, 0.3) +corner_radius_top_left = 3 +corner_radius_top_right = 3 +corner_radius_bottom_right = 3 +corner_radius_bottom_left = 3 +corner_detail = 5 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_35fls"] +content_margin_left = 4.0 +content_margin_top = 4.0 +content_margin_right = 4.0 +content_margin_bottom = 4.0 +bg_color = Color(1, 1, 1, 0.75) +draw_center = false +border_width_left = 2 +border_width_top = 2 +border_width_right = 2 +border_width_bottom = 2 +corner_radius_top_left = 3 +corner_radius_top_right = 3 +corner_radius_bottom_right = 3 +corner_radius_bottom_left = 3 +corner_detail = 5 +expand_margin_left = 2.0 +expand_margin_top = 2.0 +expand_margin_right = 2.0 +expand_margin_bottom = 2.0 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_auvpk"] +content_margin_left = 4.0 +content_margin_top = 4.0 +content_margin_right = 4.0 +content_margin_bottom = 4.0 +bg_color = Color(0.23, 0.23, 0.23, 0.6) +corner_radius_top_left = 3 +corner_radius_top_right = 3 +corner_radius_bottom_right = 3 +corner_radius_bottom_left = 3 +corner_detail = 5 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mxxc2"] +content_margin_left = 4.0 +content_margin_top = 4.0 +content_margin_right = 4.0 +content_margin_bottom = 4.0 +bg_color = Color(0.1, 0.1, 0.1, 0.6) +corner_radius_top_left = 3 +corner_radius_top_right = 3 +corner_radius_bottom_right = 3 +corner_radius_bottom_left = 3 +corner_detail = 5 + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ewy26"] +content_margin_left = 4.0 +content_margin_top = 4.0 +content_margin_right = 4.0 +content_margin_bottom = 4.0 +bg_color = Color(0, 0, 0, 0.6) +corner_radius_top_left = 3 +corner_radius_top_right = 3 +corner_radius_bottom_right = 3 +corner_radius_bottom_left = 3 +corner_detail = 5 [resource] +ButtonContainer/base_type = &"Button" +ButtonContainer/styles/disabled = SubResource("StyleBoxFlat_oe2hl") +ButtonContainer/styles/focus = SubResource("StyleBoxFlat_35fls") +ButtonContainer/styles/hover = SubResource("StyleBoxFlat_auvpk") +ButtonContainer/styles/normal = SubResource("StyleBoxFlat_mxxc2") +ButtonContainer/styles/pressed = SubResource("StyleBoxFlat_ewy26") diff --git a/game/theme/game_session_menu.tres b/game/theme/game_session_menu.tres index 42775c3..0cab476 100644 --- a/game/theme/game_session_menu.tres +++ b/game/theme/game_session_menu.tres @@ -1,4 +1,4 @@ -[gd_resource type="Theme" load_steps=11 format=3 uid="uid://dndova5cw036e"] +[gd_resource type="Theme" load_steps=11 format=3 uid="uid://cqrfmjt5yeti7"] [ext_resource type="StyleBox" uid="uid://blwilunhmyvpq" path="res://theme/assets/main_menu_button_normal.tres" id="1_7med2"] [ext_resource type="Script" path="res://src/Utility/StyleBoxWithSound.gd" id="2_oj3dv"] |