From b7d9c25f4debdbfa25050fe1d0c523445ddc43a9 Mon Sep 17 00:00:00 2001 From: jkpete <1031139173@qq.com> Date: Sat, 15 Feb 2025 15:57:58 +0800 Subject: [PATCH] add panelSVG --- .../PanelAura/PanelPlusSoftShadow.tres | 14 +++++++ .../StyleBox/Panel/Texture/PanelAura/Plus.svg | 11 ++++++ .../Panel/Texture/PanelAura/Plus.svg.import | 37 +++++++++++++++++++ .../Sci-Fi/Theme/SciFiThemeDefault.tres | 5 ++- 4 files changed, 65 insertions(+), 2 deletions(-) create mode 100644 addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/PanelPlusSoftShadow.tres create mode 100644 addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/Plus.svg create mode 100644 addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/Plus.svg.import diff --git a/addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/PanelPlusSoftShadow.tres b/addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/PanelPlusSoftShadow.tres new file mode 100644 index 0000000..5c61053 --- /dev/null +++ b/addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/PanelPlusSoftShadow.tres @@ -0,0 +1,14 @@ +[gd_resource type="StyleBoxTexture" load_steps=2 format=3 uid="uid://q23jn2d3y51w"] + +[ext_resource type="Texture2D" uid="uid://bnjrsojgw7oh" path="res://addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/Plus.svg" id="1_8lq1o"] + +[resource] +content_margin_left = 24.0 +content_margin_top = 24.0 +content_margin_right = 24.0 +content_margin_bottom = 24.0 +texture = ExtResource("1_8lq1o") +texture_margin_left = 80.0 +texture_margin_top = 80.0 +texture_margin_right = 80.0 +texture_margin_bottom = 80.0 diff --git a/addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/Plus.svg b/addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/Plus.svg new file mode 100644 index 0000000..b66ac01 --- /dev/null +++ b/addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/Plus.svg @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file diff --git a/addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/Plus.svg.import b/addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/Plus.svg.import new file mode 100644 index 0000000..23566c6 --- /dev/null +++ b/addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/Plus.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bnjrsojgw7oh" +path="res://.godot/imported/Plus.svg-c37761716013d73ac5fbae46c83fbc45.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/Plus.svg" +dest_files=["res://.godot/imported/Plus.svg-c37761716013d73ac5fbae46c83fbc45.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/addons/EGThemeReference/Sci-Fi/Theme/SciFiThemeDefault.tres b/addons/EGThemeReference/Sci-Fi/Theme/SciFiThemeDefault.tres index f973570..a7bdc6b 100644 --- a/addons/EGThemeReference/Sci-Fi/Theme/SciFiThemeDefault.tres +++ b/addons/EGThemeReference/Sci-Fi/Theme/SciFiThemeDefault.tres @@ -1,11 +1,12 @@ -[gd_resource type="Theme" load_steps=4 format=3 uid="uid://ds3kscikob0ek"] +[gd_resource type="Theme" load_steps=5 format=3 uid="uid://ds3kscikob0ek"] [ext_resource type="StyleBox" uid="uid://s1lcxl3yrv0g" path="res://addons/EGThemeReference/Sci-Fi/StyleBox/Line/HSepatator.tres" id="1_3nts4"] [ext_resource type="StyleBox" uid="uid://cojbdvxmsqdr4" path="res://addons/EGThemeReference/Sci-Fi/StyleBox/Panel/PanelSoftShadow.tres" id="1_t2mko"] [ext_resource type="StyleBox" uid="uid://cacfnl6i85fn5" path="res://addons/EGThemeReference/Sci-Fi/StyleBox/Line/VSepatator.tres" id="3_1hnl6"] +[ext_resource type="StyleBox" uid="uid://q23jn2d3y51w" path="res://addons/EGThemeReference/Sci-Fi/StyleBox/Panel/Texture/PanelAura/PanelPlusSoftShadow.tres" id="3_15p8f"] [resource] HSeparator/styles/separator = ExtResource("1_3nts4") Panel/styles/panel = ExtResource("1_t2mko") -PanelContainer/styles/panel = ExtResource("1_t2mko") +PanelContainer/styles/panel = ExtResource("3_15p8f") VSeparator/styles/separator = ExtResource("3_1hnl6")