VSTGUI 4.10
Graphical User Interface Framework not only for VST plugins
|
Menu builder adapter. More...
#include <menubuilder.h>
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 | |
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 | |
![]() | |
virtual | ~Interface () noexcept |
Interface ()=default | |
Interface (const Interface &)=delete | |
Interface (Interface &&)=delete | |
Interface & | operator= (const Interface &)=delete |
Interface & | operator= (Interface &&)=delete |
template<typename T> | |
const auto | dynamicCast () const |
template<typename T> | |
auto | dynamicCast () |
Additional Inherited Members | |
![]() | |
using | SortFunction = std::function<bool (const UTF8String& lhs, const UTF8String& rhs)> |
Menu builder adapter.
|
inlineoverridevirtual |
return command group sort function
context | either an IApplication or IWindow instance |
group | group name |
Implements IMenuBuilder.
|
inlineoverridevirtual |
should a menu separator prepend a command
context | either an IApplication or IWindow instance |
cmd | command |
Implements IMenuBuilder.
|
inlineoverridevirtual |
should the command group be visible in the menu
context | either an IApplication or IWindow instance |
group | group name |
Implements IMenuBuilder.
Reimplemented in NoMenuBuilder.
|
inlineoverridevirtual |
should the command be visible in the menu
context | either an IApplication or IWindow instance |
cmd | command |
Implements IMenuBuilder.
Reimplemented in NoMenuBuilder.