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

29 commits

Author SHA1 Message Date
Julian Storer
85aeeea1e9 Moved a couple of midi files around. DrawableImage::hitTest tweak. 2011-03-04 21:53:04 +00:00
Julian Storer
963dbbd40a Tidied up a few win32 RTAS warnings. 2011-02-24 17:13:01 +00:00
Julian Storer
f01340e4aa Lots of refactoring of the Expression and relative coordinate classes. This has changed some of the semantics that were in place, so any early adopters who had been playing with RelativeRectangles may need to check their expressions. 2011-01-18 21:05:55 +00:00
Julian Storer
7478c7f9ab win32 font fix. Tidied up warnings in plugin host. More drawable refactoring. TabbedComponent fix. 2011-01-04 23:04:51 +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
cac0a7e3f8 Jack audio fix. New class LinkedListPointer. Couple of new menu methods in DocumentWindow. win32 window size constrainer tweak. 2010-12-26 22:56:10 +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
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
81d87a9a83 More drawable and geometry class development. Small fixes for viewport scrollbar visibility. 2010-06-06 13:51:07 +01:00
Julian Storer
d2492f5f3b Changes to DrawableText. Minor new methods for Rectangle, Line and AffineTransform. Optimisation for CoreGraphics clip bounds. 2010-06-05 19:09:56 +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
0c541cfba2 More changes to Drawables + Jucer development. 2010-05-29 13:05:34 +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
97982bcfdc Added new classes RelativeCoordinate, RelativePoint, RelativeRectangle. Small fixes to Line, TextEditor. 2010-05-19 21:04:29 +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
4c31b704ed Fix for Graphics::drawImage and small change to the parameters of Graphics::drawImageTransformed - if you were using subregions of images, note that this method now treats them slightly differently. Previously, the transform was relative to the origin of the image, but now it's relative to the origin of the subregion. 2009-12-03 12:14:21 +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
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_DrawableImage.cpp (Browse further)