reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2 years ago
reuk
a59cba010b
ColourGradient: Create lookup tables using non-premultiplied colours
The OpenGL renderer uses ColourGradient::createLookupTable to generate
gradient textures. However, the tweening method used was different to
the tweening used by CoreGraphics gradients, and by the software
renderer.
Gradient tweening is now computed using non-premultiplied colours, to
ensure consistency between gradients rendered using OpenGL, and with
other renderers.
3 years ago
reuk
8b8ae10059
Build: Replace JUCE_NODISCARD with [[nodiscard]]
3 years ago
attila
9acfeece43
Colours: Support grey/gray spelling for HTML and SVG compatibility
3 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
Roland Rabien
9d692c13cf
Fix invalid usage of JUCE_NODISCARD
4 years ago
reuk
b80927fc91
Nodiscard: Add to builder-pattern functions
4 years ago
reuk
6244fc293f
CharacterFunctions: Avoid UB when parsing hex strings
6 years ago
reuk
dcd2ef93f9
Colour: Remove restrictions on argument to brighter() and darker()
4 years ago
reuk
0c56fa8fa0
Colour: Fix comparisons in HSL conversions
4 years ago
reuk
f0c02529ef
Colour: Avoid divisions by zero
4 years ago
ed
f9f83fe3fa
Correctly scale saturation value to 0-1 in HSL Colour constructor
5 years ago
Tom Poole
308757bc48
Tidied up the pixel format classes
5 years ago
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
5 years ago
ed
009d685179
Updated all license headers
5 years ago
ed
5bd8acd567
Fixed hue wrap-around for negative values in HSV/HSL colours
5 years ago
ed
00d8910cc5
Fixed hue wrap-around for negative values in HSV/HSL colours
5 years ago
ed
9a4ec01053
Fixed hue wrap-around in HSV/HSL colours, added some more unit tests and added methods to distinguish between HSV and HSL saturation
5 years ago
ed
eeff1e6174
Fixed hue wrap-around in HSV/HSL colours, added some more unit tests and added methods to distinguish between HSV and HSL saturation
5 years ago
ed
48acdf58ef
Added HSL support to Colour and use Colour::fromHSL() when parsing SVG HSL colours
5 years ago
ed
7553b8dc1b
Added HSL support to Colour and use Colour::fromHSL() when parsing SVG HSL colours
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
ed
4a5dda489f
Fixed some warnings with -Wconversion enabled
5 years ago
ed
6e51eb4a65
Documentation update
6 years ago
ed
d87ff510f2
Corrected the documentation for Colour::fromHSV()
6 years ago
ed
3d5c6b8a03
Fixed a typo
6 years ago
reuk
6a01077646
Colours: Fixed a static init order issue with predefined Colours
6 years ago
Tom Poole
bc25355b71
Fixed a documentation typo
6 years ago
Tom Poole
4e0adb2af8
GCC 9 compatibility fixes
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
7 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
7 years ago
Tom Poole
08d67c763f
Made some JUCE classes TriviallyCopyable
7 years ago
jules
f80df37183
Fixed a couple of typos in comments
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
ed
cdbc28c18b
Add documentation tags
8 years ago
jules
1a60fa9765
More ScopedPointer/unique_ptr compatibility work
8 years ago
jules
48a5fbd333
Another batch of ScopedPointer cleanups
8 years ago
jules
0fb1fde14e
Added a couple more ColourGradient methods
8 years ago
jules
c3a218ab49
Added some methods ColourGradient::vertical and ColourGradient::horizontal, and also some missing move operators for that class
8 years ago
jules
2dc9316420
Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility)
8 years ago
tpoole
ca5620710c
Some minor documentation improvements
8 years ago
tpoole
c0d409c773
Some minor documentation improvements
8 years ago
jules
369d59f656
Added a template to allow the HeapBlock class to be given signed ints or other types that are not size_t for its size parameters
8 years ago
jules
970eda679e
Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting!
8 years ago
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
8 years ago
ed
5900e076f9
Added some missing HTML colours
8 years ago
tpoole
10b7aa3c16
MinGW: Fixed some build warnings
8 years ago