mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 07:35:03 -04:00
Add virtual device type
This commit is contained in:
1 parent
28af2da1c2
commit
c45f864977
5 files changed
+6
No files matched your search
@@ -118,6 +118,7 @@ enum
|
||||
DEVICE_TYPE_GAMEPAD,
|
||||
DEVICE_TYPE_LIGHT,
|
||||
DEVICE_TYPE_SPEAKER,
|
||||
DEVICE_TYPE_VIRTUAL,
|
||||
DEVICE_TYPE_UNKNOWN
|
||||
};
|
||||
|
||||
|
||||
@@ -65,6 +65,9 @@ static QString GetIconString(device_type type, bool dark)
|
||||
case DEVICE_TYPE_SPEAKER:
|
||||
filename = "speaker";
|
||||
break;
|
||||
case DEVICE_TYPE_VIRTUAL:
|
||||
filename = "virtual";
|
||||
break;
|
||||
default:
|
||||
filename = "unknown";
|
||||
break;
|
||||
|
||||
@@ -36,5 +36,7 @@
|
||||
<file>plugin_dark.png</file>
|
||||
<file>speaker.png</file>
|
||||
<file>speaker_dark.png</file>
|
||||
<file>virtual.png</file>
|
||||
<file>virtual_dark.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
Reference in new issue
Block a user