1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
Commit graph

39 commits

Author SHA1 Message Date
Julian Storer
b70e0a28d2 First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum.. 2011-08-12 10:04:52 +01:00
Julian Storer
0853a9b686 Removed const-ness from some return types to take advantage of future c++0x advantages. 2011-06-15 20:32:29 +01:00
Julian Storer
b047d9be53 More 'nullptr' updates and minor clean-ups. 2011-04-07 22:20:25 +01:00
Julian Storer
46c3a6bbe5 CustomTypeface unicode fix. Misc nullptr additions. 2011-04-07 16:49:14 +01:00
Julian Storer
f04309f44a Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers. 2011-04-07 13:49:01 +01:00
Julian Storer
5d98779f19 Updated the date in the copyright notice. 2011-03-09 11:36:34 +00:00
Julian Storer
faecab9ca5 Refactoring of Drawables with new class MarkerList. Fixes for Mac 10.5 SDK includes and minor change to win32 repainting. 2010-12-30 18:07:29 +00:00
Julian Storer
9973f5a81e New class ComponentBuilder, and some refactoring of Drawables to use it. 2010-12-29 23:11:05 +00:00
Julian Storer
a37d5041dd Added a class Graphics::ScopedSaveState. Fixed a window dragging problem in win32, some VC6 compile errors, and made the jucer makefile builder use the target binary folder. 2010-12-13 20:06:12 +00:00
Julian Storer
a5cf4030f5 New class LeakedObjectDetector, and JUCE_LEAK_DETECTOR macros for spotting leakages in a neat, cross-platform way. Used these to replace all the old juce_UseDebuggingNewOperator stuff in all the classes. Also some drawable and component transform fixes. 2010-11-29 12:24:55 +00:00
Julian Storer
1629f9f66a Created a new method Graphics::beginTransparencyLayer(), to help with compositing semi-transparent rendering. 2010-11-26 17:29:27 +00:00
Julian Storer
640a335537 Big change for Drawables - they now inherit from Component, so can be added directly to other components and will draw themselves, rather than being painted into a graphics object (although you can still use them that way if you want to). 2010-11-26 13:02:40 +00:00
Julian Storer
a25d9206d1 Refactored some Drawable classes and added DrawableRectangle. Fixed a problem with ApplicationCommandManager. 2010-10-21 15:46:25 +01:00
Julian Storer
ea16741b3d Tweaks to the win32 camera capture code to reduce CPU load. 2010-10-18 21:03:17 +01:00
Julian Storer
3e30e09afa Documentation fixes. Mac OpenGL fix. PositionableAudioSource tweak. Added new class: Expression, and changed RelativeCoordinate to use an Expression to store its position. 2010-08-18 08:36:30 +01:00
Julian Storer
a4aca30079 Refactored the MemoryOutputStream constructors and added some new features. Tidied up some stream methods to avoid relying on the stream length, which can be unreliable in http streams. Tweaked some mac atomic functions. Fixed some win32 dllexport declarations. 2010-07-05 13:37:38 +01:00
Julian Storer
d93a3a8ddf Internal changes to drawable gradients. Fix for AudioFormat bug. 2010-06-18 15:32:31 +01:00
Julian Storer
640042dc64 Minor posix tweaks. Added a tag value to images. Internal changes to Drawables. 2010-06-04 12:34:32 +01:00
Julian Storer
0c27487eca Minor fixes for MouseEvent, posix mutexes, FillType. 2010-06-03 10:28:18 +01:00
Julian Storer
24673283eb Major change to the way the Image class works, making it use value semantics and internally shared data (see the forum notes for more info on this). Also minor changes to win32 browser plugin object ref counting and linux millisecond timers. 2010-06-01 18:01:13 +01:00
Julian Storer
0c541cfba2 More changes to Drawables + Jucer development. 2010-05-29 13:05:34 +01:00
Julian Storer
8e1b74a8fc More internal changes to drawables. Linux URL header retrieval. Small fix for AudioProcessorPlayer. Jucer development. 2010-05-26 20:25:49 +01:00
Julian Storer
1b6eb960e3 Added HTTP header retrieval functionality to the URL class. More drawable and Jucer development. 2010-05-25 14:31:50 +01:00
Julian Storer
8ff6737261 Major changes to the way Drawables are converted to ValueTrees (with more changes still to come in this area). Important fix to DirectoryIterator. Minor fix for ASIO. Jucer development. 2010-05-21 22:29:31 +01:00
Julian Storer
9d00c15b67 Stage 1 of a redesign of Drawables - instead of a DrawableComposite storing a tranform for each child, each type of drawable now stores its own transform, and these are represented as remapped points instead of affine transforms. Plus, lots of minor tweaks and jucer development. 2010-05-19 14:42:14 +01:00
Julian Storer
5093ecbc84 Minor clean-ups. Jucer development. 2010-04-27 19:19:18 +01:00
Julian Storer
27506c2120 Copyright notice update. 2010-04-23 09:37:13 +01:00
Julian Storer
841a6665bd Minor string literal tidy-ups. 2010-03-23 17:36:12 +00:00
Julian Storer
7bc24ae42a The Point and Rectangle classes are now templated, so can be used for either float or int co-ordinates. This means that wherever you've used these classes, you'll need to replace them with Rectangle<int> or Point<float> in your code. A couple of methods in Path have changed to take advantage of the new ability. 2010-02-07 00:52:30 +00:00
Julian Storer
e61e8f6775 Changed some 'int's to 'size_t's, to improve 64-bit compatibility. Also changed jmin and jmax to use templates, so they can take any type. These changes might mean that you'll need to add some more explicit casts to get your existing code to compile, but this is actually a good thing - it brought to light a few dodgy implicit casts in my code, and may do the same in yours. Also added a function roundToInt(), which replaces roundDoubleToInt() and roundFloatToInt(), but takes any size of floating point number (I've left the old roundDoubleToInt() and roundFloatToInt() functions there for convenience, but will probably remove them in the future). 2010-01-14 14:49:25 +00:00
Julian Storer
c22c06c80c New class: ScopedPointer, which auto-releases a pointer when it goes out of scope. I've used this extensively to replace a lot of pointer deletions with more RAII-style patterns. 2010-01-02 23:01:18 +00:00
Julian Storer
80753f4c03 Lots of minor changes to prevent warnings. Small fixes to Path, AudioThumbnail, ValueTree, OutputStreams. Tweaks to convert Drawables to/from ValueTrees. New method to write XML to a stream. 2009-12-16 21:13:46 +00:00
Julian Storer
1e1c9944c9 Removed methods Graphics::getCurrentFont and Graphics::getCurrentColour, because these methods will become impossible for future native drawing contexts. This required a couple of minor tweaks to LookAndFeel and Drawable methods. Also fixed native CoreGraphics drawing of transparent windows. 2009-10-31 15:26:22 +00:00
Julian Storer
a90a65343c whitespace tidying-up 2009-09-16 20:31:20 +01:00
Julian Storer
3355029c6c Fixed a few minor issues and added code to drawables for loading/saving them (this is work-in-progress: not for public use yet!) 2009-09-14 13:23:26 +01:00
Julian Storer
a327ca8dc9 Updated a method name in Drawable to avoid overloading conflicts 2009-08-27 17:16:11 +01:00
Julian Storer
955043fb48 Minor whitespace tidy-up 2009-08-27 16:22:39 +01:00
jules
c41ae8188d Changed drawables to correctly render semi-transparently; added accessors for properties of some brush classes. 2009-08-27 09:07:00 +00:00
jules
4d16424d9c Rearranged the layout of the source tree, giving it a slightly flatter directory structure. Also fixed a small bug with DragAndDropComponents that was stopping the toolbar customisation working properly. 2009-08-22 21:57:23 +00:00
Renamed from src/juce_appframework/gui/graphics/drawables/juce_Drawable.cpp (Browse further)