WIP adding system font theme

This commit is contained in:
betalars 2024-02-02 12:05:49 +01:00
parent ad984a77b9
commit a575122f6b
4 changed files with 14 additions and 4 deletions

View File

@ -102,6 +102,7 @@ script = ExtResource("1_tgjc2")
scene = null scene = null
[node name="Panel" type="PanelContainer" parent="."] [node name="Panel" type="PanelContainer" parent="."]
clip_children = 2
layout_mode = 2 layout_mode = 2
[node name="Content" type="VBoxContainer" parent="Panel"] [node name="Content" type="VBoxContainer" parent="Panel"]
@ -156,18 +157,27 @@ layout_mode = 2
text = "put back" text = "put back"
script = SubResource("GDScript_g0qhf") script = SubResource("GDScript_g0qhf")
[node name="StartFrame" type="TextureRect" parent="Panel"] [node name="Control" type="Control" parent="Panel"]
layout_mode = 2 layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 0
[node name="StartFrame" type="TextureRect" parent="Panel/Control"]
layout_mode = 2
offset_left = -330.0
offset_top = -8.0
offset_right = 7.0
offset_bottom = 284.0
mouse_filter = 2 mouse_filter = 2
texture = ExtResource("3_63j61") texture = ExtResource("3_63j61")
expand_mode = 2 expand_mode = 2
stretch_mode = 4 stretch_mode = 4
[node name="AnimationPlayer" type="AnimationPlayer" parent="."] [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "invisible"
libraries = { libraries = {
"": SubResource("AnimationLibrary_jad23") "": SubResource("AnimationLibrary_jad23")
} }
autoplay = "invisible"
[connection signal="focus_entered" from="Panel/Content/Buttons/VBoxContainer/collect_or_listen" to="." method="_yoink_focus"] [connection signal="focus_entered" from="Panel/Content/Buttons/VBoxContainer/collect_or_listen" to="." method="_yoink_focus"]
[connection signal="pressed" from="Panel/Content/Buttons/VBoxContainer/collect_or_listen" to="." method="_on_pick_button_pressed"] [connection signal="pressed" from="Panel/Content/Buttons/VBoxContainer/collect_or_listen" to="." method="_on_pick_button_pressed"]

View File

@ -1,7 +1,7 @@
[gd_scene load_steps=10 format=3 uid="uid://gldtxysavetf"] [gd_scene load_steps=10 format=3 uid="uid://gldtxysavetf"]
[ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://import/interface-elements/frame.png" id="1_8giso"] [ext_resource type="Texture2D" uid="uid://d0ucjqi8tx6vt" path="res://import/interface-elements/frame.png" id="1_8giso"]
[ext_resource type="Theme" uid="uid://b056fn288p8ha" path="res://logic-scenes/themes/easy-handwriting.theme" id="1_b01tw"] [ext_resource type="Theme" uid="uid://dla4kae5kbwdh" path="res://logic-scenes/themes/system.theme" id="1_rf5xr"]
[ext_resource type="Script" path="res://logic-scenes/startup/volume_sliders.gd" id="3_q2gbh"] [ext_resource type="Script" path="res://logic-scenes/startup/volume_sliders.gd" id="3_q2gbh"]
[ext_resource type="Texture2D" uid="uid://bwicl5q0lw06q" path="res://import/interface-elements/bottom.png" id="3_s5ssh"] [ext_resource type="Texture2D" uid="uid://bwicl5q0lw06q" path="res://import/interface-elements/bottom.png" id="3_s5ssh"]
@ -207,7 +207,7 @@ anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
theme = ExtResource("1_b01tw") theme = ExtResource("1_rf5xr")
script = SubResource("GDScript_a78qq") script = SubResource("GDScript_a78qq")
[node name="Label" type="Label" parent="."] [node name="Label" type="Label" parent="."]

Binary file not shown.