From d15869d576017ac8787497c4a0a46321d8fa9b18 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Fri, 12 Sep 2025 20:04:34 +1000 Subject: [PATCH] add error icon --- .../Features/Problems/ProblemsPanel.tscn | 5 ++- .../Features/Problems/Resources/Error.svg | 5 +++ .../Problems/Resources/Error.svg.import | 37 +++++++++++++++++++ 3 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 src/SharpIDE.Godot/Features/Problems/Resources/Error.svg create mode 100644 src/SharpIDE.Godot/Features/Problems/Resources/Error.svg.import diff --git a/src/SharpIDE.Godot/Features/Problems/ProblemsPanel.tscn b/src/SharpIDE.Godot/Features/Problems/ProblemsPanel.tscn index efe4d30..cfb6f0f 100644 --- a/src/SharpIDE.Godot/Features/Problems/ProblemsPanel.tscn +++ b/src/SharpIDE.Godot/Features/Problems/ProblemsPanel.tscn @@ -1,7 +1,8 @@ -[gd_scene load_steps=3 format=3 uid="uid://tqpmww430cor"] +[gd_scene load_steps=4 format=3 uid="uid://tqpmww430cor"] [ext_resource type="Script" uid="uid://b1r3no4u3khik" path="res://Features/Problems/ProblemsPanel.cs" id="1_bnenc"] [ext_resource type="Texture2D" uid="uid://pd3h5qfjn8pb" path="res://Features/Problems/Resources/Warning.svg" id="2_xj8le"] +[ext_resource type="Texture2D" uid="uid://rvuk8jybyu6m" path="res://Features/Problems/Resources/Error.svg" id="3_sap6e"] [node name="ProblemsPanel" type="Control"] layout_mode = 3 @@ -12,7 +13,7 @@ grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_bnenc") WarningIcon = ExtResource("2_xj8le") -ErrorIcon = ExtResource("2_xj8le") +ErrorIcon = ExtResource("3_sap6e") [node name="ScrollContainer" type="ScrollContainer" parent="."] layout_mode = 1 diff --git a/src/SharpIDE.Godot/Features/Problems/Resources/Error.svg b/src/SharpIDE.Godot/Features/Problems/Resources/Error.svg new file mode 100644 index 0000000..113e52f --- /dev/null +++ b/src/SharpIDE.Godot/Features/Problems/Resources/Error.svg @@ -0,0 +1,5 @@ + + \ No newline at end of file diff --git a/src/SharpIDE.Godot/Features/Problems/Resources/Error.svg.import b/src/SharpIDE.Godot/Features/Problems/Resources/Error.svg.import new file mode 100644 index 0000000..35369e9 --- /dev/null +++ b/src/SharpIDE.Godot/Features/Problems/Resources/Error.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://rvuk8jybyu6m" +path="res://.godot/imported/Error.svg-6a9f83ecf1a3696ebb66f7b40daa2af4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Features/Problems/Resources/Error.svg" +dest_files=["res://.godot/imported/Error.svg-6a9f83ecf1a3696ebb66f7b40daa2af4.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