From 86531273dfb61563fca86490118e5a0bb4d02ec7 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 29 Nov 2020 15:39:58 +0100 Subject: [PATCH] Added an icon. --- addons/draw_gd/icons/icon_copy.png | Bin 0 -> 248 bytes addons/draw_gd/icons/icon_copy.png.import | 34 ++++++++++++++++++++++ addons/draw_gd/plugin.gd | 5 ++-- 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 addons/draw_gd/icons/icon_copy.png create mode 100644 addons/draw_gd/icons/icon_copy.png.import diff --git a/addons/draw_gd/icons/icon_copy.png b/addons/draw_gd/icons/icon_copy.png new file mode 100644 index 0000000000000000000000000000000000000000..d777f132d87ff6cfbf0497ea001a801267624df5 GIT binary patch literal 248 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`Y)RhkE)4%caKYZ?lYt^@JzX3_ zEP9ttbmTi^z{7I9qy5Hx2boi=AB62VxOxRkZTsKJ1q(a^MV*ws3FS_nnT~gVdk;>zwAeiO3b(|L=&QV@nj3)*XYh3Ob6Mw<&;$U0z+?mf literal 0 HcmV?d00001 diff --git a/addons/draw_gd/icons/icon_copy.png.import b/addons/draw_gd/icons/icon_copy.png.import new file mode 100644 index 0000000..57457b2 --- /dev/null +++ b/addons/draw_gd/icons/icon_copy.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/icon_copy.png-afe40d7291d0eeb3bd9fd486239d0837.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://addons/draw_gd/icons/icon_copy.png" +dest_files=[ "res://.import/icon_copy.png-afe40d7291d0eeb3bd9fd486239d0837.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0 diff --git a/addons/draw_gd/plugin.gd b/addons/draw_gd/plugin.gd index f6ce00c..827372d 100644 --- a/addons/draw_gd/plugin.gd +++ b/addons/draw_gd/plugin.gd @@ -1,12 +1,13 @@ tool extends EditorPlugin +const _icon : Texture = preload("res://addons/draw_gd/icons/icon_copy.png") + func has_main_screen(): return true func get_plugin_icon(): - - return null + return _icon func get_plugin_name(): return "DrawGD"