Add virtual device type
This commit is contained in:
parent
28af2da1c2
commit
c45f864977
5 changed files with 6 additions and 0 deletions
|
|
@ -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 |
Loading…
Add table
Add a link
Reference in a new issue