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

79 commits

Author SHA1 Message Date
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
jules
ea83c7ee5e Collected all the platform-specific code from the different build folders into a new folder in src/native. Also removed support for OSX10.2 2009-08-20 09:19:37 +00:00
jules
2fee27c757 Updated the text of the copyright/license blurb at the top of each source file. 2009-08-18 22:10:34 +00:00
jules
d8ac79c574 Tidied up some mac project files and config settings, and tweaked the main readme file. 2009-08-14 10:08:56 +00:00
jules
646732530c Tidying up and removing some compiler warnings on the mac. 2009-08-13 19:37:19 +00:00
jules
ddc16536a3 Changed the Linux native code files to use the same amalgamation file structure as the mac and windows ones do; made a small adjustment to the amalgamator, and removed some redundancy from the amalgamated files (if you are amalgamating code yourself, please build a new copy of the amalgamator, as the old one won't work correctly on this new code); fixed a few minor build warnings in linux 2009-08-13 11:11:26 +00:00
jules
1ccb175762 tidied up whitespace in files 2009-08-12 15:54:25 +00:00
jules
f9f3351839 fix for linux midi output; fix for NSViewComponent; tidying up of demo audio plugin; fixed backslashes in the jucer's generated code; added addOrReplaceSorted method to ReferenceCountedArray; added an option to ThreadPool::removeAllJobs. 2009-08-12 13:22:36 +00:00
jules
18533f9984 changed the parameters to the keyStateChanged method, to sort out a problem with texteditor key interception that was otherwise impossible to fix. Made a couple of changes to the Mac NPAPI window positioning code; got rid of a couple of win32 warnings; added a couple of missing JUCE_API declarations; small fix to DragAndDropContainer; allowed var objects to be cast to a string. 2009-07-14 20:10:14 +00:00
jules
9f1a293e5c added a web browser page to the demo; made the DragAndDropContainer more robust if subcomponents are deleted while things are being dragged. 2009-07-13 19:45:22 +00:00
jules
04f0303b84 small fixes for fonts on mac and win32; changed Thread::setPriority to return a bool; added a File::getVolumeTotalSize() method; added a freetype path to the linux makefile; tweaked the jucer to make cached image variable names more readable; tweaked the hit-spots in the resizable borders of very small windows; moved ResizableWindow background painting into the LookAndFeel; made the broadcast flag of a DatagramSocket an optional constructor parameter; 2009-07-10 16:26:27 +00:00
jules
e24662925d Changed AudioDeviceManager to support multiple simultaneous callbacks - this will break some code, but is easy to change by using AudioDeviceManager::addAudioCallback instead of setAudioCallback. Also added a new variant class 'var' which will be used by future browser-plugin support and scripting. 2009-04-17 14:18:48 +00:00
jules
26e6cabe3d Improved the performance of MemoryOutputStream; fixed a process priority problem in VST; made TreeViews repaint when they get enabled or disabled; small fixes to ActiveXControlComponent and QuickTimeMovieComponent; implemented File::getVolumeName() for mac; 2009-03-12 21:27:59 +00:00
jules
540474d0ce Rewrote MessageManagerLock (again), hopefully now making it bulletproof. Also gave it an extra constructor and changed the threads section of the juce demo to use messagemanagerlocks to animate its components. Stopped using NSLog on the mac because it's unsafe for non-literal strings. Added a bodge to fake italic fonts on the mac if a real italic is unavailable. Added a new class: CallbackMessage, for triggering a custom callback on the event thread. Updated the RTAS plugin build to use the 8.0 version of the SDK. Fixed a problem with ComponentDraggers when working inside a magnifier component. 2009-03-07 12:02:32 +00:00
jules
08d0621c07 whitespace clean-up 2009-02-25 21:10:27 +00:00
jules
480c1f018d Fixed some places where JUCE_ONLY_BUILD_CORE_LIBRARY wasn't used correctly on the mac; fixed some string handling problems in posix file functions; small change for using QuickTimeAudioFormat on background threads; changed multi-value sliders to let the outer values to nudge the others when dragged; added an option to TreeViews to let the items draw in the left-hand margin; added some minor options to methods in StringPairArray, BitArray, Graphics, TabbedButtonBar. 2009-02-25 19:02:43 +00:00
jules
835b66084d Rearranged the default font mechanism so that the LookAndFeel class has a chance to create custom typefaces for global use. 2009-01-09 21:29:16 +00:00
jules
7bc8bf8bf9 Added some colour IDs for various properties of the ResizableWindow, DocumentWindow, TabbedButtonBar, TabbedComponent. 2009-01-09 20:04:52 +00:00
jules
d85394d1bd whitespace clean-up 2009-01-08 16:51:07 +00:00
jules
0bfdeae709 made MidiInput and MidiOutput virtual to allow them to be subclassed. Also some whitespace tidying-up. 2008-12-30 18:19:04 +00:00
jules
d387f99f67 minor fix to make the jucer cope with empty .h template files. 2008-12-30 13:32:15 +00:00
jules
69d0eb483e whitespace cleanup 2008-12-19 17:50:42 +00:00
jules
89544abbad fix for building juce_Socket.cpp on the OSX10.4 SDK, and a small PreferencesPanel fix 2008-12-18 19:32:39 +00:00
jules
248d26a2a8 fix to allow jucer to handle resource files beginning with a digit 2008-12-18 19:30:43 +00:00
jules
485b6b7e57 2008-11-18 16:14:02 +00:00
jules
d47cf9e8d6 2008-11-12 20:19:27 +00:00
jules
47cf2369e5 2008-10-27 17:51:24 +00:00
jules
a38a8aeb28 2008-09-13 13:19:47 +00:00
jules
bdd3968d1a 2008-06-17 12:32:55 +00:00
jules
29e2de7fd0 cosmetic cleanup 2008-06-17 11:53:12 +00:00
jules
0cd70fb557 2008-06-16 17:22:37 +00:00
jules
25e8d3f786 2008-06-05 21:15:37 +00:00
jules
e27be514bb 2008-05-19 19:32:17 +00:00
jules
d144ed647f 2008-05-19 15:39:34 +00:00
jules
e08ebbf2e6 2008-05-18 21:10:35 +00:00
jules
b1acc26909 2008-03-13 20:01:47 +00:00
jules
1418dcc0a4 2008-02-28 16:16:06 +00:00
jules
6d4d2b26a9 2008-02-06 19:50:02 +00:00
jules
fc1ec8b496 2007-11-24 14:17:51 +00:00
jules
313ed0004a 2007-11-16 19:12:38 +00:00
jules
c254ac4a0c 2007-10-30 14:40:05 +00:00
jules
8dd2db73d2 2007-10-24 09:27:20 +00:00