Commit Graph

22 Commits

Author SHA1 Message Date
Kacper Donat
13fbab9e42 Base: Move App::Color to Base
Every basic data type is stored in Base module, color is standing out as
one that does not. Moving it to Base opens possibilities to integrate it
better with the rest of FreeCAD.
2025-02-17 21:10:26 +01: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
1cf1a90a17 App: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
wmayer
1efde78d74 App: modernize C++: use equals default 2023-08-20 18:10:17 +02:00
berniev
d2babf0eb5 App: Single arg ctors must be explicit 2022-08-24 07:20:57 +02:00
berniev
b6cae3bfdf App: Modernise ctors dtors defs etc 2022-08-01 00:34:46 +02:00
wmayer
ca01005c86 App: [skip ci] fix zero-based color model Red-White-Blue 2022-04-03 00:58:51 +02:00
wmayer
592a7102f6 App: [skip ci] fix zero-based color model Red-White-Blue 2022-04-02 11:06:18 +02:00
wmayer
bb19d8cb03 App/Gui: refactor ColorGradient and move all settings to ColorGradientProfile 2022-04-02 10:58:04 +02:00
wmayer
4edd86cc06 App: handle option 'outside invisible' directly in ColorGradient 2022-04-01 08:38:27 +02:00
wmayer
6cd52c7204 App: [skip ci] whitespace changes 2022-03-31 23:19:00 +02:00
Uwe
d837160c8e [App] remove some unused includes 2022-02-25 02:25:47 +01:00
wmayer
8e5ad95de3 App: improve ColorLegend 2022-02-03 22:01:52 +01:00
wmayer
2bf84e79ac App/Gui: make color bar to handle very small values 2022-02-02 21:12:59 +01:00
Uwe
81fa1d6a27 [App] fix compiler warning
warning C4305: 'argument': truncation from 'double' to 'float'
2022-01-29 19:07:03 +01:00
wmayer
ecac0b4d0c App: rework ColorGradient and allow to easily extend it with further color models 2022-01-29 15:29:07 +01:00
wmayer
90d9f58de0 App: code cleanup of Color models 2022-01-29 11:58:05 +01:00
luz paz
84553bf191 App: Fix header uniformity, trailing whitespace, and doxygen headers 2020-11-19 13:38:37 +01:00
wmayer
0260370b65 + add option to switch off precompiled header 2018-07-25 20:17:11 +02:00
wmayer
51e4eebbc6 + Prefer prefix ++/-- operators for non-primitive types 2015-10-06 21:16:44 +02:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00