mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-04 22:24:12 -04:00
Add virtual device type
This commit is contained in:
@@ -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>
|
||||
|
||||
BIN
qt/virtual.png
Normal file
BIN
qt/virtual.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
BIN
qt/virtual_dark.png
Normal file
BIN
qt/virtual_dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
Reference in New Issue
Block a user