* Rework Plugin Manager so that plugins can be loaded after initialization
* Use a callback function to add plugin tabs to the dialog
* Install button lets you choose plugin file, copies it to plugins directory, and immediately loads it
* Remove button deletes selected plugin file from plugins directory - need to add a means to unload it first
* 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>
* Supports configurable set palette
* Ability to add custom colours
* Can be resized and geometry changed at compile
Commit amended by Adam Honse <calcprogrammer1@gmail.com>
* Ability to add custom colors disabled for now
* Scaling by width, not height
* Fill rows first, then cols
This moves the label and text input outside of the QDialogButtonBox
(which is mainly meant only for buttons) and into its own layout.
This makes the window resize work slightly better and renders the layout
slightly better.
This merge request adds the following:
1. A new class AutoStart, designed to add login startup entries for Linux (FreeDesktop autostart) and Windows (Shortcut File).
1. CLI options to enable, disable and check for autostart. (--autostart-enable, --autostart-disable and --autostart-check). e.g. OpenRGB.exe --autostart-enable "--startminimized --server --profile Blue" --nodetect --noautoconnect
1. UI options to enable "Start At Login" with several other options (see screenshots in Comments)
Tested on KDE Neon and Windows 10 x64 (x64 build).
Commits squashed and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
This commit squashes commits by:
Kasper <ofek4430@gmail.com>
jath03 <jackthughes@yahoo.com>
Adam Honse <calcprogrammer1@gmail.com>
Commits squashed and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
+ Code to initialise config values.
+ Added "load_geometry" variable so that you can load set values but not have to "save_on_exit"
Commit amended for code style by Adam Honse <calcprogrammer1@gmail.com>
+ Load window geometry from config added to constructor
+ Save window geometry to config added to destructor
+ Added an opt out boolean to allow for saving / not saving geometry
+ Consolidated the Minimize settings into the "UI_Settings" in config
+ Code to initialise config values.
Amended for code style by Adam Honse <calcprogrammer1@gmail.com>
* Changed `Set All Devices` to `Apply To All Devices`
* Added a tooltip to `Apply to All`
* Added Black and White quick colour swatches and left them "not flat" to
ensure visibility in Light and Dark mode.
Commit amended to fix display issues on Windows and to group buttons in layout by Adam Honse <calcprogrammer1@gmail.com>
* Inverted value speeds need to be normalised when applying the value to
the slider as well as when reading from the slider
+ added code to UpdateModeUi() to address this