ASPiK SDK
|
#include <iwindow.h>
Public Member Functions | |
virtual const WindowControllerPtr & | getController () const =0 |
virtual CPoint | getSize () const =0 |
virtual CPoint | getPosition () const =0 |
virtual double | getScaleFactor () const =0 |
virtual CRect | getFocusViewRect () const =0 |
virtual const UTF8String & | getTitle () const =0 |
virtual WindowType | getType () const =0 |
virtual WindowStyle | getStyle () const =0 |
virtual const UTF8String & | getAutoSaveFrameName () const =0 |
virtual void | setSize (const CPoint &newSize)=0 |
virtual void | setPosition (const CPoint &newPosition)=0 |
virtual void | setTitle (const UTF8String &newTitle)=0 |
virtual void | setContentView (const SharedPointer< CFrame > &frame)=0 |
virtual void | show ()=0 |
virtual void | hide ()=0 |
virtual void | close ()=0 |
virtual void | activate ()=0 |
virtual void | registerWindowListener (IWindowListener *listener)=0 |
virtual void | unregisterWindowListener (IWindowListener *listener)=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 interface
Windows are created via IApplication::instance ().createWindow ()
Windows are automatically destroyed when they are closed.
|
pure virtual |
Activate the window.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Close the window.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Get the auto save frame name of the window.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Get the window controller. Can be nullptr.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Get the rect of the current focus view in frame relative coordinates.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Get the position in global coordinates.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Get the content scale factor.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Get the size of the client area.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Get the style of the window.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Get the title of the window.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Get the type of the window.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Hide the window.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Register a window listener.
There is no ownership involved here, so you have to make sure the listener is alive as long as the window lives. Listeners are automatically removed when the window is closed.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Set content view.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Set the position in global coordinates.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Set the size of the client area.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Set the window title.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Show the window.
Implemented in VSTGUI::Standalone::Detail::Window.
|
pure virtual |
Unregister a window listener.
Implemented in VSTGUI::Standalone::Detail::Window.