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

79 commits

Author SHA1 Message Date
Julian Storer
5d30aecaf2 Removed a couple of old classes: MagnifierComponent (you can use Component::setTransform() instead), and MouseHoverDetector (wasn't really very useful anyway - if you need it, please just take a copy of the class and use it in your own code). Renamed the PopupMenuCustomComponent as an inner class PopupMenu::CustomComponent. Added a default constructor for MidiMessage. 2011-01-09 21:59:02 +00:00
Julian Storer
ece4205d3d Refactored some operators in Time and RelativeTime, and made the Time constructor explicit. 2010-12-21 18:22:05 +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
2bb0c77216 New class: WeakReference. Used this to clean up and simplify implementation of Component::SafePointer and BailOutChecker. 2010-12-20 16:52:20 +00:00
Julian Storer
4d6b2daa93 Tweaks to fake mouse-move behaviour. Improvements to WASAPI performance. AudioFormatManager is no longer a singleton - just create your own instance and use it instead. 2010-12-16 16:32:13 +00:00
Julian Storer
a37d5041dd Added a class Graphics::ScopedSaveState. Fixed a window dragging problem in win32, some VC6 compile errors, and made the jucer makefile builder use the target binary folder. 2010-12-13 20:06:12 +00:00
Julian Storer
76b128d90e Added 'new folder' button to save dialogs. Fixes for mouse position/popup menus, ComponentDragger, ComboBox. 2010-12-11 19:56:47 +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
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
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
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
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
b80bb4bf38 Small change to method in RectanglePlacement and Drawable to use Rectangles instead of bare coordinates. Fix to make ValueTree::sort use an UndoManager, and to prevent different mouse buttons being interpreted as a double-click. 2010-10-18 16:04:32 +01:00
Julian Storer
e414760a26 Cleaned up a few compiler warnings + build problems. 2010-10-14 18:43:20 +01:00
Julian Storer
55e94f19d6 Minor code clean-ups. 2010-08-24 21:09:28 +01:00
Julian Storer
dcaa6ceb36 Minor fixes for mac 10.4 atomics, mouse dragging, tooltips. 2010-07-28 13:57:58 +01:00
Julian Storer
ccd8566e96 Fix for iOS launching. Tweak for win32 font rendering. Added a File::hostApplicationPath flag. 2010-07-23 12:33:27 -05: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
6c4d8023bd Cleaned up and restructured some app startup code. Updated some iPhone settings. 2010-07-10 11:41:07 +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
419aac8074 Minor clean-ups. 2010-06-10 12:26:43 +01:00
Julian Storer
0e59a56a51 Couple of minor changes to Line and Graphics methods. Small fix for mouse event handling. 2010-06-08 19:11:26 +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
1baaa016bd Tidied up some linux messaging code. Fixed a couple of small graphic bugs. 2010-05-30 12:56:29 +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
1751beed57 Code clean-ups. Jucer development. 2010-05-12 23:42:49 +01:00
Julian Storer
266494a1b9 Minor code clean-ups. 2010-05-08 18:16:09 +01:00
Julian Storer
b9443c8ba3 Cleaned up some compiler warnings. Jucer development. 2010-05-04 21:27:45 +01:00
Julian Storer
b56494b29b Replaced the old atomic ops with a templated Atomic class. Minor tweaks to directory browser. Jucer development. 2010-05-03 21:23:45 +01:00
Julian Storer
2bb19e2a4d Modal mouse event fix. Jucer development. 2010-05-01 10:44:04 +01:00
Julian Storer
27d1d9a9d9 Minor clean-ups. 2010-04-29 16:30:38 +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
5093ecbc84 Minor clean-ups. Jucer development. 2010-04-27 19:19:18 +01:00
Julian Storer
27506c2120 Copyright notice update. 2010-04-23 09:37:13 +01:00
Julian Storer
0490668407 Small socket fix. Minor changes to MouseCursor static data. 2010-04-16 10:04:53 +01:00
Julian Storer
0fe89aa299 Fixed a few minor warnings found by valgrind. 2010-04-15 20:51:51 +01:00
Julian Storer
d4435ca8b8 Minor clean-ups. Jucer development. 2010-04-14 20:08:21 +01:00
Julian Storer
00ac238956 ResizableBorderComponent fix. Jucer development. 2010-04-04 09:52:03 +01:00
Julian Storer
cc5f0a50b9 Internal changes to ResizableBorderComponent to expose a Zone class. 2010-04-02 21:20:11 +01:00
Julian Storer
1ef2087154 Minor clean-ups. Jucer development. 2010-04-01 16:57:40 +01:00
Julian Storer
b67c077f0d Minor code clean-ups. 2010-03-27 18:29:09 +00:00
Julian Storer
59569fb58e Documentation fixes. 2010-03-23 20:56:48 +00:00
Julian Storer
7bc8db2ff4 Minor code style tweaks. 2010-03-21 12:06:36 +00:00
Julian Storer
148e9f8d25 Minor code style tweaks. 2010-03-20 22:18:59 +00:00
Julian Storer
06fb01aab3 Minor string tweaks. 2010-03-15 18:48:36 +00:00
Julian Storer
34201bf815 Linux build fixes. 2010-03-15 15:03:31 +00:00