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

220 commits

Author SHA1 Message Date
Julian Storer
df5f73910b Fixed the position of the drag image when dragging listboxes. Minor fix for mac graphics contexts, and win32 webcam latency adjustment. 2009-12-24 12:30:25 +00:00
Julian Storer
9000fc6604 Moved an assertion that was getting triggered unnecessarily 2009-12-23 10:14:40 +00:00
Julian Storer
a2183daee5 VC6 compatibility updates 2009-12-22 20:59:32 +00:00
Julian Storer
24a121e4dd Fixed a small streaming bug, tidied up some warnings. 2009-12-22 14:53:12 +00:00
Julian Storer
aa98aa03ec Removed a few compiler warnings 2009-12-21 16:51:57 +00:00
Julian Storer
af7d523f4f Fixed stack allocation bug in optimised win32 builds 2009-12-21 11:49:38 +00:00
Julian Storer
796848eb8b Updated the amalgamated files 2009-12-18 16:38:15 +00:00
Julian Storer
2a43959884 minor tweaks to TableHeaderComponent and ZipFiles 2009-12-17 15:49:43 +00:00
Julian Storer
4912b6d5ab Fixed a mac memory leak when using native sub-menus. 2009-12-16 23:17:14 +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
d9dc6b1cfc New class: ValueTree for storing undoable structured data. Also added tooltip support to the ListBoxModel. 2009-12-12 13:27:07 +00:00
Julian Storer
1f38660d94 Added mac NSException catching and tidied up some warnings. 2009-12-11 17:54:58 +00:00
Julian Storer
ce7def1f9d Changes for VC6 comptibility. Fixed a typo in BitArray::toString. 2009-12-11 10:57:31 +00:00
Julian Storer
03b54862c5 Fixed a type in AudioSampleBuffer::copyFrom. Added a LookAndFeel::getMouseCursorFor method. Added a parameter to MidiMessage::isNoteOff 2009-12-09 15:44:27 +00:00
Julian Storer
c1e4c6c589 Added a parameter to MidiMessage::isNoteOn 2009-12-09 13:30:59 +00:00
Julian Storer
be5ecce1fe Added drag-and-drop target support to TreeViews. The TreeViewItem class now has methods that can be overridden to accept external and internal drags, and the TreeView provides some nice graphics to indicate the target insertion point. Also added a handy method Viewport::autoScroll, and options for positioning the dragged image supplied to DragAndDropContainer::startDrag 2009-12-09 13:08:38 +00:00
Julian Storer
1f6d9ec92c Added multiple-selection, and the ability to browse for both files and folders to the Juce file chooser dialog classes. This has involved changing a few methods, so if you're using these classes directly, you may need to tweak your code, but it should be very easy to do. 2009-12-08 16:07:47 +00:00
Julian Storer
9a39433405 Fixed a couple of tiny inaccuracies in the graphics code. 2009-12-03 22:52:35 +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
a8a602f7a2 Couple of small fixes for mac midi and win32 threads, and fixed a memory leak in the demo app. 2009-12-03 11:22:38 +00:00
Julian Storer
d6e3576234 Fixes for iPhone build and mac/iPhone CoreGraphics. Added ability to remove specified jobs from a ThreadPool 2009-12-02 14:21:33 +00:00
Julian Storer
ded840d456 Updated the demo to have a new graphics rendering test page - this tests a lot of the new graphics features and lets you swap between software/OS rendering engines. Also fixed a mac menu bug, and mac mouse event timestamps. 2009-12-01 22:25:38 +00:00
Julian Storer
15c32d3f3a Couple of fixes for the iPhone build 2009-12-01 14:12:03 +00:00
Julian Storer
95fcc168d8 More graphics updates, including fixes for CoreGraphics on PPC macs. Fix for keypress recursion in AU plugins, and fix for tabs in the CodeEditorComponent 2009-11-30 19:21:25 +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
dfc5fd54db Fix for setting up RTAS parameters and mac messaging 2009-11-27 19:32:18 +00:00
Julian Storer
537b90de53 Fixed broken RGB colours in loaded images on PC. 2009-11-27 17:33:51 +00:00
Julian Storer
6fdde63a63 Big rewrite of the LowLevelGraphicsSoftwareRenderer class, adding internal support for complex clipping regions - this will temporarily make font rendering quite slow, until it gets re-optimised for this new design. Changed the Image class to remove the lockPixelData methods, and replaced these with an object Image::BitmapData, which is easier to use. 2009-11-26 21:36:45 +00:00
Julian Storer
707c58186b Fixes to GlyphArrangement. Made the mac put quotes around filenames containing spaces before they are passed to anotherInstanceStarted() 2009-11-21 16:11:13 +00:00
Julian Storer
3d3c8ff957 updated the amalgamated files 2009-11-20 19:24:21 +00:00
Julian Storer
15a5c53bc0 Fix for an AU crash when running in 10.4. Added a PlatformUtilities method to get the version of OSX that's running. Added a workaround for a 10.4 OS bug when drawing gradients. Added some macros to allow CD burning and reading to be enabled independantly. 2009-11-17 16:21:18 +00:00
Julian Storer
93e4236b57 Changes for VC6 compatibility; added a couple of trimming methods to String; added a parameter to Socket::createConnection 2009-11-16 18:12:17 +00:00
Julian Storer
1c3b7fe2f8 Added missing file from last commit 2009-11-16 15:23:11 +00:00
Julian Storer
802f850015 Changed the way Mac messaging works internally to avoid shutdown problems with plugins. Updated some iPhone code. Fixed a CoreGraphics line drawing problem. 2009-11-16 15:19:16 +00:00
Julian Storer
9929d71c27 Fixed an image loading bug 2009-11-13 20:13:50 +00:00
Julian Storer
d779fa9759 The first working check-in of an iPhone build! Added an iPhone project for the normal juce demo, which runs.. although it isn't exactly designed for a hand-held form factor!
Also in this check-in is support for creation of custom Mac MIDI input and output devices, and an option to load URLs with the QuickTimeComponent
2009-11-13 16:17:22 +00:00
Julian Storer
ca727ec2bb Improvements to path rendering and fix for PathStrokeType generating incorrect paths for some shapes. Added OSX10.4 compatibility for new new typeface classes. 2009-11-10 17:45:06 +00:00
Julian Storer
dc83bf01e1 oops - the last check-in broke some path rendering code.. this fixes it. 2009-11-10 00:31:53 +00:00
Julian Storer
fea4fb8575 Fixed a typo in some ALSA code 2009-11-09 23:01:46 +00:00
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. 2009-11-09 22:46:18 +00:00
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. 2009-11-09 12:00:18 +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
Julian Storer
0b2f0f086c added a code-editor demo page to the juce demo and added some comments to the code editor classes 2009-11-04 13:23:42 +00:00
Julian Storer
f744dd9062 Initial check-in of a CodeEditorComponent class. Also tweaked ProgressBar to stop it sometimes moving too slowly. 2009-11-03 18:25:04 +00:00
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. 2009-10-31 15:26:22 +00:00
Julian Storer
ebeaa40689 Initial version of a CoreGraphics-based rendering context for the mac. Also an intial version of JACK support for linux. 2009-10-31 11:15:12 +00:00
Julian Storer
2d0600d594 fixed a missing TableListBox method; added a workaround to the mac code to ensure correct behaviour when repaint() is called during a paint() method 2009-10-29 15:58:05 +00:00
Julian Storer
facb48b04c tweak to RTAS shutdown for PT8; added tooltips for the TableListBox; started adding some iphone audio code (not yet usable) 2009-10-29 13:36:47 +00:00
Julian Storer
2e0808b1c5 fixed a build error, and tweaked menu bars to use the MenuBarComponent's look and feel for its popup menus 2009-10-28 09:00:11 +00:00