Adding DEVICE_TYPE_ACCESSORY to enum

+ Adding Accessory icons for light and dark theme
+ Adding entry into OpenRGBDialog2 to display icon
+ Creating `Accessory` category in "Supported Devices"
This commit is contained in:
Chris 2022-09-01 14:39:38 +10:00 committed by Adam Honse
parent 03d99d135c
commit 9fe664ee72
8 changed files with 13 additions and 0 deletions

View file

@ -33,6 +33,9 @@ static QString GetIconString(device_type type, bool dark)
QString filename;
switch(type)
{
case DEVICE_TYPE_ACCESSORY:
filename = "accessory";
break;
case DEVICE_TYPE_MOTHERBOARD:
filename = "motherboard";
break;

BIN
qt/accessory.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
qt/accessory_dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -52,5 +52,9 @@
<file>OpenRGBGreyscale.png</file>
<file>microphone.png</file>
<file>microphone_dark.png</file>
<file>accessory.png</file>
<file>accessory_dark.png</file>
<file>unknown.png</file>
<file>unknown_dark.png</file>
</qresource>
</RCC>

BIN
qt/unknown.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
qt/unknown_dark.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB