ASPiK SDK
|
Public Member Functions | |
bool | init (const WindowConfiguration &config, const WindowControllerPtr &controller) |
const WindowControllerPtr & | getController () const override |
CPoint | getSize () const override |
CPoint | getPosition () const override |
double | getScaleFactor () const override |
CRect | getFocusViewRect () const override |
const UTF8String & | getTitle () const override |
WindowType | getType () const override |
WindowStyle | getStyle () const override |
const UTF8String & | getAutoSaveFrameName () const override |
void | setSize (const CPoint &newSize) override |
void | setPosition (const CPoint &newPosition) override |
void | setTitle (const UTF8String &newTitle) override |
void | setContentView (const SharedPointer< CFrame > &newFrame) override |
void | show () override |
void | hide () override |
void | close () override |
void | activate () override |
void | registerWindowListener (IWindowListener *listener) override |
void | unregisterWindowListener (IWindowListener *listener) override |
InterfacePtr | getPlatformWindow () const override |
CPoint | constraintSize (const CPoint &newSize) override |
void | onSizeChanged (const CPoint &newSize) override |
void | onPositionChanged (const CPoint &newPosition) override |
void | onShow () override |
void | onHide () override |
void | onClosed () override |
bool | canClose () override |
void | onActivated () override |
void | onDeactivated () override |
bool | canHandleCommand (const Command &command) override |
bool | handleCommand (const Command &command) override |
void | onMouseEntered (CView *view, CFrame *frame) override |
void | onMouseExited (CView *view, CFrame *frame) override |
CMouseEventResult | onMouseMoved (CFrame *frame, const CPoint &where, const CButtonState &buttons) override |
a mouse move event happend on the frame at position where. If the observer handles this, the event won't be propagated further | |
CMouseEventResult | onMouseDown (CFrame *frame, const CPoint &where, const CButtonState &buttons) override |
a mouse down event happend on the frame at position where. If the observer handles this, the event won't be propagated further | |
![]() | |
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 () |
|
inlineoverridevirtual |
Activate the window.
Implements VSTGUI::Standalone::IWindow.
|
overridevirtual |
Check if command can be handled.
Implements VSTGUI::Standalone::ICommandHandler.
|
inlineoverridevirtual |
Close the window.
Implements VSTGUI::Standalone::IWindow.
|
inlineoverridevirtual |
Get the auto save frame name of the window.
Implements VSTGUI::Standalone::IWindow.
|
inlineoverridevirtual |
Get the window controller. Can be nullptr.
Implements VSTGUI::Standalone::IWindow.
|
overridevirtual |
Get the rect of the current focus view in frame relative coordinates.
Implements VSTGUI::Standalone::IWindow.
|
inlineoverridevirtual |
Get the position in global coordinates.
Implements VSTGUI::Standalone::IWindow.
|
inlineoverridevirtual |
Get the content scale factor.
Implements VSTGUI::Standalone::IWindow.
|
inlineoverridevirtual |
Get the size of the client area.
Implements VSTGUI::Standalone::IWindow.
|
inlineoverridevirtual |
Get the style of the window.
Implements VSTGUI::Standalone::IWindow.
|
inlineoverridevirtual |
Get the title of the window.
Implements VSTGUI::Standalone::IWindow.
|
inlineoverridevirtual |
Get the type of the window.
Implements VSTGUI::Standalone::IWindow.
|
overridevirtual |
Handle command.
Implements VSTGUI::Standalone::ICommandHandler.
|
inlineoverridevirtual |
Hide the window.
Implements VSTGUI::Standalone::IWindow.
|
overridevirtual |
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.
Implements VSTGUI::Standalone::IWindow.
|
overridevirtual |
Set content view.
Implements VSTGUI::Standalone::IWindow.
|
inlineoverridevirtual |
Set the position in global coordinates.
Implements VSTGUI::Standalone::IWindow.
|
overridevirtual |
Set the size of the client area.
Implements VSTGUI::Standalone::IWindow.
|
inlineoverridevirtual |
Set the window title.
Implements VSTGUI::Standalone::IWindow.
|
overridevirtual |
Show the window.
Implements VSTGUI::Standalone::IWindow.
|
overridevirtual |
Unregister a window listener.
Implements VSTGUI::Standalone::IWindow.