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

25 commits

Author SHA1 Message Date
Julian Storer
88ca4b9901 CoreGraphics alpha-channel clipping fix. 2011-01-12 10:20:27 +00:00
Julian Storer
99085429b5 Rewrote the AudioThumbnail class to support some new features like using readers and adding data directly to the thumb. Added an option to AudioFormatWriter::ThreadedWriter to take a thumbnail which it dynamically generates while recording. Added a couple of new maths functions: findMinAndMax, isPositiveAndBelow. 2010-12-03 23:36:00 +00:00
Julian Storer
a768d7410f Small fixes to drag-and-drop, leak detector. 2010-12-01 12:45:13 +00:00
Julian Storer
952b8c3940 Updated ComponentDragger to handle transformed components (this required a change to its parameters). Tidied up some classes with the JUCE_DECLARE_NON_COPYABLE macro. Changed some 3rd-party include statements to use angle-bracket quotes. 2010-11-29 16:22:06 +00:00
Julian Storer
b952084419 Workarounds for VC6. 2010-11-17 14:01:14 +00:00
Julian Storer
e299011789 Replaced the Image::getTag() method with a more versatile getProperties() method. Used this to set a flag called "originalImageHadAlpha" when loading images, which is set to indicate whether the original file had an alpha channel. 2010-10-21 18:07:16 +01:00
Julian Storer
6c4d8023bd Cleaned up and restructured some app startup code. Updated some iPhone settings. 2010-07-10 11:41:07 +01:00
Julian Storer
9f0c91196f Added method Image::getClippedImage(), which allows the use of images that refer to subsections of another image. This means that the the parameters to a couple of Graphics methods no longer need a clipping rectangle. Also dded a static Image::null object and another constructor for Image::BitmapData. 2010-07-09 13:35:50 +01:00
Julian Storer
419aac8074 Minor clean-ups. 2010-06-10 12:26:43 +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
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
1751beed57 Code clean-ups. Jucer development. 2010-05-12 23:42:49 +01:00
Julian Storer
9a55b0291e Rewrite of software renderer to improve vertical line drawing speed. 2010-05-09 20:52:21 +01:00
Julian Storer
9c5651fb8e Changed SparseSet to work with Range objects. Fixed array sorting bug. 2010-04-26 12:00:36 +01:00
Julian Storer
27506c2120 Copyright notice update. 2010-04-23 09:37:13 +01:00
Julian Storer
dca61e54a4 Added locking to NamedPipe. Added extra checking to Image::clear. Other minor tidying-up. 2010-03-19 10:37:27 +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
8bf4d88d97 Minor clean-ups. 2010-01-04 15:24:13 +00:00
Julian Storer
4ed1d791e5 New class HeapBlock, which provides a safe and object-oriented way to allocate heap space. I've used HeapBlocks to replace almost all uses of malloc/free throughout the codebase. 2010-01-02 14:55:44 +00:00
Julian Storer
6fdde63a63 Big rewrite of the LowLevelGraphicsSoftwareRenderer class, adding internal support for complex clipping regions - this will temporarily make font rendering quite slow, until it gets re-optimised for this new design. Changed the Image class to remove the lockPixelData methods, and replaced these with an object Image::BitmapData, which is easier to use. 2009-11-26 21:36:45 +00:00
Julian Storer
d779fa9759 The first working check-in of an iPhone build! Added an iPhone project for the normal juce demo, which runs.. although it isn't exactly designed for a hand-held form factor!
Also in this check-in is support for creation of custom Mac MIDI input and output devices, and an option to load URLs with the QuickTimeComponent
2009-11-13 16:17:22 +00:00
Julian Storer
cd88571081 Added methods Graphics::setTiledImageFill and Graphics::setGradientFill - these are now the preferred way to specify a fill type, rather than using the Brush classes (which will probably disappear at some point in the future). Also refactored and renamed some DrawablePath methods, which might require a few tweaks to your code if you use this class. 2009-11-05 17:59:44 +00:00
Julian Storer
ebeaa40689 Initial version of a CoreGraphics-based rendering context for the mac. Also an intial version of JACK support for linux. 2009-10-31 11:15:12 +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/imaging/juce_Image.cpp (Browse further)