Commit Graph

23 Commits

Author SHA1 Message Date
Kacper Donat
a72a63232a 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
5771c94523 App: Apply clang format (part 2) 2024-11-21 21:17:42 +01:00
wmayer
ee0fad4c90 App: modernize C++: use default member init 2023-08-23 19:51:44 +02:00
wmayer
3e35b5f606 App: modernize C++: use equals default 2023-08-20 18:10:17 +02:00
berniev
1cc6329eab App: use empty 2022-08-06 19:29:59 +02:00
berniev
e7357c1a99 App: use emplace_back 2022-08-05 10:31:51 +02:00
wmayer
dc3986ee10 Base: add method isEqual() to Base::Flags<> to simplify comparison 2022-04-05 19:09:14 +02:00
wmayer
874a6ef28e App/Gui: refactor ColorGradient and move all settings to ColorGradientProfile 2022-04-02 10:58:04 +02:00
wmayer
5fe0a63201 App: handle option 'outside invisible' directly in ColorGradient 2022-04-01 08:38:27 +02:00
Uwe
26102318a0 [App] remove some unused includes 2022-02-25 02:25:47 +01:00
wmayer
a0b333ab2c App: set by default three colors for legend 2022-02-06 23:13:38 +01:00
wmayer
409d36df30 App: [skip ci] fix regression in ColorGradient/ColorField 2022-02-05 17:54:55 +01:00
wmayer
ce8df41709 App: fix ColorField::set/ColorGradient::set in case an invalid value range is passed 2022-02-05 14:13:35 +01:00
wmayer
e54b6e167a App: improve ColorLegend 2022-02-03 22:01:52 +01:00
wmayer
607180bd9c App: fix ColorField::set/ColorGradient::set in case an invalid value range s passed 2022-02-03 07:53:38 +01:00
wmayer
bc509c8069 App/Gui: make color bar to handle very small values 2022-02-02 21:12:59 +01:00
wmayer
38321cc2e9 App: rework ColorGradient and allow to easily extend it with further color models 2022-01-29 15:29:07 +01:00
wmayer
43ffd70111 App: code cleanup of Color models 2022-01-29 11:58:05 +01:00
asapelkin
e951094af9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
wmayer
464a8f3860 Coverity issues:
129643
129654
129689
129714
2016-08-16 14:05:52 +02:00
wmayer
1c8045756f Coverity issues:
129727: Structurally dead code
151979, 133461: Uninitialized scalar field
129785, 129786, 129787: Use after free
2016-08-16 12:23:12 +02:00
wmayer
1e12b54a7b Coverity issues:
129202: replace dynamic_cast with static_cast
129421, 129422: fix Py_Return macro
128928: Unchecked return value
129488, 129490: uninitialized scalar variable
129567, 129661: uninitialized scalar field
129665: uninitialized pointer field
2016-08-15 21:28:41 +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