field icon
This commit is contained in:
@@ -9,6 +9,7 @@ public partial class SharpIdeCodeEdit
|
||||
private readonly Texture2D _csharpClassIcon = ResourceLoader.Load<Texture2D>("uid://b027uufaewitj");
|
||||
private readonly Texture2D _csharpInterfaceIcon = ResourceLoader.Load<Texture2D>("uid://bdwmkdweqvowt");
|
||||
private readonly Texture2D _localVariableIcon = ResourceLoader.Load<Texture2D>("uid://vwvkxlnvqqk3");
|
||||
private readonly Texture2D _fieldIcon = ResourceLoader.Load<Texture2D>("uid://c4y7d5m4upfju");
|
||||
|
||||
private Texture2D? GetIconForCompletion(SymbolKind? symbolKind, TypeKind? typeKind, Accessibility? accessibility)
|
||||
{
|
||||
@@ -18,8 +19,8 @@ public partial class SharpIdeCodeEdit
|
||||
(_, TypeKind.Interface, _) => _csharpInterfaceIcon,
|
||||
(SymbolKind.NamedType, _, _) => _csharpClassIcon,
|
||||
(SymbolKind.Local, _, _) => _localVariableIcon,
|
||||
(SymbolKind.Field, _, _) => _fieldIcon,
|
||||
//SymbolKind.Property => ,
|
||||
//SymbolKind.Field => ,
|
||||
_ => null
|
||||
};
|
||||
return texture;
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
<?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="field-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" /><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="-10.968295"
|
||||
inkscape:cy="324.25022"
|
||||
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
|
||||
id="path2"
|
||||
style="display:inline;fill:#25324d;fill-opacity:1;stroke-width:29.5991;stroke-linecap:round;stroke-linejoin:round"
|
||||
d="M 264.57199,67.293899 C 262.03705,67.282939 55.923952,167.66764 54.640102,169.3356 c -1.28386,1.66796 -13.68889,185.1791 -12.4378,186.85802 1.25108,1.67893 192.350318,89.14865 194.885248,89.15962 2.53493,0.0109 241.20535,-127.64804 242.4892,-129.316 1.28385,-1.66797 4.83234,-169.65353 3.58125,-171.33246 -1.25108,-1.67892 -216.05108,-77.399925 -218.58601,-77.410881 z"
|
||||
sodipodi:nodetypes="sssssss" /><path
|
||||
style="display:inline;fill:#548af7;fill-opacity:1;stroke:#548af7;stroke-width:22.4948;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 33.106462,157.82655 294.15012,55.725063 c 0.4362,-0.175851 0.88154,-0.130175 1.32687,-0.231803 0.68742,-0.166715 1.35655,-0.371112 2.07138,-0.371112 0.74222,0 1.4205,0.204397 2.12504,0.380248 0.41793,0.10163 0.83586,0.06509 1.24351,0.222667 l 0.35284,0.139309 v 0 l 190.96705,76.306058 c 4.34372,1.70826 6.51558,6.3112 5.4856,10.73028 0.25008,0.83586 0.4088,1.70826 0.4088,2.60806 v 176.08944 c 0,3.42451 -1.89324,6.58068 -4.9101,8.19644 l -261.0528,139.22869 c -0.42706,0.22267 -0.88153,0.35284 -1.32686,0.51042 -0.23181,0.0833 -0.45447,0.19526 -0.69655,0.26035 -0.77077,0.19527 -1.55981,0.31516 -2.34886,0.31516 -0.78903,0 -1.57808,-0.12104 -2.34885,-0.31516 -0.24094,-0.0651 -0.4636,-0.18613 -0.69655,-0.26035 -0.44533,-0.15758 -0.8998,-0.27861 -1.32687,-0.51042 L 32.103882,355.45077 c -3.02598,-1.61462 -4.91009,-4.77079 -4.91009,-8.19644 V 171.16376 c 0,-0.89982 0.16671,-1.76308 0.4088,-2.60807 -1.02086,-4.40881 1.15101,-9.02202 5.50387,-10.72914 z M 227.80518,255.95287 470.69404,143.67948 297.52895,74.344612 54.640102,169.3356 Z m 251.77157,-95.9182 -242.4892,112.07928 v 173.23929 l 242.4892,-129.316 z M 45.767662,341.69336 218.52396,445.35324 V 272.1128 L 45.767662,185.68965 Z"
|
||||
id="path1"
|
||||
sodipodi:nodetypes="cccsccccccssccccsccccssccccccccccccccccc" /></g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
@@ -0,0 +1,43 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://c4y7d5m4upfju"
|
||||
path="res://.godot/imported/field-icon.svg-2bce0f4da4cb9983d05585335634c4c1.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Features/Completions/Resources/field-icon.svg"
|
||||
dest_files=["res://.godot/imported/field-icon.svg-2bce0f4da4cb9983d05585335634c4c1.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