ASPiK SDK
|
Public Member Functions | |
void | setDelegate (Standalone::Application::DelegatePtr &&delegate) |
IPreference & | getPreferences () const override |
const CommandLineArguments & | getCommandLineArguments () const override |
const ISharedUIResources & | getSharedUIResources () const override |
const ICommonDirectories & | getCommonDirectories () const override |
Standalone::Application::IDelegate & | getDelegate () const override |
WindowPtr | createWindow (const WindowConfiguration &config, const WindowControllerPtr &controller) override |
const WindowList & | getWindows () const override |
AlertResult | showAlertBox (const AlertBoxConfig &config) override |
void | showAlertBoxForWindow (const AlertBoxForWindowConfig &config) override |
void | registerCommand (const Command &command, char16_t defaultCommandKey=0) override |
void | quit () override |
void | onSizeChanged (const IWindow &window, const CPoint &newSize) override |
void | onPositionChanged (const IWindow &window, const CPoint &newPosition) override |
void | onShow (const IWindow &window) override |
void | onHide (const IWindow &window) override |
void | onClosed (const IWindow &window) override |
void | onActivated (const IWindow &window) override |
void | onDeactivated (const IWindow &window) override |
bool | canHandleCommand (const Command &command) override |
bool | handleCommand (const Command &command) override |
void | init (const InitParams ¶ms) override |
CommandList | getCommandList (const Platform::IWindow *window) override |
const CommandList & | getKeyCommandList () override |
bool | canQuit () override |
bool | dontClosePopupOnDeactivation (Platform::IWindow *window) override |
![]() | |
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 () |
Static Public Member Functions | |
static Application & | instance () |
![]() | |
static IApplication & | instance () |
Additional Inherited Members | |
![]() | |
using | CommandWithKeyList = std::vector< CommandWithKey > |
using | CommandListPair = std::pair< UTF8String, CommandWithKeyList > |
using | CommandList = std::vector< CommandListPair > |
![]() | |
using | WindowList = std::vector< WindowPtr > |
using | CommandLineArguments = std::vector< UTF8String > |
|
overridevirtual |
Check if command can be handled.
Implements VSTGUI::Standalone::ICommandHandler.
|
overridevirtual |
Create a new window
config | window configuration |
controller | window controller (can be nullptr) |
Implements VSTGUI::Standalone::IApplication.
|
overridevirtual |
Get the command line arguments
Implements VSTGUI::Standalone::IApplication.
|
overridevirtual |
Get common directories
Implements VSTGUI::Standalone::IApplication.
|
overridevirtual |
Get the application delegate
Implements VSTGUI::Standalone::IApplication.
|
overridevirtual |
Get the application preferences
Implements VSTGUI::Standalone::IApplication.
|
overridevirtual |
Get the shared UI resources
Implements VSTGUI::Standalone::IApplication.
|
inlineoverridevirtual |
Get all application windows
Implements VSTGUI::Standalone::IApplication.
|
overridevirtual |
Handle command.
Implements VSTGUI::Standalone::ICommandHandler.
|
overridevirtual |
Window is activated.
Implements VSTGUI::Standalone::IWindowListener.
|
overridevirtual |
Window is closed.
Implements VSTGUI::Standalone::IWindowListener.
|
inlineoverridevirtual |
Window is deactivated.
Implements VSTGUI::Standalone::IWindowListener.
|
inlineoverridevirtual |
Window is hidden.
Implements VSTGUI::Standalone::IWindowListener.
|
inlineoverridevirtual |
Position of window is changed.
Implements VSTGUI::Standalone::IWindowListener.
|
inlineoverridevirtual |
Window is shown.
Implements VSTGUI::Standalone::IWindowListener.
|
inlineoverridevirtual |
Size of window is changed.
Implements VSTGUI::Standalone::IWindowListener.
|
overridevirtual |
Quit the application
Implements VSTGUI::Standalone::IApplication.
|
overridevirtual |
Register a command
The command will be added to the application menu. When the menu item is selected the command is first dispatched to the active window and then to the application delegate.
command | command name and group |
defaultCommandKey | default command key |
Implements VSTGUI::Standalone::IApplication.
|
overridevirtual |
Show an application wide modal alert box
config | alert box configuration |
Implements VSTGUI::Standalone::IApplication.
|
overridevirtual |
Show an alert box modal to a window
config | alert box configuration |
Implements VSTGUI::Standalone::IApplication.