diff options
author | Logan <logan@cflip.net> | 2023-04-30 18:51:05 -0600 |
---|---|---|
committer | Logan <logan@cflip.net> | 2023-04-30 18:51:05 -0600 |
commit | f4381c59c1d239400fbd787fe3a5247f0c535460 (patch) | |
tree | 8dfc62aaf276e7f8438e96fec4467bcde917d286 /theme_data | |
parent | f30fbd753b23be1f71b4bada5e7063ac00215c33 (diff) |
Move to Godot 4 and fixes
Diffstat (limited to 'theme_data')
-rw-r--r-- | theme_data/FSEX302.ttf.import | 33 | ||||
-rw-r--r-- | theme_data/font.tres | 4 | ||||
-rw-r--r-- | theme_data/interface_theme.tres | 158 |
3 files changed, 113 insertions, 82 deletions
diff --git a/theme_data/FSEX302.ttf.import b/theme_data/FSEX302.ttf.import new file mode 100644 index 0000000..d7cccc1 --- /dev/null +++ b/theme_data/FSEX302.ttf.import @@ -0,0 +1,33 @@ +[remap] + +importer="font_data_dynamic" +type="FontFile" +uid="uid://dv2mg5h6hojap" +path="res://.godot/imported/FSEX302.ttf-d6c5de88d99f4f4cb730ce6669f1a98e.fontdata" + +[deps] + +source_file="res://theme_data/FSEX302.ttf" +dest_files=["res://.godot/imported/FSEX302.ttf-d6c5de88d99f4f4cb730ce6669f1a98e.fontdata"] + +[params] + +Rendering=null +antialiasing=1 +generate_mipmaps=false +multichannel_signed_distance_field=false +msdf_pixel_range=8 +msdf_size=48 +allow_system_fallback=true +force_autohinter=false +hinting=1 +subpixel_positioning=1 +oversampling=0.0 +Fallbacks=null +fallbacks=[] +Compress=null +compress=true +preload=[] +language_support={} +script_support={} +opentype_features={} diff --git a/theme_data/font.tres b/theme_data/font.tres index d7a2d55..0f74117 100644 --- a/theme_data/font.tres +++ b/theme_data/font.tres @@ -1,6 +1,6 @@ -[gd_resource type="DynamicFont" load_steps=2 format=2] +[gd_resource type="FontFile" load_steps=2 format=2] -[ext_resource path="res://theme_data/FSEX302.ttf" type="DynamicFontData" id=1] +[ext_resource path="res://theme_data/FSEX302.ttf" type="FontFile" id=1] [resource] font_data = ExtResource( 1 ) diff --git a/theme_data/interface_theme.tres b/theme_data/interface_theme.tres index 234d95b..66ba97b 100644 --- a/theme_data/interface_theme.tres +++ b/theme_data/interface_theme.tres @@ -1,146 +1,144 @@ -[gd_resource type="Theme" load_steps=17 format=2] +[gd_resource type="Theme" load_steps=17 format=3 uid="uid://2jc1rrh032m0"] -[ext_resource path="res://textures/check_button_off.png" type="Texture" id=1] -[ext_resource path="res://textures/check_button_on.png" type="Texture" id=2] -[ext_resource path="res://textures/release_indicator.png" type="Texture" id=3] -[ext_resource path="res://theme_data/font.tres" type="DynamicFont" id=4] +[ext_resource type="Texture2D" uid="uid://bfdxy0g57g1qw" path="res://textures/check_button_off.png" id="1"] +[ext_resource type="Texture2D" uid="uid://c6moponbwbsqa" path="res://textures/check_button_on.png" id="2"] +[ext_resource type="Texture2D" uid="uid://bvt8l7s2qeplp" path="res://textures/release_indicator.png" id="3"] +[ext_resource type="FontFile" path="res://theme_data/font.tres" id="4"] -[sub_resource type="StyleBoxFlat" id=4] -bg_color = Color( 0.109804, 0.101961, 0.160784, 1 ) +[sub_resource type="StyleBoxFlat" id="4"] +bg_color = Color(0.109804, 0.101961, 0.160784, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -border_color = Color( 0.168627, 0.156863, 0.247059, 1 ) +border_color = Color(0.168627, 0.156863, 0.247059, 1) -[sub_resource type="StyleBoxFlat" id=5] -bg_color = Color( 0.109804, 0.101961, 0.160784, 1 ) +[sub_resource type="StyleBoxFlat" id="5"] +bg_color = Color(0.109804, 0.101961, 0.160784, 1) draw_center = false border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -border_color = Color( 0.392157, 0.466667, 0.615686, 1 ) +border_color = Color(0.392157, 0.466667, 0.615686, 1) -[sub_resource type="StyleBoxFlat" id=3] -bg_color = Color( 0.270588, 0.294118, 0.443137, 1 ) +[sub_resource type="StyleBoxFlat" id="3"] +bg_color = Color(0.270588, 0.294118, 0.443137, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -border_color = Color( 0.462745, 0.623529, 0.72549, 1 ) +border_color = Color(0.462745, 0.623529, 0.72549, 1) -[sub_resource type="StyleBoxFlat" id=6] -bg_color = Color( 0.109804, 0.101961, 0.160784, 1 ) +[sub_resource type="StyleBoxFlat" id="6"] +bg_color = Color(0.109804, 0.101961, 0.160784, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -border_color = Color( 0.168627, 0.156863, 0.247059, 1 ) +border_color = Color(0.168627, 0.156863, 0.247059, 1) -[sub_resource type="StyleBoxFlat" id=8] -bg_color = Color( 0.392157, 0.466667, 0.615686, 1 ) +[sub_resource type="StyleBoxFlat" id="8"] +bg_color = Color(0.392157, 0.466667, 0.615686, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -border_color = Color( 0.462745, 0.623529, 0.72549, 1 ) +border_color = Color(0.462745, 0.623529, 0.72549, 1) -[sub_resource type="StyleBoxEmpty" id=7] +[sub_resource type="StyleBoxEmpty" id="7"] -[sub_resource type="StyleBoxFlat" id=9] -bg_color = Color( 0.270588, 0.294118, 0.443137, 1 ) +[sub_resource type="StyleBoxFlat" id="9"] +bg_color = Color(0.270588, 0.294118, 0.443137, 1) -[sub_resource type="StyleBoxFlat" id=11] +[sub_resource type="StyleBoxFlat" id="11"] content_margin_top = 5.0 content_margin_bottom = 5.0 -bg_color = Color( 0.109804, 0.101961, 0.160784, 1 ) +bg_color = Color(0.109804, 0.101961, 0.160784, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -border_color = Color( 0.392157, 0.466667, 0.615686, 1 ) +border_color = Color(0.392157, 0.466667, 0.615686, 1) expand_margin_left = 1.0 -expand_margin_right = 1.0 expand_margin_top = 1.0 +expand_margin_right = 1.0 expand_margin_bottom = 1.0 -[sub_resource type="StyleBoxFlat" id=13] -bg_color = Color( 0.392157, 0.466667, 0.615686, 1 ) +[sub_resource type="StyleBoxFlat" id="13"] +bg_color = Color(0.392157, 0.466667, 0.615686, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -border_color = Color( 0.462745, 0.623529, 0.72549, 1 ) +border_color = Color(0.462745, 0.623529, 0.72549, 1) -[sub_resource type="StyleBoxFlat" id=14] -bg_color = Color( 0.109804, 0.101961, 0.160784, 1 ) +[sub_resource type="StyleBoxFlat" id="14"] +bg_color = Color(0.109804, 0.101961, 0.160784, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -border_color = Color( 0.168627, 0.156863, 0.247059, 1 ) +border_color = Color(0.168627, 0.156863, 0.247059, 1) -[sub_resource type="StyleBoxFlat" id=1] -bg_color = Color( 0.0823529, 0.0745098, 0.117647, 1 ) +[sub_resource type="StyleBoxFlat" id="1"] +bg_color = Color(0.0823529, 0.0745098, 0.117647, 1) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 -border_color = Color( 0.203922, 0.227451, 0.384314, 1 ) +border_color = Color(0.203922, 0.227451, 0.384314, 1) -[sub_resource type="StyleBoxFlat" id=12] +[sub_resource type="StyleBoxFlat" id="12"] content_margin_left = 5.0 -content_margin_right = 5.0 content_margin_top = 0.0 -content_margin_bottom = 2.0 -bg_color = Color( 0.270588, 0.294118, 0.443137, 1 ) +content_margin_right = 5.0 +content_margin_bottom = 0.0 +bg_color = Color(0.270588, 0.294118, 0.443137, 1) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 -border_color = Color( 0.392157, 0.466667, 0.615686, 1 ) +border_color = Color(0.392157, 0.466667, 0.615686, 1) [resource] -Button/colors/font_color = Color( 0.270588, 0.294118, 0.443137, 1 ) -Button/colors/font_color_disabled = Color( 0.168627, 0.156863, 0.247059, 1 ) -Button/colors/font_color_focus = Color( 0.270588, 0.294118, 0.443137, 1 ) -Button/colors/font_color_hover = Color( 0.733333, 0.835294, 0.898039, 1 ) -Button/colors/font_color_pressed = Color( 0.796078, 0.894118, 0.952941, 1 ) +Button/colors/font_color = Color(0.270588, 0.294118, 0.443137, 1) +Button/colors/font_color_disabled = Color(0.168627, 0.156863, 0.247059, 1) +Button/colors/font_color_focus = Color(0.270588, 0.294118, 0.443137, 1) +Button/colors/font_color_hover = Color(0.733333, 0.835294, 0.898039, 1) +Button/colors/font_color_pressed = Color(0.796078, 0.894118, 0.952941, 1) Button/constants/hseparation = 0 -Button/styles/disabled = SubResource( 4 ) -Button/styles/focus = SubResource( 5 ) -Button/styles/hover = SubResource( 3 ) -Button/styles/normal = SubResource( 6 ) -Button/styles/pressed = SubResource( 8 ) +Button/styles/disabled = SubResource("4") +Button/styles/focus = SubResource("5") +Button/styles/hover = SubResource("3") +Button/styles/normal = SubResource("6") +Button/styles/pressed = SubResource("8") CheckButton/constants/hseparation = 0 -CheckButton/icons/off = ExtResource( 1 ) -CheckButton/icons/off_disabled = null -CheckButton/icons/on = ExtResource( 2 ) -CheckButton/icons/on_disabled = null -CheckButton/styles/disabled = SubResource( 7 ) -CheckButton/styles/focus = SubResource( 7 ) -CheckButton/styles/hover = SubResource( 7 ) -CheckButton/styles/hover_pressed = SubResource( 7 ) -CheckButton/styles/normal = SubResource( 7 ) -CheckButton/styles/pressed = SubResource( 7 ) -HSlider/icons/grabber = ExtResource( 3 ) -HSlider/icons/grabber_disabled = ExtResource( 3 ) -HSlider/icons/grabber_highlight = ExtResource( 3 ) -HSlider/icons/tick = ExtResource( 3 ) -HSlider/styles/grabber_area = SubResource( 9 ) -HSlider/styles/grabber_area_highlight = SubResource( 9 ) -HSlider/styles/slider = SubResource( 11 ) -Label/colors/font_color_shadow = Color( 0.270588, 0.294118, 0.443137, 1 ) -Label/fonts/font = ExtResource( 4 ) -LineEdit/colors/cursor_color = Color( 1, 1, 1, 0 ) -LineEdit/colors/font_color = Color( 0.733333, 0.835294, 0.898039, 1 ) -LineEdit/colors/font_color_selected = Color( 0.270588, 0.294118, 0.443137, 1 ) -LineEdit/colors/font_color_uneditable = Color( 0.270588, 0.294118, 0.443137, 1 ) -LineEdit/colors/selection_color = Color( 1, 1, 1, 0 ) +CheckButton/icons/checked = ExtResource("2") +CheckButton/icons/unchecked = ExtResource("1") +CheckButton/styles/disabled = SubResource("7") +CheckButton/styles/focus = SubResource("7") +CheckButton/styles/hover = SubResource("7") +CheckButton/styles/hover_pressed = SubResource("7") +CheckButton/styles/normal = SubResource("7") +CheckButton/styles/pressed = SubResource("7") +HSlider/icons/grabber = ExtResource("3") +HSlider/icons/grabber_disabled = ExtResource("3") +HSlider/icons/grabber_highlight = ExtResource("3") +HSlider/icons/tick = ExtResource("3") +HSlider/styles/grabber_area = SubResource("9") +HSlider/styles/grabber_area_highlight = SubResource("9") +HSlider/styles/slider = SubResource("11") +Label/colors/font_color_shadow = Color(0.270588, 0.294118, 0.443137, 1) +Label/fonts/font = ExtResource("4") +LineEdit/colors/cursor_color = Color(1, 1, 1, 0) +LineEdit/colors/font_color = Color(0.733333, 0.835294, 0.898039, 1) +LineEdit/colors/font_color_selected = Color(0.270588, 0.294118, 0.443137, 1) +LineEdit/colors/font_color_uneditable = Color(0.270588, 0.294118, 0.443137, 1) +LineEdit/colors/selection_color = Color(1, 1, 1, 0) LineEdit/constants/minimum_spaces = 0 -LineEdit/styles/focus = SubResource( 13 ) -LineEdit/styles/normal = SubResource( 14 ) -LineEdit/styles/read_only = SubResource( 14 ) -Panel/styles/panel = SubResource( 1 ) -PanelContainer/styles/panel = SubResource( 12 ) +LineEdit/styles/focus = SubResource("13") +LineEdit/styles/normal = SubResource("14") +LineEdit/styles/read_only = SubResource("14") +Panel/styles/panel = SubResource("1") +PanelContainer/styles/panel = SubResource("12") |