diff --git a/ThemeReference.csproj b/ThemeReference.csproj index 53cc1f1..e75f04c 100644 --- a/ThemeReference.csproj +++ b/ThemeReference.csproj @@ -1,8 +1,6 @@ - + - net6.0 - net7.0 - net8.0 + net8.0 true \ No newline at end of file diff --git a/addons/EGThemeReference/Element/Theme/ElementDefault.tres b/addons/EGThemeReference/Element/Theme/ElementDefault.tres index 3090a17..c1fceb7 100644 --- a/addons/EGThemeReference/Element/Theme/ElementDefault.tres +++ b/addons/EGThemeReference/Element/Theme/ElementDefault.tres @@ -116,7 +116,7 @@ [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_66fxh"] -[sub_resource type="Image" id="Image_6nd12"] +[sub_resource type="Image" id="Image_py2f6"] data = { "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 1, 179, 179, 179, 20, 188, 188, 188, 19, 255, 255, 255, 1, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 179, 179, 179, 20, 180, 180, 180, 64, 180, 180, 180, 64, 188, 188, 188, 19, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 188, 188, 188, 19, 180, 180, 180, 64, 180, 180, 180, 64, 188, 188, 188, 19, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 1, 188, 188, 188, 19, 188, 188, 188, 19, 255, 255, 255, 1, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0), "format": "RGBA8", @@ -126,9 +126,9 @@ data = { } [sub_resource type="ImageTexture" id="ImageTexture_pyguc"] -image = SubResource("Image_6nd12") +image = SubResource("Image_py2f6") -[sub_resource type="Image" id="Image_q7gwy"] +[sub_resource type="Image" id="Image_ej3v2"] data = { "data": PackedByteArray(181, 181, 181, 48, 179, 179, 179, 50, 213, 213, 213, 6, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 180, 180, 180, 64, 180, 180, 180, 64, 179, 179, 179, 50, 180, 180, 180, 64, 180, 180, 180, 54, 213, 213, 213, 6, 255, 255, 255, 0, 255, 255, 255, 0, 180, 180, 180, 64, 180, 180, 180, 64, 204, 204, 204, 5, 178, 178, 178, 53, 180, 180, 180, 64, 180, 180, 180, 54, 213, 213, 213, 6, 255, 255, 255, 0, 180, 180, 180, 64, 180, 180, 180, 64, 255, 255, 255, 0, 204, 204, 204, 5, 182, 182, 182, 52, 180, 180, 180, 64, 180, 180, 180, 51, 255, 255, 255, 0, 180, 180, 180, 64, 180, 180, 180, 64, 255, 255, 255, 0, 213, 213, 213, 6, 180, 180, 180, 54, 180, 180, 180, 64, 179, 179, 179, 50, 255, 255, 255, 0, 180, 180, 180, 64, 180, 180, 180, 64, 213, 213, 213, 6, 180, 180, 180, 54, 180, 180, 180, 64, 183, 183, 183, 53, 170, 170, 170, 6, 255, 255, 255, 0, 180, 180, 180, 64, 180, 180, 180, 64, 182, 182, 182, 49, 180, 180, 180, 64, 183, 183, 183, 53, 170, 170, 170, 6, 255, 255, 255, 0, 255, 255, 255, 0, 180, 180, 180, 64, 180, 180, 180, 64, 181, 181, 181, 41, 182, 182, 182, 49, 170, 170, 170, 6, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 0, 180, 180, 180, 64, 180, 180, 180, 64), "format": "RGBA8", @@ -138,7 +138,7 @@ data = { } [sub_resource type="ImageTexture" id="ImageTexture_fj8kl"] -image = SubResource("Image_q7gwy") +image = SubResource("Image_ej3v2") [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_nevr1"] diff --git a/addons/EGThemeReference/Element/ThemeReview.tscn b/addons/EGThemeReference/Element/ThemeReview.tscn index 64c32eb..966670d 100644 --- a/addons/EGThemeReference/Element/ThemeReview.tscn +++ b/addons/EGThemeReference/Element/ThemeReview.tscn @@ -2,8 +2,8 @@ [ext_resource type="Theme" uid="uid://c3lr0arm7bsr6" path="res://addons/EGThemeReference/Element/Theme/ElementDefault.tres" id="1_jfubg"] [ext_resource type="Texture2D" uid="uid://brwp8bimc75uu" path="res://addons/EGThemeReference/icon.webp" id="1_qvufh"] -[ext_resource type="Script" path="res://addons/EGThemeReference/Element/tree.gd" id="2_2kdtq"] -[ext_resource type="Script" path="res://addons/EGThemeReference/Script/TestUI.cs" id="2_xi0id"] +[ext_resource type="Script" uid="uid://otlnxk1i66l4" path="res://addons/EGThemeReference/Element/tree.gd" id="2_2kdtq"] +[ext_resource type="Script" uid="uid://bxljyuxwa1u2k" path="res://addons/EGThemeReference/Script/TestUI.cs" id="2_xi0id"] [sub_resource type="ButtonGroup" id="ButtonGroup_t0nh8"] @@ -463,6 +463,7 @@ text = "MenuButton" flat = false item_count = 8 popup/item_0/text = "Action Item" +popup/item_0/id = 0 popup/item_1/text = "Separator" popup/item_1/id = 1 popup/item_1/separator = true diff --git a/addons/EGThemeReference/Element/tree.gd.uid b/addons/EGThemeReference/Element/tree.gd.uid new file mode 100644 index 0000000..ac2d3f6 --- /dev/null +++ b/addons/EGThemeReference/Element/tree.gd.uid @@ -0,0 +1 @@ +uid://otlnxk1i66l4 diff --git a/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Bold.otf.import b/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Bold.otf.import index 8da2dae..b73df1d 100644 --- a/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Bold.otf.import +++ b/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Bold.otf.import @@ -23,6 +23,7 @@ allow_system_fallback=true force_autohinter=false hinting=1 subpixel_positioning=1 +keep_rounding_remainders=true oversampling=0.0 Fallbacks=null fallbacks=[] diff --git a/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-ExtraLight.otf.import b/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-ExtraLight.otf.import index 70726aa..ccf7bbd 100644 --- a/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-ExtraLight.otf.import +++ b/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-ExtraLight.otf.import @@ -23,6 +23,7 @@ allow_system_fallback=true force_autohinter=false hinting=1 subpixel_positioning=1 +keep_rounding_remainders=true oversampling=0.0 Fallbacks=null fallbacks=[] diff --git a/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Heavy.otf.import b/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Heavy.otf.import index c74e411..e7c0e20 100644 --- a/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Heavy.otf.import +++ b/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Heavy.otf.import @@ -23,6 +23,7 @@ allow_system_fallback=true force_autohinter=false hinting=1 subpixel_positioning=1 +keep_rounding_remainders=true oversampling=0.0 Fallbacks=null fallbacks=[] diff --git a/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Light.otf.import b/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Light.otf.import index fcee0d5..91705e5 100644 --- a/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Light.otf.import +++ b/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Light.otf.import @@ -23,6 +23,7 @@ allow_system_fallback=true force_autohinter=false hinting=1 subpixel_positioning=1 +keep_rounding_remainders=true oversampling=0.0 Fallbacks=null fallbacks=[] diff --git a/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Medium.otf.import b/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Medium.otf.import index 8481ff8..d1fd114 100644 --- a/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Medium.otf.import +++ b/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Medium.otf.import @@ -23,6 +23,7 @@ allow_system_fallback=true force_autohinter=false hinting=1 subpixel_positioning=1 +keep_rounding_remainders=true oversampling=0.0 Fallbacks=null fallbacks=[] diff --git a/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Normal.otf.import b/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Normal.otf.import index 35b55d8..4c47b23 100644 --- a/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Normal.otf.import +++ b/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Normal.otf.import @@ -23,6 +23,7 @@ allow_system_fallback=true force_autohinter=false hinting=1 subpixel_positioning=1 +keep_rounding_remainders=true oversampling=0.0 Fallbacks=null fallbacks=[] diff --git a/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Regular.otf.import b/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Regular.otf.import index bdc84a4..87be455 100644 --- a/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Regular.otf.import +++ b/addons/EGThemeReference/Font/SourceHanSansCN/SubsetOTF/CN/SourceHanSansCN-Regular.otf.import @@ -23,6 +23,7 @@ allow_system_fallback=true force_autohinter=false hinting=1 subpixel_positioning=1 +keep_rounding_remainders=true oversampling=0.0 Fallbacks=null fallbacks=[] diff --git a/addons/EGThemeReference/Sci-Fi/ThemeReview.tscn b/addons/EGThemeReference/Sci-Fi/ThemeReview.tscn index 202c59a..4651b5f 100644 --- a/addons/EGThemeReference/Sci-Fi/ThemeReview.tscn +++ b/addons/EGThemeReference/Sci-Fi/ThemeReview.tscn @@ -1,9 +1,9 @@ [gd_scene load_steps=6 format=3 uid="uid://bva8mf6jlphio"] -[ext_resource type="Script" path="res://addons/EGThemeReference/Script/TestUI.cs" id="1_5akvl"] +[ext_resource type="Script" uid="uid://bxljyuxwa1u2k" path="res://addons/EGThemeReference/Script/TestUI.cs" id="1_5akvl"] [ext_resource type="Theme" uid="uid://ds3kscikob0ek" path="res://addons/EGThemeReference/Sci-Fi/Theme/SciFiThemeDefault.tres" id="1_c132w"] [ext_resource type="Texture2D" uid="uid://brwp8bimc75uu" path="res://addons/EGThemeReference/icon.webp" id="2_jfq04"] -[ext_resource type="Script" path="res://addons/EGThemeReference/Element/tree.gd" id="3_5aotb"] +[ext_resource type="Script" uid="uid://otlnxk1i66l4" path="res://addons/EGThemeReference/Element/tree.gd" id="3_5aotb"] [sub_resource type="ButtonGroup" id="ButtonGroup_wonbs"] @@ -458,6 +458,7 @@ text = "MenuButton" flat = false item_count = 8 popup/item_0/text = "Action Item" +popup/item_0/id = 0 popup/item_1/text = "Separator" popup/item_1/id = 1 popup/item_1/separator = true diff --git a/addons/EGThemeReference/Script/TestUI.cs.uid b/addons/EGThemeReference/Script/TestUI.cs.uid new file mode 100644 index 0000000..7b59ca3 --- /dev/null +++ b/addons/EGThemeReference/Script/TestUI.cs.uid @@ -0,0 +1 @@ +uid://bxljyuxwa1u2k diff --git a/project.godot b/project.godot index 7811e8c..0d15976 100644 --- a/project.godot +++ b/project.godot @@ -14,8 +14,8 @@ config/name="ThemeReference" config/description="Showcases various Control nodes with their names affixed for easy recognition." config/version="v1.0s" config/tags=PackedStringArray("demo", "gui", "official") -run/main_scene="res://addons/EGThemeReference/Sci-Fi/ThemeReview.tscn" -config/features=PackedStringArray("4.3", "C#") +run/main_scene="uid://dy11txudwdmgy" +config/features=PackedStringArray("4.4", "C#") run/low_processor_mode=true config/icon="res://addons/EGThemeReference/icon.webp"