more icons
This commit is contained in:
@@ -9,13 +9,12 @@
|
|||||||
id="svg1"
|
id="svg1"
|
||||||
sodipodi:docname="FolderIcon.svg"
|
sodipodi:docname="FolderIcon.svg"
|
||||||
inkscape:version="1.4.2 (f4327f4, 2025-05-13)"
|
inkscape:version="1.4.2 (f4327f4, 2025-05-13)"
|
||||||
|
xml:space="preserve"
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
xmlns:svg="http://www.w3.org/2000/svg">
|
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||||
<defs
|
id="defs1" /><sodipodi:namedview
|
||||||
id="defs1" />
|
|
||||||
<sodipodi:namedview
|
|
||||||
id="namedview1"
|
id="namedview1"
|
||||||
pagecolor="#505050"
|
pagecolor="#505050"
|
||||||
bordercolor="#eeeeee"
|
bordercolor="#eeeeee"
|
||||||
@@ -25,22 +24,18 @@
|
|||||||
inkscape:pagecheckerboard="0"
|
inkscape:pagecheckerboard="0"
|
||||||
inkscape:deskcolor="#505050"
|
inkscape:deskcolor="#505050"
|
||||||
inkscape:zoom="17.191534"
|
inkscape:zoom="17.191534"
|
||||||
inkscape:cx="10.121261"
|
inkscape:cx="10.150345"
|
||||||
inkscape:cy="11.953558"
|
inkscape:cy="11.953558"
|
||||||
inkscape:window-width="2560"
|
inkscape:window-width="2560"
|
||||||
inkscape:window-height="1369"
|
inkscape:window-height="1369"
|
||||||
inkscape:window-x="-8"
|
inkscape:window-x="-8"
|
||||||
inkscape:window-y="-8"
|
inkscape:window-y="-8"
|
||||||
inkscape:window-maximized="1"
|
inkscape:window-maximized="1"
|
||||||
inkscape:current-layer="svg1" />
|
inkscape:current-layer="svg1" /><!-- background (transparent) --><rect
|
||||||
<!-- background (transparent) -->
|
|
||||||
<rect
|
|
||||||
width="24"
|
width="24"
|
||||||
height="24"
|
height="24"
|
||||||
fill="none"
|
fill="none"
|
||||||
id="rect1" />
|
id="rect1" /><!-- folder body (filled) --><path
|
||||||
<!-- folder body (filled) -->
|
|
||||||
<path
|
|
||||||
d="m 5.0012855,5.50003 h 5.1999995 l 1.300001,2.2 h 7.497428 c 0.662742,0 1.2,0.5372583 1.2,1.2 v 8.4 c 0,0.662742 -0.537258,1.2 -1.2,1.2 H 5.0012855 c -0.6627417,0 -1.2,-0.537258 -1.2,-1.2 V 6.6511868 c 0,-0.735197 0.4874158,-1.1571115 1.2,-1.1511568 z"
|
d="m 5.0012855,5.50003 h 5.1999995 l 1.300001,2.2 h 7.497428 c 0.662742,0 1.2,0.5372583 1.2,1.2 v 8.4 c 0,0.662742 -0.537258,1.2 -1.2,1.2 H 5.0012855 c -0.6627417,0 -1.2,-0.537258 -1.2,-1.2 V 6.6511868 c 0,-0.735197 0.4874158,-1.1571115 1.2,-1.1511568 z"
|
||||||
fill="#4b4d50"
|
fill="#4b4d50"
|
||||||
stroke="#dfe5e9"
|
stroke="#dfe5e9"
|
||||||
@@ -49,5 +44,4 @@
|
|||||||
filter="url(#glow)"
|
filter="url(#glow)"
|
||||||
id="path1"
|
id="path1"
|
||||||
sodipodi:nodetypes="cccsssssscc"
|
sodipodi:nodetypes="cccsssssscc"
|
||||||
style="stroke-width:0.9;stroke-dasharray:none" />
|
style="stroke-width:0.9;stroke-dasharray:none" /></svg>
|
||||||
</svg>
|
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -1,6 +1,5 @@
|
|||||||
<svg xmlns="http://www.w3.org/2000/svg"
|
<svg xmlns="http://www.w3.org/2000/svg"
|
||||||
viewBox="0 0 24 24">
|
viewBox="0 0 24 24">
|
||||||
<image href="CsharpFile.svg" x="0" y="0" width="10" height="10" />
|
|
||||||
<!-- Outer equilateral triangle -->
|
<!-- Outer equilateral triangle -->
|
||||||
<polygon points="12,4 22,20 2,20"
|
<polygon points="12,4 22,20 2,20"
|
||||||
fill="#9333ea"/>
|
fill="#9333ea"/>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 372 B After Width: | Height: | Size: 301 B |
@@ -0,0 +1,58 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
width="24"
|
||||||
|
height="24"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
role="img"
|
||||||
|
aria-label="folder icon"
|
||||||
|
version="1.1"
|
||||||
|
id="svg1"
|
||||||
|
sodipodi:docname="SlnFolderIcon.svg"
|
||||||
|
inkscape:version="1.4.2 (f4327f4, 2025-05-13)"
|
||||||
|
xml:space="preserve"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"><defs
|
||||||
|
id="defs1" /><sodipodi:namedview
|
||||||
|
id="namedview1"
|
||||||
|
pagecolor="#505050"
|
||||||
|
bordercolor="#eeeeee"
|
||||||
|
borderopacity="1"
|
||||||
|
inkscape:showpageshadow="0"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pagecheckerboard="0"
|
||||||
|
inkscape:deskcolor="#505050"
|
||||||
|
inkscape:zoom="17.191534"
|
||||||
|
inkscape:cx="10.121261"
|
||||||
|
inkscape:cy="11.953558"
|
||||||
|
inkscape:window-width="2560"
|
||||||
|
inkscape:window-height="1369"
|
||||||
|
inkscape:window-x="-8"
|
||||||
|
inkscape:window-y="-8"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="svg1" /><!-- background (transparent) --><rect
|
||||||
|
width="24"
|
||||||
|
height="24"
|
||||||
|
fill="none"
|
||||||
|
id="rect1" /><!-- folder body (filled) --><path
|
||||||
|
d="m 5.0012855,5.50003 h 5.1999995 l 1.300001,2.2 h 7.497428 c 0.662742,0 1.2,0.5372583 1.2,1.2 v 8.4 c 0,0.662742 -0.537258,1.2 -1.2,1.2 H 5.0012855 c -0.6627417,0 -1.2,-0.537258 -1.2,-1.2 V 6.6511868 c 0,-0.735197 0.4874158,-1.1571115 1.2,-1.1511568 z"
|
||||||
|
fill="#4b4d50"
|
||||||
|
stroke="#dfe5e9"
|
||||||
|
stroke-width="0.8"
|
||||||
|
stroke-linejoin="round"
|
||||||
|
filter="url(#glow)"
|
||||||
|
id="path1"
|
||||||
|
sodipodi:nodetypes="cccsssssscc"
|
||||||
|
style="stroke-width:0.9;stroke-dasharray:none" /><g
|
||||||
|
inkscape:groupmode="layer"
|
||||||
|
id="layer1"
|
||||||
|
inkscape:label="Sln"><g
|
||||||
|
id="g1"
|
||||||
|
transform="matrix(0.64008447,0,0,0.64008447,7.9104015,7.5473195)"><polygon
|
||||||
|
points="2,20 12,4 22,20 "
|
||||||
|
fill="#9333ea"
|
||||||
|
id="polygon1" /><polygon
|
||||||
|
points="5,18.5 12,7 19,18.5 "
|
||||||
|
fill="#c084fc"
|
||||||
|
id="polygon2" /></g></g></svg>
|
||||||
|
After Width: | Height: | Size: 2.0 KiB |
@@ -0,0 +1,37 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://bbfxltr1fcomt"
|
||||||
|
path="res://.godot/imported/SlnFolderIcon.svg-910fde89fc1aa60f75975300405b0582.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Features/SolutionExplorer/Resources/SlnFolderIcon.svg"
|
||||||
|
dest_files=["res://.godot/imported/SlnFolderIcon.svg-910fde89fc1aa60f75975300405b0582.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
|
||||||
@@ -14,6 +14,8 @@ public partial class SolutionExplorerPanel : Panel
|
|||||||
public Texture2D CsharpFileIcon { get; set; } = null!;
|
public Texture2D CsharpFileIcon { get; set; } = null!;
|
||||||
[Export]
|
[Export]
|
||||||
public Texture2D FolderIcon { get; set; } = null!;
|
public Texture2D FolderIcon { get; set; } = null!;
|
||||||
|
[Export]
|
||||||
|
public Texture2D SlnFolderIcon { get; set; } = null!;
|
||||||
|
|
||||||
public SharpIdeSolutionModel SolutionModel { get; set; } = null!;
|
public SharpIdeSolutionModel SolutionModel { get; set; } = null!;
|
||||||
private Tree _tree = null!;
|
private Tree _tree = null!;
|
||||||
@@ -58,6 +60,7 @@ public partial class SolutionExplorerPanel : Panel
|
|||||||
{
|
{
|
||||||
var folderItem = _tree.CreateItem(parent);
|
var folderItem = _tree.CreateItem(parent);
|
||||||
folderItem.SetText(0, folder.Name);
|
folderItem.SetText(0, folder.Name);
|
||||||
|
folderItem.SetIcon(0, SlnFolderIcon);
|
||||||
|
|
||||||
foreach (var project in folder.Projects)
|
foreach (var project in folder.Projects)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,8 +1,9 @@
|
|||||||
[gd_scene load_steps=4 format=3 uid="uid://cy1bb32g7j7dr"]
|
[gd_scene load_steps=5 format=3 uid="uid://cy1bb32g7j7dr"]
|
||||||
|
|
||||||
[ext_resource type="Script" uid="uid://bai53k7ongbxw" path="res://Features/SolutionExplorer/SolutionExplorerPanel.cs" id="1_gjy0r"]
|
[ext_resource type="Script" uid="uid://bai53k7ongbxw" path="res://Features/SolutionExplorer/SolutionExplorerPanel.cs" id="1_gjy0r"]
|
||||||
[ext_resource type="Texture2D" uid="uid://do0edciarrnp0" path="res://Features/SolutionExplorer/Resources/CsharpFile.svg" id="2_8ymw0"]
|
[ext_resource type="Texture2D" uid="uid://do0edciarrnp0" path="res://Features/SolutionExplorer/Resources/CsharpFile.svg" id="2_8ymw0"]
|
||||||
[ext_resource type="Texture2D" uid="uid://xc8srvqwlwng" path="res://Features/SolutionExplorer/Resources/FolderIcon.svg" id="3_r1qfc"]
|
[ext_resource type="Texture2D" uid="uid://xc8srvqwlwng" path="res://Features/SolutionExplorer/Resources/FolderIcon.svg" id="3_r1qfc"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://bbfxltr1fcomt" path="res://Features/SolutionExplorer/Resources/SlnFolderIcon.svg" id="4_8ymw0"]
|
||||||
|
|
||||||
[node name="SolutionExplorerPanel" type="Panel"]
|
[node name="SolutionExplorerPanel" type="Panel"]
|
||||||
anchors_preset = 15
|
anchors_preset = 15
|
||||||
@@ -13,6 +14,7 @@ grow_vertical = 2
|
|||||||
script = ExtResource("1_gjy0r")
|
script = ExtResource("1_gjy0r")
|
||||||
CsharpFileIcon = ExtResource("2_8ymw0")
|
CsharpFileIcon = ExtResource("2_8ymw0")
|
||||||
FolderIcon = ExtResource("3_r1qfc")
|
FolderIcon = ExtResource("3_r1qfc")
|
||||||
|
SlnFolderIcon = ExtResource("4_8ymw0")
|
||||||
|
|
||||||
[node name="Tree" type="Tree" parent="."]
|
[node name="Tree" type="Tree" parent="."]
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user