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
5 changed files with 127 additions and 2 deletions
Showing only changes of commit 002c054e11 - Show all commits

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://csxeqym474oxu"
path="res://.godot/imported/icons8-language-512.png-f077a2b18c06d1aaad9f9dc30a3a6ad7.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/icons/icons8-language-512.png"
dest_files=["res://.godot/imported/icons8-language-512.png-f077a2b18c06d1aaad9f9dc30a3a6ad7.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cp33pga3vuk5k"
path="res://.godot/imported/icons8-new-window-512.png-a618aa4884e2d1037cb64d9a2996cda7.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/icons/icons8-new-window-512.png"
dest_files=["res://.godot/imported/icons8-new-window-512.png-a618aa4884e2d1037cb64d9a2996cda7.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View File

@ -1,9 +1,66 @@
[gd_scene format=3 uid="uid://qm7ovimcfc3h"]
[gd_scene load_steps=4 format=3 uid="uid://qm7ovimcfc3h"]
[node name="Control" type="Control"]
[ext_resource type="Texture2D" uid="uid://csxeqym474oxu" path="res://assets/icons/icons8-language-512.png" id="1_1ya62"]
[ext_resource type="PackedScene" uid="uid://d0x0yv7nevod7" path="res://scenes/BtnIcon.tscn" id="2_gp72s"]
[ext_resource type="Texture2D" uid="uid://cp33pga3vuk5k" path="res://assets/icons/icons8-new-window-512.png" id="3_4v5hm"]
[node name="frame" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="center" type="CenterContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -152.0
offset_top = -51.5
offset_right = 152.0
offset_bottom = 51.5
grow_horizontal = 2
grow_vertical = 2
[node name="vbox" type="VBoxContainer" parent="center"]
layout_mode = 2
[node name="hboxHeader" type="HBoxContainer" parent="center/vbox"]
layout_mode = 2
[node name="iconMargin" type="MarginContainer" parent="center/vbox/hboxHeader"]
layout_mode = 2
theme_override_constants/margin_left = 6
theme_override_constants/margin_top = 6
theme_override_constants/margin_right = 6
theme_override_constants/margin_bottom = 6
[node name="icon" type="TextureRect" parent="center/vbox/hboxHeader/iconMargin"]
layout_mode = 2
texture = ExtResource("1_1ya62")
stretch_mode = 5
[node name="header" type="Label" parent="center/vbox/hboxHeader"]
custom_minimum_size = Vector2(300, 2.08165e-12)
layout_mode = 2
theme_override_font_sizes/font_size = 36
text = "I18N Commander"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 2
[node name="hboxButtons" type="HBoxContainer" parent="center/vbox"]
layout_mode = 2
[node name="btn_icon" parent="center/vbox/hboxButtons" instance=ExtResource("2_gp72s")]
layout_mode = 2
Text = "Create Project"
Icon = ExtResource("3_4v5hm")
[node name="btnRecentProjects" type="OptionButton" parent="center/vbox/hboxButtons"]
unique_name_in_owner = true
layout_mode = 2