ASPiK SDK
VSTGUI::Standalone::IWindowController Class Referenceabstract

#include <iwindowcontroller.h>

Inheritance diagram for VSTGUI::Standalone::IWindowController:
VSTGUI::Standalone::IWindowListener VSTGUI::Interface VSTGUI::Standalone::WindowControllerAdapter Mandelbrot::WindowCustomization

Public Member Functions

virtual CPoint constraintSize (const IWindow &window, const CPoint &newSize)=0
 
virtual bool canClose (const IWindow &window)=0
 
virtual void beforeShow (IWindow &window)=0
 
virtual void onSetContentView (IWindow &window, const SharedPointer< CFrame > &contentView)=0
 
virtual IMenuBuildergetWindowMenuBuilder (const IWindow &window) const =0
 
- Public Member Functions inherited from VSTGUI::Standalone::IWindowListener
virtual void onSizeChanged (const IWindow &window, const CPoint &newSize)=0
 
virtual void onPositionChanged (const IWindow &window, const CPoint &newPosition)=0
 
virtual void onShow (const IWindow &window)=0
 
virtual void onHide (const IWindow &window)=0
 
virtual void onClosed (const IWindow &window)=0
 
virtual void onActivated (const IWindow &window)=0
 
virtual void onDeactivated (const IWindow &window)=0
 
- 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 ()
 

Detailed Description

Window controller interface

Member Function Documentation

◆ beforeShow()

virtual void VSTGUI::Standalone::IWindowController::beforeShow ( IWindow window)
pure virtual

Window will show.

Implemented in VSTGUI::Standalone::WindowControllerAdapter.

◆ canClose()

virtual bool VSTGUI::Standalone::IWindowController::canClose ( const IWindow window)
pure virtual

Can window close?

Implemented in VSTGUI::Standalone::WindowControllerAdapter.

◆ constraintSize()

virtual CPoint VSTGUI::Standalone::IWindowController::constraintSize ( const IWindow window,
const CPoint newSize 
)
pure virtual

Constraint the size of the window.

Implemented in VSTGUI::Standalone::WindowControllerAdapter.

◆ getWindowMenuBuilder()

virtual IMenuBuilder* VSTGUI::Standalone::IWindowController::getWindowMenuBuilder ( const IWindow window) const
pure virtual

Get the menu builder for this window.

Implemented in VSTGUI::Standalone::WindowControllerAdapter.

◆ onSetContentView()

virtual void VSTGUI::Standalone::IWindowController::onSetContentView ( IWindow window,
const SharedPointer< CFrame > &  contentView 
)
pure virtual

Content view of window is changed.

Implemented in Mandelbrot::WindowCustomization, and VSTGUI::Standalone::WindowControllerAdapter.


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