added first theme progress and switched all files to use static typing

This commit is contained in:
Luca 2024-10-10 15:26:56 +02:00
parent c9458f3627
commit b5ace17da9
2665 changed files with 50249 additions and 476 deletions

154
theme/basic_theme.tres Normal file
View file

@ -0,0 +1,154 @@
[gd_resource type="Theme" load_steps=25 format=3 uid="uid://xfq6d5yqsdh5"]
[ext_resource type="FontFile" uid="uid://diuo1i0qhrx72" path="res://assets/fonts/Kenney Future.ttf" id="1_7olm8"]
[ext_resource type="Texture2D" uid="uid://dqvcyivxd6quf" path="res://assets/textures/kenney_ui-pack/PNG/Grey/Double/button_rectangle_flat.png" id="1_cagdw"]
[ext_resource type="Texture2D" uid="uid://c7hsf6aa7n8ye" path="res://assets/textures/kenney_ui-pack/PNG/Blue/Double/check_square_grey_checkmark.png" id="3_fwj8m"]
[ext_resource type="Texture2D" uid="uid://0mrw1tw5533y" path="res://assets/textures/kenney_ui-pack/PNG/Blue/Double/check_square_grey.png" id="4_ejwd8"]
[ext_resource type="Texture2D" uid="uid://fuvect3s8xob" path="res://assets/textures/kenney_ui-pack/PNG/Extra/Double/input_outline_rectangle.png" id="5_0ives"]
[ext_resource type="Texture2D" uid="uid://bssj4xg6tgdon" path="res://assets/textures/kenney_ui-pack/PNG/Grey/Double/button_rectangle_depth_flat.png" id="6_afi76"]
[ext_resource type="Texture2D" uid="uid://2aourrhwc2vr" path="res://assets/textures/kenney_ui-pack/PNG/Blue/Double/slide_hangle_rotated.png" id="7_d7yi5"]
[ext_resource type="Texture2D" uid="uid://sy5kn23lahn0" path="res://assets/textures/kenney_ui-pack/PNG/Grey/Double/slide_hangle_rotated.png" id="8_vvus7"]
[ext_resource type="Texture2D" uid="uid://yivq8q3se8t" path="res://assets/textures/kenney_ui-pack/PNG/Blue/Double/slide_vertical_grey.png" id="9_epdci"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_p6kuw"]
texture = ExtResource("1_cagdw")
texture_margin_left = 20.0
texture_margin_top = 14.0
texture_margin_right = 20.0
texture_margin_bottom = 14.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_lrxv2"]
texture = ExtResource("1_cagdw")
texture_margin_left = 20.0
texture_margin_top = 14.0
texture_margin_right = 20.0
texture_margin_bottom = 14.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_nsgpx"]
texture = ExtResource("1_cagdw")
texture_margin_left = 20.0
texture_margin_top = 14.0
texture_margin_right = 20.0
texture_margin_bottom = 14.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mskne"]
texture = ExtResource("1_cagdw")
texture_margin_left = 20.0
texture_margin_top = 14.0
texture_margin_right = 20.0
texture_margin_bottom = 14.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_4fyti"]
texture = ExtResource("1_cagdw")
texture_margin_left = 20.0
texture_margin_top = 14.0
texture_margin_right = 20.0
texture_margin_bottom = 14.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_f2xhk"]
texture = ExtResource("1_cagdw")
texture_margin_left = 20.0
texture_margin_top = 14.0
texture_margin_right = 20.0
texture_margin_bottom = 14.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_dcs77"]
texture = ExtResource("1_cagdw")
texture_margin_left = 20.0
texture_margin_top = 14.0
texture_margin_right = 20.0
texture_margin_bottom = 14.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_m75dt"]
texture = ExtResource("1_cagdw")
texture_margin_left = 20.0
texture_margin_top = 14.0
texture_margin_right = 20.0
texture_margin_bottom = 14.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mrqy7"]
texture = ExtResource("1_cagdw")
texture_margin_left = 20.0
texture_margin_top = 14.0
texture_margin_right = 20.0
texture_margin_bottom = 14.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_38a2s"]
texture = ExtResource("1_cagdw")
texture_margin_left = 20.0
texture_margin_top = 14.0
texture_margin_right = 20.0
texture_margin_bottom = 14.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_nvcsd"]
texture = ExtResource("1_cagdw")
texture_margin_left = 20.0
texture_margin_top = 14.0
texture_margin_right = 20.0
texture_margin_bottom = 14.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_g7r8o"]
texture = ExtResource("5_0ives")
texture_margin_left = 8.0
texture_margin_top = 8.0
texture_margin_right = 8.0
texture_margin_bottom = 8.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_cwwj3"]
texture = ExtResource("6_afi76")
texture_margin_left = 8.0
texture_margin_top = 8.0
texture_margin_right = 8.0
texture_margin_bottom = 17.0
expand_margin_left = 4.0
expand_margin_top = 4.0
expand_margin_right = 4.0
expand_margin_bottom = 4.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_872kh"]
texture = ExtResource("9_epdci")
region_rect = Rect2(8, 30, 16, 16)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_lu4yy"]
texture = ExtResource("9_epdci")
texture_margin_left = 2.0
texture_margin_top = 4.0
texture_margin_right = 2.0
texture_margin_bottom = 4.0
[resource]
Button/colors/font_color = Color(0.301961, 0.301961, 0.301961, 1)
Button/colors/font_disabled_color = Color(0.7, 0.7, 0.7, 0.784314)
Button/colors/font_hover_color = Color(0.2, 0.2, 0.2, 1)
Button/colors/font_pressed_color = Color(0.4, 0.4, 0.4, 1)
Button/font_sizes/font_size = 24
Button/fonts/font = ExtResource("1_7olm8")
Button/styles/disabled = SubResource("StyleBoxTexture_p6kuw")
Button/styles/disabled_mirrored = SubResource("StyleBoxTexture_lrxv2")
Button/styles/focus = SubResource("StyleBoxTexture_nsgpx")
Button/styles/hover = SubResource("StyleBoxTexture_mskne")
Button/styles/hover_mirrored = SubResource("StyleBoxTexture_4fyti")
Button/styles/hover_pressed = SubResource("StyleBoxTexture_f2xhk")
Button/styles/hover_pressed_mirrored = SubResource("StyleBoxTexture_dcs77")
Button/styles/normal = SubResource("StyleBoxTexture_m75dt")
Button/styles/normal_mirrored = SubResource("StyleBoxTexture_mrqy7")
Button/styles/pressed = SubResource("StyleBoxTexture_38a2s")
Button/styles/pressed_mirrored = SubResource("StyleBoxTexture_nvcsd")
CheckBox/constants/h_separation = 12
CheckBox/constants/icon_max_width = 32
CheckBox/icons/checked = ExtResource("3_fwj8m")
CheckBox/icons/unchecked = ExtResource("4_ejwd8")
CheckButton/constants/icon_max_width = 36
CheckButton/icons/checked = ExtResource("3_fwj8m")
CheckButton/icons/unchecked = ExtResource("4_ejwd8")
Label/font_sizes/font_size = 20
Label/fonts/font = ExtResource("1_7olm8")
LineEdit/colors/font_color = Color(0.301961, 0.301961, 0.301961, 1)
LineEdit/styles/normal = SubResource("StyleBoxTexture_g7r8o")
Panel/styles/panel = SubResource("StyleBoxTexture_cwwj3")
VSlider/icons/grabber = ExtResource("7_d7yi5")
VSlider/icons/grabber_disabled = ExtResource("8_vvus7")
VSlider/icons/grabber_highlight = ExtResource("7_d7yi5")
VSlider/styles/grabber_area = SubResource("StyleBoxTexture_872kh")
VSlider/styles/grabber_area_highlight = SubResource("StyleBoxTexture_872kh")
VSlider/styles/slider = SubResource("StyleBoxTexture_lu4yy")