Draft: Resolve "Migrate app to use Godot for the UI" #93

Open
thorsten wants to merge 34 commits from 58-migrate-app-to-use-godot-for-the-ui into main
4 changed files with 64 additions and 1 deletions
Showing only changes of commit e7c690ac1d - Show all commits

View File

@ -0,0 +1,17 @@
[gd_resource type="StyleBoxFlat" format=3 uid="uid://d0s01k14o6kda"]
[resource]
content_margin_left = 16.0
content_margin_top = 16.0
content_margin_right = 16.0
content_margin_bottom = 16.0
bg_color = Color(0.980392, 0.980392, 0.980392, 1)
border_width_left = 3
border_width_top = 3
border_width_right = 3
border_width_bottom = 3
border_color = Color(0.129412, 0.129412, 0.129412, 1)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6

View File

@ -0,0 +1,17 @@
[gd_resource type="StyleBoxFlat" format=3 uid="uid://cilpphe2p81om"]
[resource]
content_margin_left = 16.0
content_margin_top = 16.0
content_margin_right = 16.0
content_margin_bottom = 16.0
bg_color = Color(0.980392, 0.980392, 0.980392, 1)
border_width_left = 3
border_width_top = 3
border_width_right = 3
border_width_bottom = 3
border_color = Color(0.129412, 0.129412, 0.129412, 1)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6

View File

@ -0,0 +1,17 @@
[gd_resource type="StyleBoxFlat" format=3 uid="uid://dv2hxit6cs1cx"]
[resource]
content_margin_left = 16.0
content_margin_top = 16.0
content_margin_right = 16.0
content_margin_bottom = 16.0
bg_color = Color(0.878431, 0.878431, 0.878431, 1)
border_width_left = 5
border_width_top = 5
border_width_right = 5
border_width_bottom = 5
border_color = Color(0.129412, 0.129412, 0.129412, 1)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6

View File

@ -1,10 +1,22 @@
[gd_resource type="Theme" load_steps=2 format=3 uid="uid://w3bmkb0q753m"]
[gd_resource type="Theme" load_steps=5 format=3 uid="uid://w3bmkb0q753m"]
[ext_resource type="StyleBox" uid="uid://cilpphe2p81om" path="res://theme/btn/l_style_box_flat_norm.tres" id="1_21txx"]
[ext_resource type="StyleBox" uid="uid://b2nkgvg40j6tc" path="res://theme/panel/l_style_box_flat.tres" id="1_87qhj"]
[ext_resource type="StyleBox" uid="uid://d0s01k14o6kda" path="res://theme/btn/l_style_box_flat_hover.tres" id="1_apys2"]
[ext_resource type="StyleBox" uid="uid://dv2hxit6cs1cx" path="res://theme/btn/l_style_box_flat_press.tres" id="3_cpdnc"]
[resource]
Button/colors/font_color = Color(0.160784, 0.160784, 0.160784, 1)
Button/colors/font_focus_color = Color(0.160784, 0.160784, 0.160784, 1)
Button/colors/font_hover_color = Color(0.160784, 0.160784, 0.160784, 1)
Button/colors/font_hover_pressed_color = Color(0.160784, 0.160784, 0.160784, 1)
Button/colors/font_pressed_color = Color(0.160784, 0.160784, 0.160784, 1)
Button/colors/icon_disabled_color = Color(0.160784, 0.160784, 0.160784, 1)
Button/constants/h_separation = 6
Button/font_sizes/font_size = 32
Button/styles/hover = ExtResource("1_apys2")
Button/styles/normal = ExtResource("1_21txx")
Button/styles/pressed = ExtResource("3_cpdnc")
CheckBox/constants/h_separation = 16
CheckBox/font_sizes/font_size = 32
CheckButton/font_sizes/font_size = 32