add delegate icon
This commit is contained in:
@@ -15,6 +15,7 @@ public partial class SharpIdeCodeEdit
|
||||
private readonly Texture2D _namespaceIcon = ResourceLoader.Load<Texture2D>("uid://bob5blfjll4h3");
|
||||
private readonly Texture2D _eventIcon = ResourceLoader.Load<Texture2D>("uid://c3upo3lxmgtls");
|
||||
private readonly Texture2D _enumIcon = ResourceLoader.Load<Texture2D>("uid://8mdxo65qepqv");
|
||||
private readonly Texture2D _delegateIcon = ResourceLoader.Load<Texture2D>("uid://c83pv25rdescy");
|
||||
// delegate
|
||||
|
||||
private Texture2D? GetIconForCompletion(SymbolKind? symbolKind, TypeKind? typeKind, Accessibility? accessibility, bool isKeyword)
|
||||
@@ -25,6 +26,7 @@ public partial class SharpIdeCodeEdit
|
||||
(SymbolKind.Method, _, _) => _csharpMethodIcon,
|
||||
(_, TypeKind.Interface, _) => _csharpInterfaceIcon,
|
||||
(_, TypeKind.Enum, _) => _enumIcon,
|
||||
(_, TypeKind.Delegate, _) => _delegateIcon,
|
||||
(SymbolKind.NamedType, _, _) => _csharpClassIcon,
|
||||
(SymbolKind.Local, _, _) => _localVariableIcon,
|
||||
(SymbolKind.Field, _, _) => _fieldIcon,
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
||||
|
||||
<svg
|
||||
height="800px"
|
||||
width="800px"
|
||||
version="1.1"
|
||||
id="Capa_1"
|
||||
viewBox="0 0 525.325 525.325"
|
||||
xml:space="preserve"
|
||||
sodipodi:docname="delegate-icon.svg"
|
||||
inkscape:version="1.4.2 (f4327f4, 2025-05-13)"
|
||||
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"><rect
|
||||
x="160.93193"
|
||||
y="352.88689"
|
||||
width="989.26245"
|
||||
height="823.56879"
|
||||
id="rect1" /></defs><sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
inkscape:zoom="0.3646875"
|
||||
inkscape:cx="-375.6641"
|
||||
inkscape:cy="486.71808"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1369"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g2" />
|
||||
<g
|
||||
id="g1"
|
||||
transform="matrix(1.0007541,0,0,0.96334492,-0.19807395,9.6729914)">
|
||||
|
||||
<g
|
||||
id="g2"
|
||||
transform="matrix(1.1480486,0,0,1.1926304,89.135649,-53.574712)"><rect
|
||||
style="fill:#322936;fill-opacity:1;stroke:#b868d3;stroke-width:37.1504;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1;paint-order:normal"
|
||||
id="rect2"
|
||||
width="389.70172"
|
||||
height="267.66989"
|
||||
x="-43.701466"
|
||||
y="161.60562"
|
||||
ry="0.057294738" /><path
|
||||
style="display:none;fill:none;fill-opacity:1;stroke:#b868d3;stroke-width:34.2927;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 47.065955,177.4592 c 0,0 95.444095,-173.7322889 208.166875,0"
|
||||
id="path1" /><path
|
||||
style="fill:none;fill-opacity:1;stroke:#b868d3;stroke-width:34.2927;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m -41.537359,207.75881 c 0,0 188.192499,147.75674 385.373499,0"
|
||||
id="path2" /><path
|
||||
style="fill:none;fill-opacity:1;stroke:#b868d3;stroke-width:34.2927;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 225.67523,161.60562 C 241.94045,100.903 199.63274,99.744695 199.63274,99.744695 h -84.77659 c 0,0 -56.308924,-5.60086 -38.23259,61.860925"
|
||||
id="path3"
|
||||
sodipodi:nodetypes="cccc" /><path
|
||||
style="fill:none;fill-opacity:1;stroke:#b868d3;stroke-width:57.1545;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 127.24931,287.64574 h 47.80017"
|
||||
id="path4" /></g></g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c83pv25rdescy"
|
||||
path="res://.godot/imported/delegate-icon.svg-ebcb0bae119c58af821ab5c8c815f2d3.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Features/Completions/Resources/delegate-icon.svg"
|
||||
dest_files=["res://.godot/imported/delegate-icon.svg-ebcb0bae119c58af821ab5c8c815f2d3.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/uastc_level=0
|
||||
compress/rdo_quality_loss=0.0
|
||||
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/channel_remap/red=0
|
||||
process/channel_remap/green=1
|
||||
process/channel_remap/blue=2
|
||||
process/channel_remap/alpha=3
|
||||
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=0.1
|
||||
editor/scale_with_editor_scale=false
|
||||
editor/convert_colors_with_editor_theme=false
|
||||
Reference in New Issue
Block a user