Initial commit for Brightness in RGBController API
* Added DeviceHasBrightness() = false; to RGBController as overridable * Added Brightness to Mode struct * Added BrightnessSlider to the OpenRGBDevicePage ui and the supporting code to pass to the RGBController Commit amended for code style and to split API changes and controller changes out by Adam Honse <calcprogrammer1@gmail.com>
This commit is contained in:
parent
f6c038857a
commit
6fd2ea9276
6 changed files with 234 additions and 155 deletions
|
|
@ -74,6 +74,8 @@ public:
|
|||
unsigned int flags; /* Mode flags bitfield */
|
||||
unsigned int speed_min; /* speed minimum value */
|
||||
unsigned int speed_max; /* speed maximum value */
|
||||
unsigned int brightness_min; /*brightness min value */
|
||||
unsigned int brightness_max; /*brightness max value */
|
||||
unsigned int colors_min; /* minimum number of mode colors*/
|
||||
unsigned int colors_max; /* maximum numver of mode colors*/
|
||||
|
||||
|
|
@ -81,6 +83,7 @@ public:
|
|||
| Mode Settings |
|
||||
\*--------------------------------------------------------------*/
|
||||
unsigned int speed; /* Mode speed parameter value */
|
||||
unsigned int brightness; /* Mode brightness value */
|
||||
unsigned int direction; /* Mode direction value */
|
||||
unsigned int color_mode; /* Mode color selection */
|
||||
std::vector<RGBColor>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue