Commit Graph

68 Commits

Author SHA1 Message Date
Adam Honse
19459edbc9 Fix warning in OpenRGBDevicePage.cpp 2022-09-14 22:38:50 -05:00
Adam Honse
bf6ae63ae6 Fix some Windows build warnings 2022-07-18 20:46:13 -05:00
morg
f7f41596cc Multilanguage support using I18n (German, Spanish, French, Russian) 2022-05-25 13:07:50 +00:00
alpemwarrior
aabba4ed62 Avoid double or triple mode updates 2022-02-12 23:31:09 +00:00
Chris
6709cfb735 Aligning Direction updates for consistency and readability
+ Adding check to see if the UI DirectionBox is enabled before executing changes to the box.
2022-02-11 20:53:26 +00:00
Dmitry K
f01557a3fa #1267 Fix Set All Devices function turns off all lights when windows number format is not in English 2022-01-16 00:27:33 +00:00
morg
9dd46c270c Block signals fort RGB boxes in page constructor to avoid update slots to be called. Fix #1925 2021-11-12 14:08:33 +00:00
morg
6877aeefa4 Auto update selection when active mode does not automaticall save to flash. 2021-11-11 05:26:57 +00:00
Adam Honse
7d7d3aaffc Don't draw the LED view or handle mouse events when the selected mode doesn't use per-LED colors 2021-08-20 10:10:44 -05:00
Adam Honse
eade8fea1a Add save to device support to RGBController 2021-07-04 21:17:45 -05:00
Chris
6fd2ea9276 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>
2021-07-04 21:16:49 -05:00
Chris
f6c038857a Adding custom swatch widget
* 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
2021-07-04 15:49:19 -05:00
Adam Honse
a2a93daaab Add numerical_labels setting to UserInterface settings 2021-05-24 23:08:39 -05:00
Adam Honse
5616f547e4 Fix a bunch of warnings 2021-04-29 13:42:49 -05:00
Chris
9b8d2c38d3 Changed "Set All Devices"
* 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>
2021-04-23 11:44:59 -05:00
Chris
55c8ac8e3e Normalising the inverted value to fix #1326
* 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
2021-04-18 14:59:00 +10:00
KundaPanda
2b6a3e19ea Enable LED select box for mode-specific color mode 2021-04-03 19:23:02 +00:00
silas
905d52ca57 Make spin box values be correct on startup 2021-03-24 13:40:29 +00:00
Alexey Sokolov
367d01ceff Add description tooltips for common modes
Partially addresses #232

Commits squashed and amended for code style and to remove QItemDelegate by Adam Honse <calcprogrammer1@gmail.com>
2021-02-10 13:11:21 -06:00
Adam Honse
195730e721 Fix color palette buttons to work with and without Windows dark theme enabled 2020-11-27 02:14:21 -06:00
Adam Honse
fd4dcbd092 Add size check before correcting selected zone 2020-11-26 18:22:25 -06:00
Adam Honse
9c9dff41c3 Don't clear the entire tab bar, instead add new controller tabs only if missing and sort existing ones, then delete only those that no longer have an associated controller in the controllers list. Disabled software info and i2c tools pages for now 2020-10-01 22:33:54 +00:00
Adam Honse
278d6b0d00 Ensure controller still exists before trying to unregister callback 2020-09-28 23:45:41 -05:00
Adam Honse
f568253c51 Clean up more warnings 2020-09-02 18:25:58 -05:00
k1-801
8b8451017e Non-important warnings removed
Commit amended by Adam Honse <calcprogrammer1@gmail.com> due to merging from a different branch.
2020-09-01 23:29:00 -05:00
Adam Honse
7daa5b6556 Use horizontal layouts for buttons and detection elements, repaint device view when selecting all 2020-08-24 22:36:18 -05:00
k1-801
1598fc8de4 Add apply and select all buttons.
Select all button and some minor rework by Adam Honse <calcprogrammer1@gmail.com>
2020-08-24 22:12:09 -05:00
Adam Honse
6d9aea38a6 Fix setting mode specific colors and not changing to direct mode when the mode has no configurable colors 2020-08-24 00:40:44 -05:00
Adam Honse
a2ed9571cf Add button to toggle graphical LED view and default to hidden 2020-08-24 00:40:44 -05:00
Adam Honse
b6824b8a46 Don't update the mode UI when the update callback occurs for now 2020-08-24 00:40:44 -05:00
Adam Honse
342d90b82a Add function to unregister update callback when device page is deleted 2020-08-24 00:40:44 -05:00
k1-801
4601b91f1f Fixed multiple selection, temporarily disabled interface updates due to update spam from a controler
Code style changes and integration by Adam Honse <calcprogrammer1@gmail.com>
2020-08-24 00:40:44 -05:00
k1-801
c8ea2ff36f Zones overlapping fixed
Code from RGBController moved to DeviceView by Adam Honse <calcprogrammer1@gmail.com>
2020-08-24 00:40:44 -05:00
k1-801
bbc3c1de5b WIP: Instant color setting, buttons removed
Code cleanup by Adam Honse <calcprogrammer1@gmail.com>
2020-08-24 00:40:43 -05:00
k1-801
a2a394492b WIP: Multiple selection test
Rework of LED position data from RGBController into DeviceView, code style cleanup modified by Adam Honse <calcprogrammer1@gmail.com>
2020-08-24 00:40:43 -05:00
Adam Honse
d3993547c3 Device view resizes width to fit window size, UI updates on SDKcontroller update 2020-08-24 00:40:43 -05:00
Adam Honse
17f1390f36 Add widget that displays the current color of all LEDs on a controller 2020-08-24 00:40:43 -05:00
Adam Honse
f108515a6e Fix Set All Devices being slow and crashing on certain setups. It was sending the update multiple times 2020-07-03 02:59:54 -05:00
Adam Honse
e086ecd0bb Fix wheel color changing when setting all devices 2020-06-07 18:01:48 -05:00
Adam Honse
f612ca8bdc Fix bug with ColorWheel updating 2020-06-07 17:58:55 -05:00
Adam Honse
0c7009b973 Update color wheel when choosing an LED from the LED selection box 2020-03-31 16:34:55 -05:00
Adam Honse
5719956441 Add color wheel color picker to UI 2020-03-30 17:54:25 -05:00
Adam Honse
aa182936ba Clean up warnings, except in hidapi and cli files 2020-03-20 12:10:18 -05:00
Adam Honse
4919b03bd1 Remove controller-side LED count from Corsair Lighting Node and ThermalTake Riing controllers, initialize them to zero LED count 2020-03-19 20:55:57 -05:00
Adam Honse
18c18e3999 Automatically save a sizes.ors profile when resizing a zone, then automatically load zone sizes from sizes.ors on start 2020-03-19 14:24:39 -05:00
Adam Honse
23ad5ca244 Fix setting individual LEDs when a specific zone is selected 2020-03-08 20:51:30 -05:00
Adam Honse
62518b5163 Update RGBController API and GUI to handle resizable zones. All controllers except for CorsairNodePro have been disabled pending rework 2020-03-04 19:29:58 -06:00
Adam Honse
736e624366 Resize button. Resizes mode specific color lists. Partial implementation of resizing zones 2020-03-04 17:53:44 -06:00
Adam Honse
a6c9d1232a Don't apply colors unless per LED mode 2020-02-26 21:16:02 -06:00
Adam Honse
bd027e596e Set colors when updating mode 2020-02-26 19:36:00 -06:00