csharp file icon v1

This commit is contained in:
Matt Parker
2025-09-12 20:07:55 +10:00
parent d15869d576
commit c8a9ca7c6d
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" class="mud-icon-root mud-svg-icon mud-error-text mud-icon-size-medium" focusable="false" viewBox="0 0 24 24" aria-hidden="true" role="img" style="fill: rgb(40, 167, 69);">
<path d="M0 0h24v24H0z" fill="none"/>
<text x="50%" y="50%"
text-anchor="middle" dominant-baseline="middle"
font-family="Segoe UI, Roboto, Helvetica, Arial, sans-serif"
font-size="16" font-weight="700"
>C#</text>
</svg>

After

Width:  |  Height:  |  Size: 513 B

View File

@@ -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

View File

@@ -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()