diff --git a/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/CsharpFile.svg b/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/CsharpFile.svg new file mode 100644 index 0000000..6421726 --- /dev/null +++ b/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/CsharpFile.svg @@ -0,0 +1,9 @@ + + diff --git a/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/CsharpFile.svg.import b/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/CsharpFile.svg.import new file mode 100644 index 0000000..f81dab4 --- /dev/null +++ b/src/SharpIDE.Godot/Features/SolutionExplorer/Resources/CsharpFile.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://do0edciarrnp0" +path="res://.godot/imported/CsharpFile.svg-cfa3d8622450f1c4df9b9b2b1df7e442.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Features/SolutionExplorer/Resources/CsharpFile.svg" +dest_files=["res://.godot/imported/CsharpFile.svg-cfa3d8622450f1c4df9b9b2b1df7e442.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/src/SharpIDE.Godot/Features/SolutionExplorer/SolutionExplorerPanel.cs b/src/SharpIDE.Godot/Features/SolutionExplorer/SolutionExplorerPanel.cs index cf76f30..e0345a8 100644 --- a/src/SharpIDE.Godot/Features/SolutionExplorer/SolutionExplorerPanel.cs +++ b/src/SharpIDE.Godot/Features/SolutionExplorer/SolutionExplorerPanel.cs @@ -10,6 +10,9 @@ public partial class SolutionExplorerPanel : Panel [Signal] public delegate void FileSelectedEventHandler(SharpIdeFileGodotContainer file); + [Export] + public Texture2D CsharpFileIcon { get; set; } = null!; + public SharpIdeSolutionModel SolutionModel { get; set; } = null!; private Tree _tree = null!; public override void _Ready()