attila
c05ec5f9d0
MenuBarComponent: Fix incorrect deactivation of the menu bar
Prior to this commit it was possible to get the menu bar deactivated
by moving the mouse to an adjacent menu item and then back again. If
the movement was quick enough the corresponding PopupMenu would be
dismissed and created again before the dismissal's async command
handler would run. The command handler would see that the dismissed
menu's index and the currently activated index are equal and
deactivate the menu bar.
2 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
ffee9b19de
MenuBarComponent: Avoid dereferencing dangling pointer when dismissing menus
3 years ago
ed
90eb878d16
Accessibility: Make createAccessibilityHandler() private in Component subclasses
3 years ago
ed
1028b6e5d1
Accessibility: Fix inaccessible MenuBarComponent items
3 years ago
ed
ec990202b1
Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics
4 years ago
ed
009d685179
Updated all license headers
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
hogliux
b936786f80
Remove the recently added shouldReleaseFocusOnMainMenuBarAccess flag and replace with something less intrusive
8 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
2fd89b0ac4
A few minor clean-ups.
10 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
c7506df13f
Changed some pass-by-references to pass-by-value to improve compiler optimisation.
12 years ago
jules
56bbab1537
(automated whitespace clean-up)
13 years ago
jules
295d125142
Stopped using the old BEGIN_JUCE_NAMESPACE macros, and just used hard-coded namespaces where necessary instead. The macro definitions are still there, so this shouldn't affect anyone's code.
13 years ago
jules
34840062ef
Made the x and y members public in the Point class.
13 years ago
Julian Storer
2a2677d7ca
Fix for incredibly subtle windows popupmenu problem.
13 years ago
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..
13 years ago
Julian Storer
f04309f44a
Added fake placeholder versions of the new c++0x 'noexcept' and 'nullptr' keywords, and altered the library classes to use these instead of 'throw()' and '0'. This shouldn't make any difference at all to existing code, but will enable better static checking with future c++0x compilers.
14 years ago
Julian Storer
5d98779f19
Updated the date in the copyright notice.
14 years ago
Julian Storer
2d10b0b43d
Changes and additions to provide alternatives to modal-loop functionality (Android can't run modal loops). New class ModalCallbackFunction providing quick objects for making callbacks to static functions. Changes to remove modal loops from most of the internal library classes. Added new methods to PopupMenu to provide easier async callbacks, and also a cleaner way of specifying options when showing a menu. Fix for PNG decoding of corrupted image files.
14 years ago
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.
14 years ago
Julian Storer
99085429b5
Rewrote the AudioThumbnail class to support some new features like using readers and adding data directly to the thumb. Added an option to AudioFormatWriter::ThreadedWriter to take a thumbnail which it dynamically generates while recording. Added a couple of new maths functions: findMinAndMax, isPositiveAndBelow.
14 years ago
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.
14 years ago
Julian Storer
645637ab09
Added some assertions, fixed a win32 mouse mouse cursor problem, tweaked PopupMenu::showAt().
14 years ago
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.
14 years ago
Julian Storer
3de314a824
Added a leak detector for Components.
14 years ago
Julian Storer
acbfe6c645
Couple of minor tweaks, and a fix for menu bars.
14 years ago
Julian Storer
d508109296
Refactored midi input code to allow unlimited syex length + partial sysex callbacks on win32. Fixed a few problems with menu bars, Quicktime, AudioUnits. Modernised some old win32 file chooser code. Tweaked some window border rendering.
14 years ago
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.
15 years ago
Julian Storer
27506c2120
Copyright notice update.
15 years ago
jules
af73276aea
Minor clean-ups.
15 years ago
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.
15 years ago
Julian Storer
08eb852103
Minor code clean-ups.
15 years ago
Julian Storer
06c63c63aa
Changed some methods that were using (x, y) parameters to use Point objects instead.
15 years ago
Julian Storer
c22c06c80c
New class: ScopedPointer, which auto-releases a pointer when it goes out of scope. I've used this extensively to replace a lot of pointer deletions with more RAII-style patterns.
15 years ago
Julian Storer
facb48b04c
tweak to RTAS shutdown for PT8; added tooltips for the TableListBox; started adding some iphone audio code (not yet usable)
15 years ago
Julian Storer
2e0808b1c5
fixed a build error, and tweaked menu bars to use the MenuBarComponent's look and feel for its popup menus
15 years ago
jules
4d16424d9c
Rearranged the layout of the source tree, giving it a slightly flatter directory structure. Also fixed a small bug with DragAndDropComponents that was stopping the toolbar customisation working properly.
15 years ago
jules
eb32240e95
Updated the text of the copyright/license blurb at the top of each source file.
15 years ago
jules
9c2d6fcd40
17 years ago
jules
5eea51a781
17 years ago
jules
15dfdff5f8
(automatic tidy-up of whitespace)
18 years ago
jules
03f66fe310
changes to the keyPressed and keyStateChanged methods, so that they return a bool
18 years ago
jules
315a8ea1f5
18 years ago