From cb2a56f3f2c689f57948f841e41804b993ba90c9 Mon Sep 17 00:00:00 2001
From: m0rkeulv <3193925+m0rkeulv@users.noreply.github.com>
Date: Thu, 15 Apr 2021 21:03:38 +0200
Subject: [PATCH] Updating code to use SVGs instead of pngs (#1086)
Using new SVG icons when available (old icons moved to legacy folder)
---
resources/icons/Haxe_logo.svg | 18 ++++++++++++++
resources/icons/class.svg | 2 +-
resources/icons/enum.svg | 2 +-
resources/icons/field.svg | 2 +-
resources/icons/file.svg | 2 +-
resources/icons/interface.svg | 2 +-
resources/icons/{ => legacy}/C_Logo.png | Bin
resources/icons/{ => legacy}/C_haXe.png | Bin
resources/icons/{ => legacy}/E_Logo.png | Bin
resources/icons/{ => legacy}/E_haXe.png | Bin
resources/icons/{ => legacy}/HaxeLogo.svg | 0
resources/icons/{ => legacy}/HaxeLogo_15.png | Bin
resources/icons/{ => legacy}/HaxeLogo_16.png | Bin
resources/icons/{ => legacy}/HaxeLogo_24.png | Bin
resources/icons/{ => legacy}/HaxeLogo_8.png | Bin
resources/icons/{ => legacy}/I_Logo.png | Bin
resources/icons/{ => legacy}/I_haXe.png | Bin
resources/icons/{ => legacy}/field-logo.png | Bin
resources/icons/{ => legacy}/field-logo.svg | 0
resources/icons/{ => legacy}/haXe_16.png | Bin
resources/icons/{ => legacy}/haXe_24.png | Bin
resources/icons/{ => legacy}/method-logo.png | Bin
resources/icons/{ => legacy}/method-logo.svg | 0
resources/icons/{ => legacy}/nmml_16.png | Bin
resources/icons/method.svg | 2 +-
resources/icons/nme.svg | 14 +++++++++++
.../plugins/haxe/HaxeComponentType.java | 13 ++++++-----
.../intellij/plugins/haxe/HaxeFileType.java | 2 +-
.../plugins/haxe/config/sdk/HaxeSdkType.java | 4 ++--
.../plugins/haxe/hxml/HXMLFileType.java | 2 +-
.../haxe/ide/HaxeFileTemplateUtil.java | 8 +++----
.../haxe/ide/actions/CreateClassAction.java | 2 +-
.../ide/actions/CreateNMMLFileAction.java | 4 ++--
.../HaxeCompilerCompletionItem.java | 2 +-
.../ide/highlight/HXMLColorSettingsPage.java | 2 +-
.../ide/highlight/HaxeColorSettingsPage.java | 2 +-
.../haxe/ide/library/HaxeLibraryType.java | 2 +-
.../haxe/ide/module/HaxeModuleType.java | 6 +----
.../plugins/haxe/nmml/NMMLFileType.java | 2 +-
.../haxe/runner/HaxeRunConfigurationType.java | 2 +-
.../runner/HaxeTestsRunConfigurationType.java | 2 +-
src/icons/HaxeIcons.java | 22 ++++++++----------
42 files changed, 74 insertions(+), 47 deletions(-)
create mode 100644 resources/icons/Haxe_logo.svg
rename resources/icons/{ => legacy}/C_Logo.png (100%)
rename resources/icons/{ => legacy}/C_haXe.png (100%)
rename resources/icons/{ => legacy}/E_Logo.png (100%)
rename resources/icons/{ => legacy}/E_haXe.png (100%)
rename resources/icons/{ => legacy}/HaxeLogo.svg (100%)
rename resources/icons/{ => legacy}/HaxeLogo_15.png (100%)
rename resources/icons/{ => legacy}/HaxeLogo_16.png (100%)
rename resources/icons/{ => legacy}/HaxeLogo_24.png (100%)
rename resources/icons/{ => legacy}/HaxeLogo_8.png (100%)
rename resources/icons/{ => legacy}/I_Logo.png (100%)
rename resources/icons/{ => legacy}/I_haXe.png (100%)
rename resources/icons/{ => legacy}/field-logo.png (100%)
rename resources/icons/{ => legacy}/field-logo.svg (100%)
rename resources/icons/{ => legacy}/haXe_16.png (100%)
rename resources/icons/{ => legacy}/haXe_24.png (100%)
rename resources/icons/{ => legacy}/method-logo.png (100%)
rename resources/icons/{ => legacy}/method-logo.svg (100%)
rename resources/icons/{ => legacy}/nmml_16.png (100%)
create mode 100644 resources/icons/nme.svg
diff --git a/resources/icons/Haxe_logo.svg b/resources/icons/Haxe_logo.svg
new file mode 100644
index 000000000..3c0ea2356
--- /dev/null
+++ b/resources/icons/Haxe_logo.svg
@@ -0,0 +1,18 @@
+
+
diff --git a/resources/icons/class.svg b/resources/icons/class.svg
index 515c70b4e..69d8293e8 100644
--- a/resources/icons/class.svg
+++ b/resources/icons/class.svg
@@ -1,4 +1,4 @@
-