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

120 commits

Author SHA1 Message Date
Julian Storer
e1e5018a91 New class: CaretComponent, which is created by the LookAndFeel. Fix for VST build on VC2005. 2011-03-18 11:37:04 +00:00
Julian Storer
5d98779f19 Updated the date in the copyright notice. 2011-03-09 11:36:34 +00:00
Julian Storer
04351861ae More string tidying-up. Possible fix for win32 mutexes failing under strange circumstances. 2011-02-23 17:02:58 +00:00
Julian Storer
533e7ba795 Many more String changes, so that finally the String class can store its internal data as either utf8, 16 or 32 - this is controlled by a flag JUCE_STRING_UTF_TYPE. It's currently set to utf-8 by default. 2011-02-22 15:33:30 +00:00
Julian Storer
bd19111417 Cleaned up some comments and uses of setContentComponent(). 2011-02-16 14:45:10 +00:00
Julian Storer
e235912ae5 Major overhaul of the String class, to rely more heavily on the CharPointer_UTF classes. On win32, the juce_wchar type is now a typedef for a 32-bit int, rather than the 16-bit wchar_t. The String class now has toUTF8(), toUTF16() and toUTF32() methods to retrieve the string in different formats. 2011-01-27 20:34:05 +00:00
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. 2011-01-13 12:55:26 +00:00
Julian Storer
5e67b6c7c5 Updated the old jucer code to work without the now-defunct MagnifierComponent. 2011-01-10 12:51:59 +00:00
Julian Storer
7becff2aa4 Reorganised some of the juce source tree folders. Added a new JUCE_DEPRECATED macro, and tested it by renaming Button::addButtonListener to Button::addListener for consistency with other widgets. Added Samplitude to the AudioHostType class. Fixed window maximising in win32. 2010-12-21 12:44:45 +00:00
Julian Storer
f402ce803b Fixes for button behaviour. 2010-12-14 17:49:52 +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
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. 2010-11-19 22:03:35 +00:00
Julian Storer
aef3203a28 Fixed an image resizing bug. Tweaked a couple of methods in KeyMappingEditorComponent and TableListBox to return references instead of pointers. Changed Component::contains() to take a Point rather than raw coordinates. Modernised some UI classes internally. Extended some internal graphics classes to handle affine transforms. 2010-11-15 14:04:01 +00:00
Julian Storer
dbdea7c6d4 Removed the Component::getComponentUID() method, and slimmed down the component class implementation slightly. 2010-10-29 18:55:48 +01:00
Julian Storer
0a1f3857ae Couple of minor fixes and clean-ups to various components. 2010-10-24 16:27:44 +01:00
Julian Storer
e387132522 Changes to XML parsing so that leading space inside text elements does not get trimmed. 2010-09-19 15:45:21 +01:00
Julian Storer
bd4df346bc For for Component::beginDragAutoRepeat(). Fix for ppc atomics compilation. Fix for jucer image code generation. 2010-07-17 11:36:12 -05:00
Julian Storer
1466389437 Jucer compile fix. 2010-07-08 17:41:08 +01:00
Julian Storer
e80ee06365 Added icon generation to the new Jucer (on win32 + mac), and added an icon to the juce demo. 2010-07-05 18:35:02 +01:00
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. 2010-06-23 11:02:30 +01:00
Julian Storer
2df522076b Improvements to mouse wheel response on the mac, allowing much better smooth-scrolling, and also mouse-wheel improvements in the Viewport class to make it respond more fluidly. Also misc small fixes and tweaks. 2010-06-15 19:57:55 +01:00
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. 2010-06-08 10:39:46 +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
42666db484 Some win32 clean-ups. 2010-05-10 11:16:00 +01:00
Julian Storer
636ed22863 Minor fixes to LassoComponent, ReferenceCountedArray, Plugin demo resizing. Added deselect method to FileBrowserComponent, made TreeViews update widths when scrolling sideways. Jucer development. 2010-04-29 10:46:26 +01:00
Julian Storer
db657c04cd Tidied up some minor compile warnings. 2010-04-23 13:07:17 +01:00
Julian Storer
27506c2120 Copyright notice update. 2010-04-23 09:37:13 +01:00
Julian Storer
1bc7a27676 Cleaned up AudioFilterStreamer to remove duplicate code and use AudioProcessorPlayer for its playout. Jucer update to compile .c files on linux. 2010-04-12 19:11:14 +01:00
Julian Storer
8afb26072f Minor updates to ValueTree, SelectedItemSet, zlib symbols, Jucer. 2010-03-31 23:00:27 +01:00
Julian Storer
49320b25d2 iPhone on-screen keyboard support, when a TextEditor or CodeEditor is focused. 2010-03-22 17:25:45 +00:00
Julian Storer
7bc8db2ff4 Minor code style tweaks. 2010-03-21 12:06:36 +00:00
Julian Storer
c794f7db64 Minor Jucer compilation fixes. 2010-03-20 13:58:20 +00:00
Julian Storer
e07c59c8f4 Eradicated the last vestiges of printf from the library. String::formatted and String::printf are now gone - please use the << operators instead! 2010-03-11 14:33:40 +00:00
Julian Storer
5fecb8a353 Created a new class Component::SafePointer that keeps a pointer to a component and automatically nulls it if the component is deleted - this makes it a much more elegant replacement for the old ComponentDeletionWatcher class. Removed Component::getComponentUnderMouse(), which doesn't fit with multi-touch interfaces - for similar functionality, use the Desktop::getMouseInputSource() methods to find out what MouseInputSources are available, and ask them about the component they are over or dragging. 2010-02-25 22:33:44 +00:00
Julian Storer
1fc2a55d82 Minor code clean-ups. 2010-02-22 15:32:26 +00:00
Julian Storer
250231a91f Added some new functionality to AudioCDBurner. 2010-02-18 12:46:41 +00:00
Julian Storer
d8e16ccc06 Converted some internal ComponentPeer methods to use Point and Rectangle rather than raw ints. 2010-02-17 10:12:46 +00:00
Julian Storer
7d9b068a49 Changed Font::findFonts() to use an Array instead of an OwnedArray. 2010-02-12 18:07:28 +00:00
Julian Storer
ba572201dd Changed the ComponentBoundsConstrainer to use Rectangles in its method parameters. Fixed some window repositioning problems with multiple monitors. 2010-02-09 18:39:52 +00:00
Julian Storer
bac6d332a3 Created an option to use the amalgamated template files as a set of 4 separate files instead of one big one, to help when compiling in low-memory environments. Moved all the amalgamated templates out of the src folder and into their own subfolder, so if you have files that include them, you might need to tweak the path that you're using. Also tweaked the amalgamator to deal with this new setup. 2010-02-07 15:18:10 +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
63d3d8a77e New class: NamedValueSet, which is a simple container for named var objects. Removed the clunky get/setComponentProperty methods and replaced them a single method Component::getProperties(), which returns a NamedValueSet for that component - if you've used component properties in your code you might need to change your syntax, but this is a cleaner solution, and using var objects for the data is more powerful than the old, string-based implementation. Also fixed a Mac image rendering bug. 2010-01-29 10:31:12 +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
a126b1918a Added a colour ID for TextButton text when the button is toggled on. Improved the class hierarchy implementation of some container classes. Made DSound cope better with dropped buffers. 2009-12-18 16:37:46 +00:00
Julian Storer
32d36148a0 Fix silly typo in last check-in and updated the Jucer to produce code that works with the new graphics methods. 2009-12-01 10:55:39 +00:00
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. 2009-11-30 12:02:51 +00:00
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. 2009-11-28 20:09:56 +00:00
Julian Storer
e53a0efb56 Fix for some audio plugin window focus issues. Changed the Jucer to use a CodeEditorComponent for its preview panel. 2009-11-09 11:50:21 +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
jules
61f0d6903e minor whitespace clean-up 2009-08-20 10:33:05 +00:00