1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-22 01:34:21 +00:00
Commit graph

58 commits

Author SHA1 Message Date
jules
485feb47ed Tweaked a couple of Rectangle methods to avoid some spurious assertions triggered by rounding errors 2019-06-21 12:15:51 +01:00
Tom Poole
08d67c763f Made some JUCE classes TriviallyCopyable 2018-07-11 09:17:31 +01:00
jules
121719be69 Added new method Rectangle::toNearestIntEdges(), and used this to improve the Grid layout snapping 2018-04-04 16:43:17 +01:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00: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
jules
b12d4c3378 (Fixed a warning in the last commit) 2017-05-11 16:35:53 +01:00
jules
a82c11402c Made Rectangle::getSmallestIntegerContainer() handle Inf floating point values. Also did some quick modernisation of the Rectangle class. 2017-05-11 15:12:44 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
hogliux
2da1bc5f41 Replace include guards with "#pragma once" 2017-02-01 17:18:07 +00:00
jules
a15d79d4fe Added new methods Rectangle::withRightX() and withBottomY() 2017-01-01 11:56:23 +00:00
hogliux
4b6458438f Fix small typo 2016-07-21 15:29:52 +01:00
jules
97e058bbd2 Added a couple of proportional Rectangle methods 2016-07-14 09:34:29 +01:00
jules
fb864a5cb1 Corrected some spelling mistakes in comments 2016-04-11 11:13:44 +01:00
Timur Doumler
2d134d9380 Rectangle::toNearestInt(): improved documentation. 2016-02-03 09:59:59 +00:00
Timur Doumler
26759d5f64 Added helper method Rectangle::toNearestInt(). 2016-02-02 14:39:52 +00:00
jules
9906788e9b Avoided a Visual Studio compiler warning in Rectangle 2015-12-22 11:43:28 +00:00
jules
02492b36b9 Lots of small whitespace tweaks. 2015-12-13 19:32:05 +00:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
43283b3d03 Added a couple of methods to Rectangle to return its limits as Range objects. 2015-06-11 09:13:13 -07:00
jules
769c2f4b46 Added isFinite() methods to Point and Rectangle. 2015-04-01 11:58:05 +01:00
jules
8968df0402 Added some centering methods to Rectangle. 2014-02-21 12:51:06 +00:00
jules
fc24a63ed1 Added a method Rectangle::withSizeKeepingCentre() 2013-12-07 14:31:52 +00:00
jules
2edec00b55 Removed a few more uses of String::empty. 2013-12-01 23:28:31 +00:00
jules
41545be958 Added methods for line/rectangle intersection. 2013-11-13 10:26:35 +00:00
jules
740cea768c Added some trimming functions to Rectangle. 2013-10-20 20:38:45 +01:00
jules
9b4566a2f0 Added some Rectangle and Point scaling methods. 2013-09-17 09:38:32 +01:00
jules
fecba9c31c New class StringRef, to improve performance in function calls that can take either a String or a raw string literal. Modified a few other classes to take advantage of this. 2013-09-09 20:07:17 +01:00
jules
d28ebfdb36 Stripped out some unnecessary boilerplate includes from juce_graphics. 2013-08-24 10:49:25 +01:00
jules
1e3973a212 Doxygen warning fixes and extra comments. 2013-08-21 17:19:47 +01:00
jules
bd3a75e726 Added some more translation methods to AffineTransform, and a couple of methods to Rectangle and RectangleList 2013-08-06 15:24:51 +01:00
jules
43e53f01b4 Made sure that Rectangle::operator/ can cope with an integer argument. 2013-07-31 15:05:27 +01:00
jules
ed220632ed Minor clean-ups. 2013-07-31 13:16:08 +01:00
jules
69f75c344d Workarounds to get Rectangle<int>::getSmallestIntegerContainer() to work in VC2010 2013-07-30 23:14:01 +01:00
jules
8c7a35addb Fixed some obscure rounding errors in Rectangle. 2013-07-30 17:16:56 +01:00
jules
6a6f42ddc9 Workarounds for GCC not understanding friend template classes in RectangleList. 2013-07-29 08:55:55 +01:00
jules
1b9a60e52c Added a templated type to the RectangleList class. If you've used this class and these changes cause syntax errors, all you need to do to your code is to replace "RectangleList" with "RectangleList<int>" and everything will work as it did before. 2013-07-28 18:08:28 +01:00
jules
7d167aef87 Added a new AffineTransform::scaled method and improved Rectangle::operator*= 2013-07-26 17:19:07 +01:00
jules
072c27d7f4 Renamed Rectangle::transformed to Rectangle::transformedBy, in order to match the method name in Point, and allow easier use of these classes in templates. 2013-07-25 18:13:27 +01:00
jules
cf01cae2ea Changed Rectangle::transformed to use getSmallestIntegerContainer on its result when used on a non-float rectangle type. 2013-07-25 14:28:29 +01:00
jules
b506a13ba2 Documentation fix. 2013-07-22 19:51:32 +01:00
jules
3d74717349 Bit of tidying-up in the Point class, and some spelling fixes in comments. 2013-07-22 13:18:29 +01:00
jules
5a1112ab94 Updated the format of the header include guard macros. 2013-07-17 16:26:35 +01:00
jules
518e302d4a Avoided some VC warnings. 2013-07-04 20:51:27 +01:00
jules
d086d55b44 Added division operator to Rectangle. 2013-07-04 13:26:42 +01:00
jules
03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 2013-06-13 13:17:12 +01:00
jules
4d0cd69895 Minor tidying 2013-06-04 10:41:53 +01:00
jules
4c147d94a5 Fix to Rectangle::intersects 2013-04-24 11:29:39 +01:00
jules
f1f237ebbf Added Rectangle::toDouble() method 2013-03-19 19:50:30 +00:00
jules
b627a75c21 Minor docs updates. Added a method to Rectangle. 2013-03-15 12:29:48 +00:00
jules
79cad7771a Fix for Rectangle::constrainedWithin() 2013-01-16 20:23:30 +00:00