Commit Graph

8 Commits

Author SHA1 Message Date
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
effbe1e873 App: Prepare for clang-format 2024-06-03 12:52:30 +02: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
c7f2b67d14 App: fix several Lint warnings:
* ignore bugprone-easily-swappable-parameters
* handle bugprone-narrowing-conversions,cppcoreguidelines-narrowing-conversions
* handle readability-uppercase-literal-suffix
* handle readability-braces-around-statements
2023-02-26 13:30:44 +01:00
wmayer
191b477d75 App: fix some Lint issues:
* readability-identifier-length
* cppcoreguidelines-pro-type-member-init
2023-02-26 13:30:44 +01: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