VSTGUI
4.10
Graphical User Interface Framework not only for VST plugins
|
No menu builder adapter. More...
Public Member Functions | |
bool | showCommandGroupInMenu (const Interface &context, const UTF8String &group) const override |
should the command group be visible in the menu | |
bool | showCommandInMenu (const Interface &context, const Command &cmd) const override |
should the command be visible in the menu | |
Public Member Functions inherited from MenuBuilderAdapter | |
SortFunction | getCommandGroupSortFunction (const Interface &context, const UTF8String &group) const override |
return command group sort function | |
bool | prependMenuSeparator (const Interface &context, const Command &cmd) const override |
should a menu separator prepend a command | |
Additional Inherited Members | |
Public Types inherited from IMenuBuilder | |
using | SortFunction = std::function< bool(const UTF8String &lhs, const UTF8String &rhs)> |
No menu builder adapter.
Use this to prevent a window to have a menu
|
inlineoverridevirtual |
should the command group be visible in the menu
context | either an IApplication or IWindow instance |
group | group name |
Reimplemented from MenuBuilderAdapter.
|
inlineoverridevirtual |
should the command be visible in the menu
context | either an IApplication or IWindow instance |
cmd | command |
Reimplemented from MenuBuilderAdapter.