Commit Graph

7 Commits

Author SHA1 Message Date
wmayer
e34fd72956 App: Extend/change color API:
* Also set/get alpha value in setValue/asValue
* Add new static method fromValue
2024-12-06 11:37:45 -05:00
wmayer
fadfc7e270 App: Apply clang format (part 2) 2024-11-21 21:17:42 +01:00
wmayer
3c1bf8e864 Core: Extend Color API
* Fix issues with alpha value <> transparency
* Use type traits to convert between different color classes (fixes #14515)
2024-11-15 12:25:25 -05:00
wmayer
38090de37c App: use std::lround() to fix linter warnings 2024-04-19 13:07:10 +02:00
wmayer
331bdacd83 App: Add setPackedRGB() and getPackedRGB() to Color class 2024-04-19 11:13:59 +02:00
wmayer
9604f94fdc Core: add functions setPackedARGB and fromPackedRGBA 2023-02-26 10:11:53 +01:00
wmayer
92b1774961 App: move Color class to its own sources 2023-02-26 10:11:53 +01:00