Prechádzať zdrojové kódy

:art: Improve icons

Replace them by standard editor icons with custom color. Scales well,
and more meaningful.
DricomDragon 1 rok pred
rodič
commit
1616496861

+ 3 - 3
godot/addons/slide_show/plugin.gd

@@ -3,9 +3,9 @@ extends EditorPlugin
 
 
 func _enter_tree():
-	add_custom_type("Focus", "Camera2D", preload("res://addons/slide_show/projector/focus/Focus.gd"), preload("res://addons/slide_show/projector/focus/godot_icon_camera2D_green.svg"))
-	add_custom_type("Show", "Node2D", preload("res://addons/slide_show/projector/show/Show.gd"), preload("res://addons/slide_show/projector/show/godot_icon_eye_green.svg"))
-	add_custom_type("Slide", "Node2D", preload("res://addons/slide_show/projector/slide/Slide.gd"), preload("res://addons/slide_show/projector/slide/godot_icon_slide_green.svg"))
+	add_custom_type("Focus", "Camera2D", preload("res://addons/slide_show/projector/focus/Focus.gd"), preload("res://addons/slide_show/projector/focus/CameraTexture_green.svg"))
+	add_custom_type("Show", "Node2D", preload("res://addons/slide_show/projector/show/Show.gd"), preload("res://addons/slide_show/projector/show/MainMovieWrite_green.svg"))
+	add_custom_type("Slide", "Node2D", preload("res://addons/slide_show/projector/slide/Slide.gd"), preload("res://addons/slide_show/projector/slide/Image_green.svg"))
 
 
 func _exit_tree():

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 40 - 0
godot/addons/slide_show/projector/focus/CameraTexture_green.svg


+ 4 - 4
godot/addons/slide_show/projector/show/godot_icon_eye_green.svg.import

@@ -2,16 +2,16 @@
 
 importer="texture"
 type="CompressedTexture2D"
-uid="uid://rumovc860t2x"
-path="res://.godot/imported/godot_icon_eye_green.svg-11835c0a71beaae53debae81717a0274.ctex"
+uid="uid://cgpgo511b6a3x"
+path="res://.godot/imported/CameraTexture_green.svg-320e380f46da95652c6027fb4f83b630.ctex"
 metadata={
 "vram_texture": false
 }
 
 [deps]
 
-source_file="res://addons/slide_show/projector/show/godot_icon_eye_green.svg"
-dest_files=["res://.godot/imported/godot_icon_eye_green.svg-11835c0a71beaae53debae81717a0274.ctex"]
+source_file="res://addons/slide_show/projector/focus/CameraTexture_green.svg"
+dest_files=["res://.godot/imported/CameraTexture_green.svg-320e380f46da95652c6027fb4f83b630.ctex"]
 
 [params]
 

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 39 - 0
godot/addons/slide_show/projector/show/MainMovieWrite_green.svg


+ 4 - 4
godot/addons/slide_show/projector/focus/godot_icon_camera2D_green.svg.import

@@ -2,16 +2,16 @@
 
 importer="texture"
 type="CompressedTexture2D"
-uid="uid://cajsqwb1uey3n"
-path="res://.godot/imported/godot_icon_camera2D_green.svg-884f464b306fad1aa09b12ef494a64eb.ctex"
+uid="uid://di83ph4h0ru15"
+path="res://.godot/imported/MainMovieWrite_green.svg-4ab3fc876cbc818454c9cfd53b1532aa.ctex"
 metadata={
 "vram_texture": false
 }
 
 [deps]
 
-source_file="res://addons/slide_show/projector/focus/godot_icon_camera2D_green.svg"
-dest_files=["res://.godot/imported/godot_icon_camera2D_green.svg-884f464b306fad1aa09b12ef494a64eb.ctex"]
+source_file="res://addons/slide_show/projector/show/MainMovieWrite_green.svg"
+dest_files=["res://.godot/imported/MainMovieWrite_green.svg-4ab3fc876cbc818454c9cfd53b1532aa.ctex"]
 
 [params]
 

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 50
godot/addons/slide_show/projector/show/godot_icon_eye_green.svg


+ 12 - 13
godot/addons/slide_show/projector/focus/godot_icon_camera2D_green.svg

@@ -4,17 +4,17 @@
    viewBox="0 0 16 16"
    width="16"
    version="1.1"
-   id="svg4"
-   sodipodi:docname="Camera2D_green.svg"
+   id="svg297"
+   sodipodi:docname="Image_green.svg"
    inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
    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="defs8" />
+     id="defs301" />
   <sodipodi:namedview
-     id="namedview6"
+     id="namedview299"
      pagecolor="#ffffff"
      bordercolor="#000000"
      borderopacity="0.25"
@@ -24,18 +24,17 @@
      inkscape:deskcolor="#d1d1d1"
      showgrid="false"
      inkscape:zoom="54.625"
-     inkscape:cx="8"
-     inkscape:cy="7.2128146"
+     inkscape:cx="7.5789474"
+     inkscape:cy="8"
      inkscape:window-width="1920"
-     inkscape:window-height="1056"
+     inkscape:window-height="1030"
      inkscape:window-x="0"
-     inkscape:window-y="0"
+     inkscape:window-y="1050"
      inkscape:window-maximized="1"
-     inkscape:current-layer="svg4" />
+     inkscape:current-layer="svg297" />
   <path
-     d="m9 1038.4a3 3 0 0 0 -2.9883 2.7774 3 3 0 0 0 -2.0117-.7774 3 3 0 0 0 -3 3 3 3 0 0 0 2 2.8243v2.1757c0 .554.44599 1 1 1h6c.55401 0 1-.446 1-1v-1l3 2v-6l-3 2v-1.7695a3 3 0 0 0 1-2.2305 3 3 0 0 0 -3-3z"
-     fill="#8da5f3"
-     transform="translate(0 -1036.4)"
-     id="path2"
+     d="m2 1a1 1 0 0 0 -1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-12a1 1 0 0 0 -1-1zm1 2h10v8h-10zm6 2-1.5 2.5-.70117 1.168-.099609-.16797-.89844-1.5-.90039 1.5-.90039 1.5h1.8008.19922 1.5996 1.4004 3l-1.5-2.5-1.5-2.5z"
+     fill="#e0e0e0"
+     id="path295"
      style="fill:#008080" />
 </svg>

+ 37 - 0
godot/addons/slide_show/projector/slide/Image_green.svg.import

@@ -0,0 +1,37 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://ctlktokdp7306"
+path="res://.godot/imported/Image_green.svg-e908baba09ad57abdfc794049080f607.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://addons/slide_show/projector/slide/Image_green.svg"
+dest_files=["res://.godot/imported/Image_green.svg-e908baba09ad57abdfc794049080f607.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

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 50
godot/addons/slide_show/projector/slide/godot_icon_slide_green.svg