ASPiK SDK
iwindowlistener.h
1 // This file is part of VSTGUI. It is subject to the license terms
2 // in the LICENSE file found in the top-level directory of this
3 // distribution and at http://github.com/steinbergmedia/vstgui/LICENSE
4 
5 #pragma once
6 
7 #include "fwd.h"
8 #include "../../lib/cpoint.h"
9 #include "interface.h"
10 
11 //------------------------------------------------------------------------
12 namespace VSTGUI {
13 namespace Standalone {
14 
15 //------------------------------------------------------------------------
20 class IWindowListener : public Interface
21 {
22 public:
24  virtual void onSizeChanged (const IWindow& window, const CPoint& newSize) = 0;
26  virtual void onPositionChanged (const IWindow& window, const CPoint& newPosition) = 0;
28  virtual void onShow (const IWindow& window) = 0;
30  virtual void onHide (const IWindow& window) = 0;
32  virtual void onClosed (const IWindow& window) = 0;
34  virtual void onActivated (const IWindow& window) = 0;
36  virtual void onDeactivated (const IWindow& window) = 0;
37 };
38 
39 //------------------------------------------------------------------------
40 } // Standalone
41 } // VSTGUI
virtual void onDeactivated(const IWindow &window)=0
virtual void onHide(const IWindow &window)=0
virtual void onClosed(const IWindow &window)=0
Definition: interface.h:13
virtual void onPositionChanged(const IWindow &window, const CPoint &newPosition)=0
Definition: customcontrols.cpp:8
Definition: iwindow.h:142
Definition: iwindowlistener.h:20
Point structure.
Definition: cpoint.h:17
virtual void onShow(const IWindow &window)=0
virtual void onSizeChanged(const IWindow &window, const CPoint &newSize)=0
virtual void onActivated(const IWindow &window)=0