![]() |
MIDI2LR 6.3.0.1
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 <CommandTableModel.h>
Public Member Functions | |
| CommandTableModel (const CommandSet &command_set, Profile &profile) noexcept | |
| void | RemoveRow (size_t row) |
Private Member Functions | |
| CommandMenu * | CreateNewCommandMenu (int row_number, juce::Component *existing_component) const |
| int | getNumRows () override |
| void | paintCell (juce::Graphics &, int row_number, int column_id, int width, int height, bool row_is_selected) override |
| void | paintRowBackground (juce::Graphics &, int row_number, int width, int height, bool row_is_selected) override |
| juce::Component * | refreshComponentForCell (int row_number, int column_id, bool is_row_selected, juce::Component *existing_component) override |
| void | sortOrderChanged (int new_sort_column_id, bool is_forwards) override |
| CommandMenu * | UpdateCommandMenu (int row_number, gsl::not_null< CommandMenu * > command_select) const |
Private Attributes | |
| const CommandSet & | command_set_ |
| Profile & | profile_ |
|
noexcept |
References command_set_.
|
nodiscardprivate |
References command_set_, CommandSet::CommandTextIndex(), Profile::GetCommandForMessage(), Profile::GetMessageForNumber(), profile_, and Profile::Size().
|
inlinenodiscardoverrideprivate |
References profile_, and Profile::Size().
|
overrideprivate |
References Profile::GetMessageForNumber(), profile_, and Profile::Size().
|
overrideprivate |
|
overrideprivate |
References UpdateCommandMenu().
|
inline |
References profile_, and Profile::RemoveRow().
|
overrideprivate |
References profile_, and Profile::Resort().
|
nodiscardprivate |
References command_set_, CommandSet::CommandTextIndex(), Profile::GetCommandForMessage(), Profile::GetMessageForNumber(), and profile_.
Referenced by refreshComponentForCell().
|
private |
Referenced by CommandTableModel(), CreateNewCommandMenu(), and UpdateCommandMenu().
|
private |
Referenced by CreateNewCommandMenu(), getNumRows(), paintCell(), RemoveRow(), sortOrderChanged(), and UpdateCommandMenu().