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

69 commits

Author SHA1 Message Date
Julian Storer
fc04109434 Small fixes for MSVC compiler problems. 2010-12-01 09:42:36 +00:00
Julian Storer
952b8c3940 Updated ComponentDragger to handle transformed components (this required a change to its parameters). Tidied up some classes with the JUCE_DECLARE_NON_COPYABLE macro. Changed some 3rd-party include statements to use angle-bracket quotes. 2010-11-29 16:22:06 +00:00
Julian Storer
a5cf4030f5 New class LeakedObjectDetector, and JUCE_LEAK_DETECTOR macros for spotting leakages in a neat, cross-platform way. Used these to replace all the old juce_UseDebuggingNewOperator stuff in all the classes. Also some drawable and component transform fixes. 2010-11-29 12:24:55 +00:00
Julian Storer
1629f9f66a Created a new method Graphics::beginTransparencyLayer(), to help with compositing semi-transparent rendering. 2010-11-26 17:29:27 +00:00
Julian Storer
645637ab09 Added some assertions, fixed a win32 mouse mouse cursor problem, tweaked PopupMenu::showAt(). 2010-11-26 12:57:24 +00:00
Julian Storer
67c919790a Fixes for the new component transformation code. 2010-11-22 13:20:44 +00:00
Julian Storer
2c2a11dee9 Added the ability to apply affine transforms to components - Component::setTransform(). Added a slider to the widgets demo to show this in action. Changed Component::reallyContains() to take a rectangle instead of raw coordinates. 2010-11-21 16:53:03 +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
b952084419 Workarounds for VC6. 2010-11-17 14:01:14 +00:00
Julian Storer
cc607e0a38 Fix for TableListBox. Minor tweaks for ResizableBorderComponent, Component. 2010-11-16 18:19:07 +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
79899f87e0 Fix for mouse event click counts. Fix for webkit mouse-moves. Cleaned up some Component coordinate conversion methods, adding some new ones for rectangle conversion. 2010-11-08 22:45:19 +00:00
Julian Storer
aa71477712 Fixed a TabbedComponent bug. Fixed fallback fonts on win32. 2010-11-05 10:21:28 +00:00
Julian Storer
59ac5a6d25 Fixed a bug in the Flac writer. Optimised BigInteger::getHighestBit(). Misc minor clean-ups. 2010-11-03 16:12:05 +00:00
Julian Storer
3de314a824 Added a leak detector for Components. 2010-11-01 21:10:54 +00:00
Julian Storer
c16f6f17a9 The Component class no longer derives from MessageListener - this was adding a lot of overhead to each component construction/destruction, and was rarely providing any benefit. You can add it as a base class yourself if you need it. Component::isValidComponent() has now been removed - it was never 100% reliable and its job can be done better using Component::SafePointer to watch for deletions. Also minor fixes to AudioDeviceManager and Midi sysex parsing. 2010-11-01 17:51:09 +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
377b9ff2c4 Added a couple of useful constructors to some stream classes. Replaced some old static functions with anonymous namespaces. 2010-10-26 16:46:19 +01:00
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. 2010-10-23 21:05:21 +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
907a9aaffe Tidied up a bunch of listener classes, making them child classes - e.g. ButtonListener becomes Button::Listener. Did this for ComboBox, Button, CameraDevice, Label, ScrollBar, Slider, TextEditor, TableHeaderComponent. (There are typedefs to make sure old code still works, though I might remove those in the future). 2010-07-11 11:46:36 +01:00
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. 2010-07-09 13:35:50 +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
b2e0b43960 Big rewrite to the internals of modal components, with a new class ModalComponentManager. This now lets you use modal components asynchronously, providing an object which will receive a callback when they are dismissed, rather than using a blocking event loop. ComboBoxes and some other components now show their popups asynchronously. 2010-06-13 19:09:20 +01:00
Julian Storer
0c27487eca Minor fixes for MouseEvent, posix mutexes, FillType. 2010-06-03 10:28:18 +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
8ff6737261 Major changes to the way Drawables are converted to ValueTrees (with more changes still to come in this area). Important fix to DirectoryIterator. Minor fix for ASIO. Jucer development. 2010-05-21 22:29:31 +01:00
Julian Storer
9d00c15b67 Stage 1 of a redesign of Drawables - instead of a DrawableComposite storing a tranform for each child, each type of drawable now stores its own transform, and these are represented as remapped points instead of affine transforms. Plus, lots of minor tweaks and jucer development. 2010-05-19 14:42:14 +01:00
Julian Storer
b46e94cffd New class StringPool. Removed the class var::identifier from its parent class, and renamed it "Identifier" - I've left a typedef in var to allow old code to still work, but I'll remove this at some point, so please switch to using the new classname directly. Jucer development. 2010-05-15 13:22:26 +01:00
Julian Storer
ed97872c1a Tidied up some filenames, cleaned up some code. Removed VoidArray class (just use Array<void*> instead) 2010-05-14 15:18:44 +01:00
Julian Storer
1751beed57 Code clean-ups. Jucer development. 2010-05-12 23:42:49 +01:00
Julian Storer
b9443c8ba3 Cleaned up some compiler warnings. Jucer development. 2010-05-04 21:27:45 +01:00
Julian Storer
7ed446b5fd Tweak to TextInputTarget. Code clean-ups. Jucer development. 2010-04-30 11:00:38 +01:00
Julian Storer
27506c2120 Copyright notice update. 2010-04-23 09:37:13 +01:00
Julian Storer
c85d54b1cb Minor tweaks. Jucer development. 2010-04-21 23:02:37 +01:00
Julian Storer
e663b1a04c Small fix for tab-key focus movement. Added default property option to ValueTree. RTAS change for mac shutdown problems. Rearranged Atomic methods. Jucer development. 2010-04-19 15:39:15 +01:00
jules
af73276aea Minor clean-ups. 2010-04-16 09:44:21 +01:00
Julian Storer
d4435ca8b8 Minor clean-ups. Jucer development. 2010-04-14 20:08:21 +01:00
Julian Storer
cc5f0a50b9 Internal changes to ResizableBorderComponent to expose a Zone class. 2010-04-02 21:20:11 +01:00
Julian Storer
8afb26072f Minor updates to ValueTree, SelectedItemSet, zlib symbols, Jucer. 2010-03-31 23:00:27 +01:00
Julian Storer
66643e85ac Minor string changes. 2010-03-26 18:23:54 +00:00
Julian Storer
841a6665bd Minor string literal tidy-ups. 2010-03-23 17:36:12 +00:00
Julian Storer
f316faaa04 Change posix juce_readFile to always return >= 0. Sorted out a casting error in carbon AU plugins. Tidied up a bunch of win32 warnings. 2010-03-22 21:05:42 +00:00
Julian Storer
81b2e7818d Couple of minor mouse-pointer fixes. 2010-03-15 14:08:40 +00:00
Julian Storer
4ed63991e2 Work-arounds for compiling with VC6. 2010-03-11 11:37:40 +00:00
Julian Storer
19c332a144 Minor plugin code fix + clean-ups. 2010-03-08 20:18:20 +00:00
Julian Storer
1e1e4ae848 Removed the ComponentDeletionWatcher class - use Component::SafePointer or Component::BailOutChecker instead. 2010-03-08 19:22:48 +00:00
Julian Storer
28518aa834 Tweaked some component methods. Added function call types for some operators for compatibility with RTAS build. 2010-03-08 18:16:24 +00:00
Julian Storer
2676bb02f2 Added ListenerList class and changed some components to use it for their listener dispatching. Sorted out bug in popup menus and win32 mouse wheel. 2010-03-07 17:45:10 +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