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

152 commits

Author SHA1 Message Date
jules
ddc1524742 Updated headers in demo project files. 2013-06-13 14:06:55 +01:00
jules
5a0cef7239 Added some static StringArray methods for tokenising. 2013-06-07 20:35:07 +01:00
jules
2f46a58238 Spelling correction. 2013-04-20 11:54:40 +01:00
jules
52b638ff40 Misc cleanups. 2013-04-09 19:42:47 +01:00
jules
af18430f08 Changed Label::setText to use a NotificationType parameter rather than a bool. 2013-04-01 14:33:27 +01:00
jules
69a08e3fb2 Removed some superfluous semicolons. 2013-01-20 11:50:05 +00:00
jules
e543949bda Minor clean-ups. 2013-01-05 20:07:22 +00:00
jules
82b9a6d6e5 Added a section to jucer template file. 2012-11-23 17:30:20 +00:00
jules
53401e246f Minor tweak to a Jucer template. 2012-10-10 21:08:05 +01:00
jules
faf92ea026 Old jucer: eliminated the 'L' string literal prefix. 2012-09-21 12:15:39 +01:00
jules
08dd8f62c7 Got rid of the remaining uses of juce_useDebuggingNewOperator in the old Jucer template. 2012-09-20 13:49:12 +01:00
jules
d7cea05104 Added a new struct DialogWindow::LaunchOptions, to provide a better mechanism than the existing static methods for launching dialog boxes. I've left the old static methods in there but will probably deprecate them at some point in the future. Also added a couple of methods to OptionalOwnedPointer. 2012-08-29 11:01:47 +01:00
jules
27ebcccb7e Update to the jucer's slider handling. 2012-08-04 15:40:59 +01:00
jules
391e99443e Added a method Desktop::getMouseWheelMoveCounter(), and made the existing getMouseButtonClickCounter() method non-static. 2012-07-15 13:59:13 +01:00
jules
df729be74a Cleaned-up class inheritance visibilities and encapsulation for some internal classes. 2012-07-12 14:10:46 +01:00
jules
9b323d9115 Jucer: fix for some generated Drawable code. 2012-07-10 16:32:27 +01:00
jules
a866a9c2cf Fixed a few Array::removeValue calls that I'd missed.. 2012-07-07 22:23:47 +01:00
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)); 2012-06-26 13:18:03 +01:00
jules
1977238869 Fix for a Jucer build error. 2012-05-29 10:32:21 +01:00
jules
87175c91f5 Changed the signature of MouseListener::mouseWheelMove() to take a struct MouseWheelDetails rather than raw floats. This will require updates in source code that uses mouse-wheel callbacks, but provides some new abilities, including a flag to indicate inverted wheel direction. 2012-05-25 16:42:36 +01:00
jules
20f0734863 Fix for jucer build error. 2012-05-24 19:52:39 +01:00
jules
4e754a838b Changed the constness of the return type of MenuBarModel::getMenuBarNames() and MenuBarModel::getMenuForIndex(). Easy to update your code to handle this, just remove the 'const'. 2012-05-23 21:31:44 +01:00
jules
53b1e351cf Changed the return values of some virtual methods in FileBasedDocument - Strings and File objects are now non-const, and the load/save functions return a Result object rather than a string. 2012-05-23 21:25:28 +01:00
jules
67c1ad6d4a Fixed some findParentComponentOfClass() calls. 2012-05-09 21:14:29 +01:00
jules
58db7eb880 Complete rewrite of the TextLayout class, to provide better support for native platform layout functions. It now works with the AttributedString class, to provide a pre-formatted AttributedString that can be drawn. 2011-11-25 14:25:12 +00:00
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. 2011-08-19 21:34:34 +01:00
Julian Storer
e7ca7963f0 VST fix. Updated the old jucer to be managed with an Introjucer project rather than manually. 2011-08-12 19:40:41 +01:00
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
74469aaa83 Refactored the PropertiesFile construction, introducing a PropertiesFile::Options structure to hold all the settings that previously were just passed as parameters. Also added a mandatory option for setting the OSX preferences path to be used - see the PropertiesFile::Options::osxLibrarySubFolder value for details.
Also on OSX, changed the location used for interprocess lock files to /var/tmp - this may affect applications which try to share locks with older builds of the same app.
2011-06-15 16:16:33 +01:00
Julian Storer
b3634661e6 Fix for subtle OSX main menu key focus problem. Minor clean-ups. 2011-05-26 20:00:07 +01:00
Julian Storer
f307045b92 Finally removed the juce_malloc and juce_free functions! Misc minor tidying-up. 2011-05-01 14:59:52 +01:00
Julian Storer
328cc11713 Removed the initialiseJuce_NonGUI() and shutdownJuce_NonGUI() methods - these aren't needed any more. Removed some old MidiOutput methods which weren't cross-platform. OpenGLComponent updates. Extra DropShadower safety. 2011-04-22 22:47:58 +01:00
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