From d6e57f3867d00c36ecb251e49746a3c5321ed7b0 Mon Sep 17 00:00:00 2001
From: KamFretoZ <14798312+kamfretoz@users.noreply.github.com>
Date: Tue, 30 Jul 2024 13:27:29 +0700
Subject: [PATCH] Qt: Add new icon for gametrak and realplay
---
pcsx2-qt/Settings/ControllerBindingWidget.cpp | 4 +-
.../icons/black/svg/gametrak-line.svg | 26 ++++++++++
.../icons/black/svg/memcard-line.svg | 11 ++--
.../icons/black/svg/realplay-sphere-line.svg | 7 +++
.../icons/white/svg/gametrak-line.svg | 30 +++++++++++
.../icons/white/svg/memcard-line.svg | 50 ++++++++-----------
.../icons/white/svg/realplay-sphere-line.svg | 7 +++
pcsx2-qt/resources/resources.qrc | 4 ++
8 files changed, 101 insertions(+), 38 deletions(-)
create mode 100644 pcsx2-qt/resources/icons/black/svg/gametrak-line.svg
create mode 100644 pcsx2-qt/resources/icons/black/svg/realplay-sphere-line.svg
create mode 100644 pcsx2-qt/resources/icons/white/svg/gametrak-line.svg
create mode 100644 pcsx2-qt/resources/icons/white/svg/realplay-sphere-line.svg
diff --git a/pcsx2-qt/Settings/ControllerBindingWidget.cpp b/pcsx2-qt/Settings/ControllerBindingWidget.cpp
index d58fdac81e72b..e2fc7d2f66b84 100644
--- a/pcsx2-qt/Settings/ControllerBindingWidget.cpp
+++ b/pcsx2-qt/Settings/ControllerBindingWidget.cpp
@@ -974,7 +974,9 @@ QIcon USBDeviceWidget::getIcon() const
{"printer", "printer-line"}, // Printer
{"Keyboardmania", "keyboardmania-line"}, // KeyboardMania
{"guncon2", "guncon2-line"}, // GunCon 2
- {"DJTurntable", "dj-hero-line"} // DJ Hero TurnTable
+ {"DJTurntable", "dj-hero-line"}, // DJ Hero TurnTable
+ {"Gametrak", "gametrak-line"}, // Gametrak Device
+ {"RealPlay", "realplay-sphere-line"} // RealPlay Device
};
for (size_t i = 0; i < std::size(icons); i++)
diff --git a/pcsx2-qt/resources/icons/black/svg/gametrak-line.svg b/pcsx2-qt/resources/icons/black/svg/gametrak-line.svg
new file mode 100644
index 0000000000000..9a077a4fe0eb8
--- /dev/null
+++ b/pcsx2-qt/resources/icons/black/svg/gametrak-line.svg
@@ -0,0 +1,26 @@
+
+
+
diff --git a/pcsx2-qt/resources/icons/black/svg/memcard-line.svg b/pcsx2-qt/resources/icons/black/svg/memcard-line.svg
index e07bee24d947e..a0601075b8081 100644
--- a/pcsx2-qt/resources/icons/black/svg/memcard-line.svg
+++ b/pcsx2-qt/resources/icons/black/svg/memcard-line.svg
@@ -6,20 +6,15 @@
stroke: #000;
stroke-width: 9px;
}
-
- .cls-2 {
- fill-rule: evenodd;
- }
-
-
+
-
+
-
+
\ No newline at end of file
diff --git a/pcsx2-qt/resources/icons/black/svg/realplay-sphere-line.svg b/pcsx2-qt/resources/icons/black/svg/realplay-sphere-line.svg
new file mode 100644
index 0000000000000..c4938bdd252a1
--- /dev/null
+++ b/pcsx2-qt/resources/icons/black/svg/realplay-sphere-line.svg
@@ -0,0 +1,7 @@
+
+
+
\ No newline at end of file
diff --git a/pcsx2-qt/resources/icons/white/svg/gametrak-line.svg b/pcsx2-qt/resources/icons/white/svg/gametrak-line.svg
new file mode 100644
index 0000000000000..4ea81ec1a9c86
--- /dev/null
+++ b/pcsx2-qt/resources/icons/white/svg/gametrak-line.svg
@@ -0,0 +1,30 @@
+
+
+
diff --git a/pcsx2-qt/resources/icons/white/svg/memcard-line.svg b/pcsx2-qt/resources/icons/white/svg/memcard-line.svg
index 8b09d6a682c6d..4db554176db4d 100644
--- a/pcsx2-qt/resources/icons/white/svg/memcard-line.svg
+++ b/pcsx2-qt/resources/icons/white/svg/memcard-line.svg
@@ -1,29 +1,21 @@
-
-
\ No newline at end of file
+
+
+
diff --git a/pcsx2-qt/resources/icons/white/svg/realplay-sphere-line.svg b/pcsx2-qt/resources/icons/white/svg/realplay-sphere-line.svg
new file mode 100644
index 0000000000000..e3cbc7f6e8146
--- /dev/null
+++ b/pcsx2-qt/resources/icons/white/svg/realplay-sphere-line.svg
@@ -0,0 +1,7 @@
+
+
+
\ No newline at end of file
diff --git a/pcsx2-qt/resources/resources.qrc b/pcsx2-qt/resources/resources.qrc
index a2d154d548a7a..36557a577fb4d 100644
--- a/pcsx2-qt/resources/resources.qrc
+++ b/pcsx2-qt/resources/resources.qrc
@@ -47,6 +47,7 @@
icons/black/svg/folder-settings-line.svg
icons/black/svg/fullscreen-line.svg
icons/black/svg/function-line.svg
+ icons/black/svg/gametrak-line.svg
icons/black/svg/github.svg
icons/black/svg/global-line.svg
icons/black/svg/guitar-line.svg
@@ -74,6 +75,7 @@
icons/black/svg/Popn-line.svg
icons/black/svg/price-tag-3-line.svg
icons/black/svg/printer-line.svg
+ icons/black/svg/realplay-sphere-line.svg
icons/black/svg/refresh-line.svg
icons/black/svg/restart-line.svg
icons/black/svg/save-3-line.svg
@@ -145,6 +147,7 @@
icons/white/svg/folder-settings-line.svg
icons/white/svg/fullscreen-line.svg
icons/white/svg/function-line.svg
+ icons/white/svg/gametrak-line.svg
icons/white/svg/github.svg
icons/white/svg/global-line.svg
icons/white/svg/guitar-line.svg
@@ -172,6 +175,7 @@
icons/white/svg/Popn-line.svg
icons/white/svg/price-tag-3-line.svg
icons/white/svg/printer-line.svg
+ icons/white/svg/realplay-sphere-line.svg
icons/white/svg/refresh-line.svg
icons/white/svg/restart-line.svg
icons/white/svg/save-3-line.svg