mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-29 02:04:13 -04:00
Add storage device type
Commit amended from original XPG Spectrix S40G merge request by Adam Honse <calcprogrammer1@gmail.com>
This commit is contained in:
committed by
Adam Honse
parent
82c02b48aa
commit
7b63813cdb
@@ -1605,6 +1605,8 @@ std::string device_type_to_str(device_type type)
|
||||
return "Light";
|
||||
case DEVICE_TYPE_SPEAKER:
|
||||
return "Speaker";
|
||||
case DEVICE_TYPE_STORAGE:
|
||||
return "Storage";
|
||||
case DEVICE_TYPE_VIRTUAL:
|
||||
return "Virtual";
|
||||
default:
|
||||
|
||||
@@ -131,6 +131,7 @@ enum
|
||||
DEVICE_TYPE_LIGHT,
|
||||
DEVICE_TYPE_SPEAKER,
|
||||
DEVICE_TYPE_VIRTUAL,
|
||||
DEVICE_TYPE_STORAGE,
|
||||
DEVICE_TYPE_UNKNOWN
|
||||
};
|
||||
|
||||
|
||||
@@ -73,6 +73,9 @@ static QString GetIconString(device_type type, bool dark)
|
||||
case DEVICE_TYPE_VIRTUAL:
|
||||
filename = "virtual";
|
||||
break;
|
||||
case DEVICE_TYPE_STORAGE:
|
||||
filename = "storage";
|
||||
break;
|
||||
default:
|
||||
filename = "unknown";
|
||||
break;
|
||||
|
||||
@@ -46,5 +46,7 @@
|
||||
<file>wireless_dark.png</file>
|
||||
<file>console.png</file>
|
||||
<file>console_dark.png</file>
|
||||
<file>storage.png</file>
|
||||
<file>storage_dark.png</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
||||
BIN
qt/storage.png
Normal file
BIN
qt/storage.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
BIN
qt/storage_dark.png
Normal file
BIN
qt/storage_dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Reference in New Issue
Block a user