From eca5e49c910923e7e11a4541d71b594279469047 Mon Sep 17 00:00:00 2001 From: pietru Date: Mon, 8 Apr 2024 22:40:19 +0200 Subject: [PATCH] first commit --- .gitattributes | 2 ++ .gitignore | 2 ++ License.txt | 21 +++++++++++++ README.md | 4 +++ icon.svg | 1 + icon.svg.import | 37 ++++++++++++++++++++++ main.tscn | 83 +++++++++++++++++++++++++++++++++++++++++++++++++ project.godot | 15 +++++++++ 8 files changed, 165 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 License.txt create mode 100644 README.md create mode 100644 icon.svg create mode 100644 icon.svg.import create mode 100644 main.tscn create mode 100644 project.godot diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8ad74f7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4709183 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# Godot 4+ specific ignores +.godot/ diff --git a/License.txt b/License.txt new file mode 100644 index 0000000..165968d --- /dev/null +++ b/License.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 pietru(Bartłomiej Burakowski) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..7131ffb --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# App Launcher +License: MIT + +This project is meant as app launcher, or at least my try in doing it... diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..b370ceb --- /dev/null +++ b/icon.svg @@ -0,0 +1 @@ + diff --git a/icon.svg.import b/icon.svg.import new file mode 100644 index 0000000..a73f8df --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c52blpvxculhx" +path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.svg" +dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.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 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/main.tscn b/main.tscn new file mode 100644 index 0000000..86fc24f --- /dev/null +++ b/main.tscn @@ -0,0 +1,83 @@ +[gd_scene format=3 uid="uid://cefaf32sglsey"] + +[node name="Main" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="Panel" type="Panel" parent="."] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="HBoxContainer" type="HBoxContainer" parent="Panel"] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="Cont" type="VBoxContainer" parent="Panel/HBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 3 + +[node name="HBoxContainer" type="HBoxContainer" parent="Panel/HBoxContainer/Cont"] +layout_mode = 2 +size_flags_vertical = 3 + +[node name="Games" type="ItemList" parent="Panel/HBoxContainer/Cont"] +layout_mode = 2 +size_flags_vertical = 3 +size_flags_stretch_ratio = 4.0 + +[node name="Profiles" type="ItemList" parent="Panel/HBoxContainer/Cont"] +layout_mode = 2 +size_flags_vertical = 3 +size_flags_stretch_ratio = 4.0 + +[node name="VSeparator" type="VSeparator" parent="Panel/HBoxContainer"] +self_modulate = Color(1, 1, 1, 0) +layout_mode = 2 + +[node name="Cont2" type="VBoxContainer" parent="Panel/HBoxContainer"] +layout_mode = 2 +size_flags_horizontal = 3 + +[node name="HBoxContainer" type="HBoxContainer" parent="Panel/HBoxContainer/Cont2"] +layout_mode = 2 +size_flags_vertical = 3 + +[node name="Label" type="Label" parent="Panel/HBoxContainer/Cont2/HBoxContainer"] +layout_mode = 2 +text = "lorem Ipsum" + +[node name="HBoxContainer2" type="HBoxContainer" parent="Panel/HBoxContainer/Cont2"] +layout_mode = 2 +size_flags_vertical = 3 + +[node name="Label" type="Label" parent="Panel/HBoxContainer/Cont2/HBoxContainer2"] +layout_mode = 2 +text = "lorem Ipsum" + +[node name="HBoxContainer3" type="HBoxContainer" parent="Panel/HBoxContainer/Cont2"] +layout_mode = 2 +size_flags_vertical = 3 + +[node name="Label" type="Label" parent="Panel/HBoxContainer/Cont2/HBoxContainer3"] +layout_mode = 2 +text = "lorem Ipsum" + +[node name="HBoxContainer4" type="HBoxContainer" parent="Panel/HBoxContainer/Cont2"] +layout_mode = 2 +size_flags_vertical = 3 + +[node name="Label" type="Label" parent="Panel/HBoxContainer/Cont2/HBoxContainer4"] +layout_mode = 2 +text = "lorem Ipsum" diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..cab6b3d --- /dev/null +++ b/project.godot @@ -0,0 +1,15 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=5 + +[application] + +config/name="AppLauncher" +config/features=PackedStringArray("4.2", "Forward Plus") +config/icon="res://icon.svg"