ASPiK SDK
VSTGUI::Standalone::WindowClosedListener Class Reference

#include <windowlistener.h>

Inheritance diagram for VSTGUI::Standalone::WindowClosedListener:
VSTGUI::Standalone::WindowListenerAdapter VSTGUI::Standalone::IWindowListener VSTGUI::Interface

Public Types

using Func = std::function< void(const IWindow &)>
 

Public Member Functions

template<typename Func >
 WindowClosedListener (Func func)
 
void onClosed (const IWindow &window) override
 
- Public Member Functions inherited from VSTGUI::Standalone::WindowListenerAdapter
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 onActivated (const IWindow &window) override
 
void onDeactivated (const IWindow &window) override
 
- 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 ()
 

Public Attributes

Func func
 

Detailed Description

Window closed listener

Member Function Documentation

◆ onClosed()

void VSTGUI::Standalone::WindowClosedListener::onClosed ( const IWindow window)
inlineoverridevirtual

Window is closed.

Reimplemented from VSTGUI::Standalone::WindowListenerAdapter.


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