ASPiK SDK
|
#include <iwindowcontroller.h>
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 IMenuBuilder * | getWindowMenuBuilder (const IWindow &window) const =0 |
![]() | |
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 |
![]() | |
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 () |
Window controller interface
|
pure virtual |
Window will show.
Implemented in VSTGUI::Standalone::WindowControllerAdapter.
|
pure virtual |
Can window close?
Implemented in VSTGUI::Standalone::WindowControllerAdapter.
|
pure virtual |
Constraint the size of the window.
Implemented in VSTGUI::Standalone::WindowControllerAdapter.
|
pure virtual |
Get the menu builder for this window.
Implemented in VSTGUI::Standalone::WindowControllerAdapter.
|
pure virtual |
Content view of window is changed.
Implemented in Mandelbrot::WindowCustomization, and VSTGUI::Standalone::WindowControllerAdapter.