jules
|
dc9e0cb9bb
|
Added some new versions of Graphics::drawText and drawFittedText that take Rectangle parameters.
|
13 years ago |
jules
|
006e324114
|
Moved the Graphics::drawBevel() method into LookAndFeel. Fixed an introjucer caret colour bug.
|
13 years ago |
jules
|
b1d73f2086
|
Minor internal refactoring and clean-ups.
|
13 years ago |
jules
|
1e9e6cbf79
|
New methods for Graphics, CallOutBox.
|
13 years ago |
jules
|
f5d72f1406
|
Removed the style parameter from Graphics::setFont(), because if the current font doesn't support that style, it'll give the wrong results. If this breaks your code, just wrap your arguments in a Font constructor, e.g. g.setFont (Font (mySize, myStyle));
|
13 years ago |
jules
|
295d125142
|
Stopped using the old BEGIN_JUCE_NAMESPACE macros, and just used hard-coded namespaces where necessary instead. The macro definitions are still there, so this shouldn't affect anyone's code.
|
13 years ago |
jules
|
51a81f5f4d
|
Fix for Graphics::drawBevel. Minor introjucer changes.
|
13 years ago |
jules
|
aff5fea6b4
|
Minor introjucer clean-ups.
|
13 years ago |
jules
|
27d7185f34
|
OSX10.4 menu fix. Graphics::drawSingleLineText justification.
|
13 years ago |
jules
|
b258976e6a
|
Internal graphics refactoring.
|
13 years ago |
Julian Storer
|
2c328dfedc
|
Changed some return types from being const objects to non-const objects (for better c++11 compliance in future). This may mean that you need to remove the 'const' from your own code if you override the virtual methods that have changed.
|
13 years ago |
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..
|
13 years ago |
Julian Storer
|
9a15f10e4f
|
Internal file reorganisation.
|
14 years ago |
Julian Storer
|
67e22bbb56
|
Added selection to treeview persistent state. Minor optimisations to AudioThumbnail. Added FTP password support for win32 networking. Cleaned up some file dependencies and altered some return value types to allow better c++0x forwarding behaviour.
|
14 years ago |
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.
|
14 years ago |
Julian Storer
|
5d98779f19
|
Updated the date in the copyright notice.
|
14 years ago |
Julian Storer
|
e7f4dac9f9
|
Removed the PositionedRectangle class (this has been superseded by the RelativeRectangle class. If you still need PositionedRectangle in your code, just grab a copy of the class from the last revision and put it directly into your codebase). Changed the BorderSize class to be templated like Point, Line, Rectangle, etc - if you've used a BorderSize anywhere, just replace "BorderSize" with "BorderSize<int>" to get it compiling again. Updated Graphics::drawDashedLine to take a Line object.
|
14 years ago |
Julian Storer
|
5f347bc999
|
Updated the path flattening code to correctly observe tolerance values, and made the tolerances adapt to the scaling being used when drawing to a transformed graphics context. Fixed a small issue with focus listeners, and a mac menu dismissal problem.
|
14 years ago |
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.
|
14 years ago |
Julian Storer
|
1629f9f66a
|
Created a new method Graphics::beginTransparencyLayer(), to help with compositing semi-transparent rendering.
|
14 years ago |
Julian Storer
|
67c919790a
|
Fixes for the new component transformation code.
|
14 years ago |
Julian Storer
|
4cfdcb69fd
|
Updated the ChangeBroadcaster class - sendChangeMessage() now has no parameters, and ChangeListener::changeListenerCallback() no longer provides a void*, it provides the ChangeBroadcaster* that triggered the callback. Also deleted the ChangeListenerList class, as it didn't offer anything that ChangeBroadcaster doesn't do. Changed the new jucer to expand preprocessor tokens in the header search path string.
|
14 years ago |
Julian Storer
|
377b9ff2c4
|
Added a couple of useful constructors to some stream classes. Replaced some old static functions with anonymous namespaces.
|
14 years ago |
Julian Storer
|
4e1c66b02e
|
Added an alpha setting to Components with Component::setAlpha(). Removed Component::fadeOutComponent method and instead refactored the ComponentAnimator class to provide fading in and out of the alpha level. Added a method Desktop::getAnimator() that provides a global instance of a ComponentAnimator so that there's no need to create your own.
|
14 years ago |
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.
|
15 years ago |
Julian Storer
|
258414bad2
|
Fix for checkerboard rendering. Minor clean-ups.
|
15 years ago |
Julian Storer
|
e3d97820d1
|
New methods for Path, Line, ValueTree. Changed the Graphics::fillCheckerBoard parameters to take a Rectangle object. Fixed Component::centreWithSize to handle multi-monitor setups.
|
15 years ago |
Julian Storer
|
419aac8074
|
Minor clean-ups.
|
15 years ago |
Julian Storer
|
0e59a56a51
|
Couple of minor changes to Line and Graphics methods. Small fix for mouse event handling.
|
15 years ago |
Julian Storer
|
00b082caf6
|
New arrowhead and polygon methods for Path and PathStrokeType. Tweaked a few Path methods to take Line and Point objects instead of loose coordinate parameters. Various new geometric methods and more refactoring of Drawables. Misc fixes for CoreGraphics, AudioFormat.
|
15 years ago |
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.
|
15 years ago |
Julian Storer
|
5a9e18d3a5
|
Added the option to coalesce UndoableActions, and implemented this for ValueTree undo. Jucer development.
|
15 years ago |
Julian Storer
|
42666db484
|
Some win32 clean-ups.
|
15 years ago |
Julian Storer
|
082dff25dd
|
Refactored the Line class to be templated (to update old code, just replace "Line" with "Line<float>"). Corrected a mac ppc build problem.
|
15 years ago |
Julian Storer
|
27506c2120
|
Copyright notice update.
|
15 years ago |
Julian Storer
|
1ef2087154
|
Minor clean-ups. Jucer development.
|
15 years ago |
Julian Storer
|
28518aa834
|
Tweaked some component methods. Added function call types for some operators for compatibility with RTAS build.
|
15 years ago |
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.
|
15 years ago |
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).
|
15 years ago |
Julian Storer
|
97035bb3a1
|
Removed the (rather pointless) granularity value from the array objects. Converted a few macros into functions and other misc code clean-ups.
|
15 years ago |
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.
|
15 years ago |
Julian Storer
|
01f109e857
|
More graphics updates - new class FillType, which is now used by DrawablePath to specify its colours. New methods Graphics::clipToPath and Graphics::clipToImageAlpha. Added dynamic Xinerama loading.
|
15 years ago |
Julian Storer
|
f6a088961f
|
Removed the Brush classes - everything they used to do can still be done by other methods in the Graphics class. Also did more optimising of the graphics contexts, both software and CoreGraphics.
|
15 years ago |
Julian Storer
|
93e4236b57
|
Changes for VC6 compatibility; added a couple of trimming methods to String; added a parameter to Socket::createConnection
|
15 years ago |
Julian Storer
|
4d000ff593
|
Rewrote EdgeTable so that it now always renders in perfect quality - this makes the old oversampling quality options defunct and I've removed them.
|
15 years ago |
Julian Storer
|
405d934e68
|
Massive, long-overdue spring-cleaning and refactoring of the LowLevelGraphicsContext, Typeface and Font classes. Functions such as glyph rendering can now be handled directly by a native graphics context (and glyph rendering is now implemented natively on the Mac). The Typeface class is now an abstract base class with much minimal functionality, and platform-specific subclasses are used for font loading. A new class CustomTypeface lets you load and save typefaces in the old juce binary typeface format. For most people, these changes probably won't require you to alter your code, but you might need to change a few classnames in your code if you're using typefaces directly.
|
15 years ago |
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.
|
15 years ago |
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.
|
15 years ago |
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.
|
15 years ago |
jules
|
eb32240e95
|
Updated the text of the copyright/license blurb at the top of each source file.
|
15 years ago |