7 #include "../../../lib/platform/iplatformframe.h" 8 #include "../../include/icommand.h" 9 #include "../../include/iwindow.h" 13 namespace Standalone {
20 virtual CPoint constraintSize (
const CPoint& newSize) = 0;
21 virtual void onSizeChanged (
const CPoint& newSize) = 0;
22 virtual void onPositionChanged (
const CPoint& newPosition) = 0;
23 virtual void onShow () = 0;
24 virtual void onHide () = 0;
25 virtual void onClosed () = 0;
26 virtual bool canClose () = 0;
27 virtual void onActivated () = 0;
28 virtual void onDeactivated () = 0;
35 virtual CPoint getSize ()
const = 0;
36 virtual CPoint getPosition ()
const = 0;
37 virtual double getScaleFactor ()
const = 0;
39 virtual void setSize (
const CPoint& newSize) = 0;
40 virtual void setPosition (
const CPoint& newPosition) = 0;
41 virtual void setTitle (
const UTF8String& newTitle) = 0;
43 virtual void show () = 0;
44 virtual void hide () = 0;
45 virtual void close () = 0;
46 virtual void activate () = 0;
47 virtual void center () = 0;
49 virtual PlatformType getPlatformType ()
const = 0;
50 virtual void* getPlatformHandle ()
const = 0;
52 virtual void onSetContentView (
CFrame* frame) = 0;
56 using WindowPtr = std::shared_ptr<IWindow>;
Definition: icommand.h:47
std::unique_ptr< double[]> makeWindow(unsigned int windowLength, unsigned int hopSize, windowType window, double &gainCorrectionValue)
creates a new std::unique_ptr<double[]> array for a given window lenght and type. ...
Definition: fxobjects.h:8648
Definition: interface.h:13
Definition: customcontrols.cpp:8
Definition: iwindow.h:124
holds an UTF8 encoded string and a platform representation of it
Definition: cstring.h:56
Point structure.
Definition: cpoint.h:17
The CFrame is the parent container of all views.
Definition: cframe.h:32