event icon
This commit is contained in:
@@ -13,6 +13,9 @@ public partial class SharpIdeCodeEdit
|
|||||||
private readonly Texture2D _propertyIcon = ResourceLoader.Load<Texture2D>("uid://y5pwrwwrjqmc");
|
private readonly Texture2D _propertyIcon = ResourceLoader.Load<Texture2D>("uid://y5pwrwwrjqmc");
|
||||||
private readonly Texture2D _keywordIcon = ResourceLoader.Load<Texture2D>("uid://b0ujhoq2xg2v0");
|
private readonly Texture2D _keywordIcon = ResourceLoader.Load<Texture2D>("uid://b0ujhoq2xg2v0");
|
||||||
private readonly Texture2D _namespaceIcon = ResourceLoader.Load<Texture2D>("uid://bob5blfjll4h3");
|
private readonly Texture2D _namespaceIcon = ResourceLoader.Load<Texture2D>("uid://bob5blfjll4h3");
|
||||||
|
private readonly Texture2D _eventIcon = ResourceLoader.Load<Texture2D>("uid://c3upo3lxmgtls");
|
||||||
|
// delegate
|
||||||
|
// enum
|
||||||
|
|
||||||
private Texture2D? GetIconForCompletion(SymbolKind? symbolKind, TypeKind? typeKind, Accessibility? accessibility, bool isKeyword)
|
private Texture2D? GetIconForCompletion(SymbolKind? symbolKind, TypeKind? typeKind, Accessibility? accessibility, bool isKeyword)
|
||||||
{
|
{
|
||||||
@@ -26,6 +29,7 @@ public partial class SharpIdeCodeEdit
|
|||||||
(SymbolKind.Field, _, _) => _fieldIcon,
|
(SymbolKind.Field, _, _) => _fieldIcon,
|
||||||
(SymbolKind.Property, _, _) => _propertyIcon,
|
(SymbolKind.Property, _, _) => _propertyIcon,
|
||||||
(SymbolKind.Namespace, _, _) => _namespaceIcon,
|
(SymbolKind.Namespace, _, _) => _namespaceIcon,
|
||||||
|
(SymbolKind.Event, _, _) => _eventIcon,
|
||||||
_ => null
|
_ => null
|
||||||
};
|
};
|
||||||
return texture;
|
return texture;
|
||||||
|
|||||||
@@ -0,0 +1,49 @@
|
|||||||
|
<?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="event-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.72937499"
|
||||||
|
inkscape:cx="115.1671"
|
||||||
|
inkscape:cy="268.03771"
|
||||||
|
inkscape:window-width="2560"
|
||||||
|
inkscape:window-height="1369"
|
||||||
|
inkscape:window-x="-8"
|
||||||
|
inkscape:window-y="-8"
|
||||||
|
inkscape:window-maximized="1"
|
||||||
|
inkscape:current-layer="g1" />
|
||||||
|
<g
|
||||||
|
id="g1"
|
||||||
|
transform="matrix(1.0007541,0,0,0.96334492,-0.19807395,9.6729914)">
|
||||||
|
|
||||||
|
<path
|
||||||
|
style="fill:#3d3223;fill-opacity:1;stroke:#b9964e;stroke-width:26.7512;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="M 284.90822,228.97025 284.68993,27.436244 115.71677,263.01277 l 121.88018,1.05522 -7.38802,233.72764 179.3992,-267.16358 z"
|
||||||
|
id="path1"
|
||||||
|
sodipodi:nodetypes="ccccccc" /></g>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.6 KiB |
@@ -0,0 +1,43 @@
|
|||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://c3upo3lxmgtls"
|
||||||
|
path="res://.godot/imported/event-icon.svg-8e71c4d46d93b1117a9e34d4c1895e4f.ctex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://Features/Completions/Resources/event-icon.svg"
|
||||||
|
dest_files=["res://.godot/imported/event-icon.svg-8e71c4d46d93b1117a9e34d4c1895e4f.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