reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2023-04-04 19:55:11 +01:00
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.
2023-02-09 17:54:19 +00:00
reuk
8b8ae10059
Build: Replace JUCE_NODISCARD with [[nodiscard]]
2022-09-12 16:14:57 +01:00
attila
9acfeece43
Colours: Support grey/gray spelling for HTML and SVG compatibility
2022-07-18 18:55:10 +02:00
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
2022-05-16 17:55:48 +01:00
Tom Poole
dea3fe60e4
Update copyright banners
2022-04-04 12:36:32 +01:00
Roland Rabien
9d692c13cf
Fix invalid usage of JUCE_NODISCARD
2022-01-29 13:49:36 -08:00
reuk
b80927fc91
Nodiscard: Add to builder-pattern functions
2022-01-27 18:43:21 +00:00
reuk
6244fc293f
CharacterFunctions: Avoid UB when parsing hex strings
2021-10-25 09:51:20 +01:00
reuk
dcd2ef93f9
Colour: Remove restrictions on argument to brighter() and darker()
2021-06-30 17:03:38 +01:00
reuk
0c56fa8fa0
Colour: Fix comparisons in HSL conversions
2021-06-23 12:09:34 +01:00
reuk
f0c02529ef
Colour: Avoid divisions by zero
2021-06-21 19:05:40 +01:00
ed
f9f83fe3fa
Correctly scale saturation value to 0-1 in HSL Colour constructor
2021-02-19 19:07:12 +00:00
Tom Poole
308757bc48
Tidied up the pixel format classes
2021-01-19 23:29:56 +00:00
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
2020-07-01 10:00:43 +01:00
ed
009d685179
Updated all license headers
2020-06-29 08:30:22 +01:00
ed
00d8910cc5
Fixed hue wrap-around for negative values in HSV/HSL colours
2020-04-30 16:49:32 +01:00
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
2020-04-29 12:45:02 +01:00
ed
7553b8dc1b
Added HSL support to Colour and use Colour::fromHSL() when parsing SVG HSL colours
2020-04-27 14:26:41 +01:00
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +01:00
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
2020-04-09 15:22:56 +01:00
ed
4a5dda489f
Fixed some warnings with -Wconversion enabled
2020-03-17 09:02:57 +00:00
ed
6e51eb4a65
Documentation update
2020-03-09 17:42:08 +00:00
ed
d87ff510f2
Corrected the documentation for Colour::fromHSV()
2020-03-06 17:38:53 +00:00
ed
3d5c6b8a03
Fixed a typo
2019-11-19 10:48:14 +00:00
reuk
6a01077646
Colours: Fixed a static init order issue with predefined Colours
2019-10-28 13:13:23 +00:00
Tom Poole
bc25355b71
Fixed a documentation typo
2019-08-07 16:06:47 +01:00
Tom Poole
4e0adb2af8
GCC 9 compatibility fixes
2019-04-30 17:46:15 +01:00
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
2019-01-11 09:52:10 +00:00
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
2018-11-28 17:29:20 +00:00
Tom Poole
08d67c763f
Made some JUCE classes TriviallyCopyable
2018-07-11 09:17:31 +01:00
jules
f80df37183
Fixed a couple of typos in comments
2018-06-25 17:27:38 +01:00
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
2018-04-19 20:27:47 +01:00
ed
cdbc28c18b
Add documentation tags
2018-03-15 12:10:32 +00:00
jules
1a60fa9765
More ScopedPointer/unique_ptr compatibility work
2018-01-10 17:35:08 +00:00
jules
48a5fbd333
Another batch of ScopedPointer cleanups
2018-01-10 14:49:57 +00:00
jules
0fb1fde14e
Added a couple more ColourGradient methods
2017-11-09 09:37:16 +00:00
jules
c3a218ab49
Added some methods ColourGradient::vertical and ColourGradient::horizontal, and also some missing move operators for that class
2017-11-08 15:00:47 +00:00
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)
2017-11-01 17:41:06 +00:00
tpoole
c0d409c773
Some minor documentation improvements
2017-10-26 16:36:32 +01:00
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
2017-10-11 12:10:58 +01:00
jules
970eda679e
Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting!
2017-10-09 12:38:06 +01:00
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
2017-09-08 08:59:55 +01:00
ed
5900e076f9
Added some missing HTML colours
2017-09-07 15:23:55 +01:00
tpoole
10b7aa3c16
MinGW: Fixed some build warnings
2017-07-07 11:06:16 +01:00
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
2017-04-27 14:43:04 +01:00
jules
bc78b2f524
Added a constructor to ColourGradient that takes Point arguments
2017-04-25 11:52:33 +01:00
jules
bf94ab0e4c
Made a few minor tweaks to reduce the number of pedantic -Wfloat-equals warnings
2017-04-21 15:09:35 +01:00
hogliux
2da1bc5f41
Replace include guards with "#pragma once"
2017-02-01 17:18:07 +00:00
hogliux
9f3fb1c0a6
Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated
2017-02-01 17:18:06 +00:00