1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules
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
..
juce_analytics Update the minimum C++ standard to C++14 2021-06-24 16:09:48 +01:00
juce_audio_basics MidiFile: Allow reporting the type of parsed files 2021-07-05 12:21:36 +01:00
juce_audio_devices CoreAudio: Call AudioDeviceStop() on IO thread when stopping audio devices 2021-06-29 16:14:48 +01:00
juce_audio_formats BufferingAudioReader: Partially revert b3bdfdb3 to snap chunk start position to multiples of samplesPerBlock to fix stuttering MP3 playback on Windows 2021-06-25 14:44:35 +01:00
juce_audio_plugin_client Mac MainMenu: Allow commands without modifiers to be passed to peer 2021-07-14 14:49:05 +01:00
juce_audio_processors VST Host: Allow specifying the host name for VST hosts which do not have an Application instance 2021-07-14 14:47:56 +01:00
juce_audio_utils Use C++14 lambda capture initialisers for initialising deletion checkers 2021-07-12 11:58:29 +01:00
juce_box2d Update the minimum C++ standard to C++14 2021-06-24 16:09:48 +01:00
juce_core AudioProcessorGraph: Improve performance when building large graphs 2021-07-08 10:47:36 +01:00
juce_cryptography Update the minimum C++ standard to C++14 2021-06-24 16:09:48 +01:00
juce_data_structures Update the minimum C++ standard to C++14 2021-06-24 16:09:48 +01:00
juce_dsp AudioBlock: Remove unnecessary casts 2021-07-05 12:21:36 +01:00
juce_events Mac MainMenu: Allow commands without modifiers to be passed to peer 2021-07-14 14:49:05 +01:00
juce_graphics AudioProcessorGraph: Improve performance when building large graphs 2021-07-08 10:47:36 +01:00
juce_gui_basics Mac MainMenu: Allow commands without modifiers to be passed to peer 2021-07-14 14:49:05 +01:00
juce_gui_extra Mac MainMenu: Allow commands without modifiers to be passed to peer 2021-07-14 14:49:05 +01:00
juce_opengl OpenGL: Reinstate ifdef which was removed accidentally 2021-07-14 14:47:56 +01:00
juce_osc Update the minimum C++ standard to C++14 2021-06-24 16:09:48 +01:00
juce_product_unlocking Update the minimum C++ standard to C++14 2021-06-24 16:09:48 +01:00
juce_video Use C++14 lambda capture initialisers for initialising deletion checkers 2021-07-12 11:58:29 +01:00
CMakeLists.txt BLOCKS: Remove juce_blocks_basics module 2021-05-19 16:53:01 +01:00