ASPiK SDK
VSTGUI::Standalone::NoMenuBuilder Class Reference

#include <menubuilder.h>

Inheritance diagram for VSTGUI::Standalone::NoMenuBuilder:
VSTGUI::Standalone::MenuBuilderAdapter VSTGUI::Standalone::IMenuBuilder VSTGUI::Interface VSTGUI::Standalone::DrawDeviceTestsCustomization

Public Member Functions

bool showCommandGroupInMenu (const Interface &context, const UTF8String &group) const override
 
bool showCommandInMenu (const Interface &context, const Command &cmd) const override
 
- Public Member Functions inherited from VSTGUI::Standalone::MenuBuilderAdapter
SortFunction getCommandGroupSortFunction (const Interface &context, const UTF8String &group) const override
 
bool prependMenuSeparator (const Interface &context, const Command &cmd) const override
 
- Public Member Functions inherited from VSTGUI::Interface
 Interface (const Interface &)=delete
 
 Interface (Interface &&)=delete
 
Interfaceoperator= (const Interface &)=delete
 
Interfaceoperator= (Interface &&)=delete
 
template<typename T >
const auto dynamicCast () const
 
template<typename T >
auto dynamicCast ()
 

Additional Inherited Members

- Public Types inherited from VSTGUI::Standalone::IMenuBuilder
using SortFunction = std::function< bool(const UTF8String &lhs, const UTF8String &rhs)>
 

Detailed Description

No menu builder adapter

Use this to prevent a window to have a menu

Member Function Documentation

◆ showCommandGroupInMenu()

bool VSTGUI::Standalone::NoMenuBuilder::showCommandGroupInMenu ( const Interface context,
const UTF8String group 
) const
inlineoverridevirtual

should the command group be visible in the menu

Parameters
contexteither an IApplication or IWindow instance
groupgroup name
Returns
true for visible or false for invisible

Reimplemented from VSTGUI::Standalone::MenuBuilderAdapter.

◆ showCommandInMenu()

bool VSTGUI::Standalone::NoMenuBuilder::showCommandInMenu ( const Interface context,
const Command cmd 
) const
inlineoverridevirtual

should the command be visible in the menu

Parameters
contexteither an IApplication or IWindow instance
cmdcommand
Returns
true for visible or false for invisible

Reimplemented from VSTGUI::Standalone::MenuBuilderAdapter.


The documentation for this class was generated from the following file: