1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules/juce_gui_basics
reuk 85226c33d4
Mac MainMenu: Allow commands without modifiers to be passed to peer
Ideally, we want to pass shortcut keys to the component to handle, and
only fall back to invoking a menu item if the component was unable to
handle the keyboard event, or if the action was triggered by
clicking/selecting an item in the menu itself. The old implementation
tried to work out whether the action was triggered by a shortcut by
checking the event's characters and modifiers. This method was
inaccurate, because some shortcuts (such as arrow keys) may add
unexpected numpad/function modifier flags.

We now try handling shortcut keys directly in the peer, and pass events
up to the superclass (which will forward them to the main menu) if the
event could not be handled.

This commit also adjusts some Objective-C method signatures to use the
correct string encoding for the BOOL type.
2021-07-14 14:49:05 +01:00
..
accessibility Accessibility: Added InternalAccessibilityEvent::elementMovedOrResized 2021-06-16 17:22:35 +01:00
application Updated all license headers 2020-06-29 08:30:22 +01:00
buttons Update Button state after sending click callback in Button::mouseUp() 2021-07-12 09:36:46 +01:00
commands PopupMenu: Avoid dismissing PopupMenus in bridged plugin editors 2021-06-08 14:57:42 +01:00
components Use C++14 lambda capture initialisers for initialising deletion checkers 2021-07-12 11:58:29 +01:00
desktop Use C++14 lambda capture initialisers for initialising deletion checkers 2021-07-12 11:58:29 +01:00
drawables Accessibility: Disable accessibility for Drawable base class 2021-07-01 16:23:48 +01:00
filebrowser Clarify some FileChooser example code 2021-07-06 08:06:17 +01:00
keyboard Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics 2021-05-10 10:53:14 +01:00
layout Use C++14 lambda capture initialisers for initialising deletion checkers 2021-07-12 11:58:29 +01:00
lookandfeel Windows: Fix and suppress some analysis warnings 2021-05-26 15:34:26 +01:00
menus Set the default value of JUCE_MODAL_LOOPS_PERMITTED to 0 2021-06-30 13:01:14 +01:00
misc Accessibility: Disable accessibility for JUCESplashScreen 2021-06-11 13:46:14 +01:00
mouse Added floating-point implementations for some Component hit-testing methods to improve reliability when dealing with scaled Components 2021-06-08 14:14:22 +01:00
native Mac MainMenu: Allow commands without modifiers to be passed to peer 2021-07-14 14:49:05 +01:00
positioning CharacterFunctions: Add new function to move pointer past whitespace 2021-02-18 10:54:29 +00:00
properties Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics 2021-05-10 10:53:14 +01:00
widgets Use C++14 lambda capture initialisers for initialising deletion checkers 2021-07-12 11:58:29 +01:00
windows Accessibility: Disable accessibility for TooltipWindows to prevent them from interfering with focus 2021-07-05 12:07:30 +01:00
juce_gui_basics.cpp Accessibility: Check if any accessibility clients are active before posting notifications and announcements 2021-06-16 17:22:00 +01:00
juce_gui_basics.h Update the minimum C++ standard to C++14 2021-06-24 16:09:48 +01:00
juce_gui_basics.mm Updated all license headers 2020-06-29 08:30:22 +01:00