JUCE
|
This wraps a context menu for a specific parameter, as provided by the host. More...
Public Member Functions | |
virtual | ~HostProvidedContextMenu ()=default |
virtual PopupMenu | getEquivalentPopupMenu () const =0 |
Get a PopupMenu holding entries specified by the host. More... | |
virtual void | showNativeMenu (Point< int > pos) const =0 |
Asks the host to display its native menu at a particular location. More... | |
This wraps a context menu for a specific parameter, as provided by the host.
You can choose to create a standard PopupMenu to display the host-provided options. Alternatively, you can ask the host to display a native menu at a specific location.
|
virtualdefault |
|
pure virtual |
Get a PopupMenu holding entries specified by the host.
Most hosts will populate this menu with options that relate to the parameter, such as displaying its automation lane. You are free to modify this menu before displaying it, if you wish to add additional options.
Asks the host to display its native menu at a particular location.