From 1f717b83abec6bdd91ecc357cb284d6fca05d8a8 Mon Sep 17 00:00:00 2001 From: 8bitprodigy Date: Thu, 28 Mar 2024 16:01:47 -0700 Subject: [PATCH] Added version number to title bar as per Issue #50. --- assets/images/bitcoin.svg | 71 ++++++++++++++++++++++++++++++++ assets/images/bitcoin.svg.import | 37 +++++++++++++++++ assets/images/ether.svg | 46 +++++++++++++++++++++ assets/images/ether.svg.import | 37 +++++++++++++++++ assets/images/test.svg | 70 +++++++++++++++++++++++++++++++ assets/images/test.svg.import | 37 +++++++++++++++++ ui/main.gd | 1 + 7 files changed, 299 insertions(+) create mode 100644 assets/images/bitcoin.svg create mode 100644 assets/images/bitcoin.svg.import create mode 100644 assets/images/ether.svg create mode 100644 assets/images/ether.svg.import create mode 100644 assets/images/test.svg create mode 100644 assets/images/test.svg.import diff --git a/assets/images/bitcoin.svg b/assets/images/bitcoin.svg new file mode 100644 index 0000000..25fb930 --- /dev/null +++ b/assets/images/bitcoin.svg @@ -0,0 +1,71 @@ + + + + + + + + + + + + + diff --git a/assets/images/bitcoin.svg.import b/assets/images/bitcoin.svg.import new file mode 100644 index 0000000..add84f9 --- /dev/null +++ b/assets/images/bitcoin.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cr22jmymornam" +path="res://.godot/imported/bitcoin.svg-79755ed98620311bbddf37e12b26a2f5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/images/bitcoin.svg" +dest_files=["res://.godot/imported/bitcoin.svg-79755ed98620311bbddf37e12b26a2f5.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/assets/images/ether.svg b/assets/images/ether.svg new file mode 100644 index 0000000..4f7a16d --- /dev/null +++ b/assets/images/ether.svg @@ -0,0 +1,46 @@ + + + + + + + + diff --git a/assets/images/ether.svg.import b/assets/images/ether.svg.import new file mode 100644 index 0000000..c918227 --- /dev/null +++ b/assets/images/ether.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dof5s5npkcucf" +path="res://.godot/imported/ether.svg-95cc4c8955f72d95a11f8ac501dac1f2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/images/ether.svg" +dest_files=["res://.godot/imported/ether.svg-95cc4c8955f72d95a11f8ac501dac1f2.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/assets/images/test.svg b/assets/images/test.svg new file mode 100644 index 0000000..0110a69 --- /dev/null +++ b/assets/images/test.svg @@ -0,0 +1,70 @@ + + + + + + + + + + + + + diff --git a/assets/images/test.svg.import b/assets/images/test.svg.import new file mode 100644 index 0000000..cca4abb --- /dev/null +++ b/assets/images/test.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cirtdl1um6t8s" +path="res://.godot/imported/test.svg-ef2e8a1cd86af341084177833f877297.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/images/test.svg" +dest_files=["res://.godot/imported/test.svg-ef2e8a1cd86af341084177833f877297.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/ui/main.gd b/ui/main.gd index f7570ed..d09b85e 100644 --- a/ui/main.gd +++ b/ui/main.gd @@ -10,6 +10,7 @@ func _ready(): left_menu.left_menu_button_pressed.connect(self._on_left_menu_button_pressed) settings_tab.hide_settings.connect(self._on_left_menu_button_pressed) + get_tree().root.title += " | " + Appstate.app_config.get_value("", "version") func _on_left_menu_button_pressed(v: int): tab_container.current_tab = v