![]() |
MIDI2LR 6.1.0.0
MIDI2LR is an application that interfaces MIDI controllers with Lightroom 6+/CC Classic. It processes MIDI input into develop parameter updates and photo actions, and sends MIDI output when parameters are changed for motorized feedback (on controllers that have motorized faders). A listing of available LightRoom commands is in the Wiki. Assistance on the code and design is welcome.
|
#include <CommandMenu.h>
Public Member Functions | |
CommandMenu (rsj::MidiMessageId message, const CommandSet &command_set, Profile &profile) | |
void | SetMsg (rsj::MidiMessageId message) noexcept |
void | SetSelectedItem (size_t index) |
void | ShowCCDialog () const |
![]() | |
TextButtonAligned (const juce::Justification::Flags alignment) | |
TextButtonAligned (const juce::String &button_name, const juce::Justification::Flags alignment) | |
TextButtonAligned (const juce::String &button_name, const juce::String &tool_tip, const juce::Justification::Flags alignment) | |
void | paintButton (juce::Graphics &, bool, bool) override |
Private Member Functions | |
void | AddSubMenuItems (juce::PopupMenu &sub_menu, const juce::String &command, size_t index, bool &ticked) const |
void | AddSubMenusToMainMenu (juce::PopupMenu &main_menu, size_t index) const |
void | clicked (const juce::ModifierKeys &modifiers) override |
void | ProcessMenuItems () |
void | ProcessUserSelection (juce::PopupMenu &main_menu) |
void | ShowDialogBasedOnMessageType () const |
void | ShowPWDialog () const |
Private Attributes | |
const CommandSet & | command_set_ |
rsj::MidiMessageId | message_ |
Profile & | profile_ |
size_t | selected_item_ {std::numeric_limits<decltype(selected_item_)>::max()} |
CommandMenu::CommandMenu | ( | rsj::MidiMessageId | message, |
const CommandSet & | command_set, | ||
Profile & | profile | ||
) |
|
private |
|
private |
|
overrideprivate |
|
private |
|
private |
|
inlinenoexcept |
|
inline |
void CommandMenu::ShowCCDialog | ( | ) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |