Plug-In view default implementation. More...
#include <pluginview.h>
Public Member Functions | |
CPluginView (const ViewRect *rect=0) | |
virtual | ~CPluginView () |
const ViewRect & | getRect () const |
Returns its current frame rectangle. | |
void | setRect (const ViewRect &r) |
Sets a new frame rectangle. | |
bool | isAttached () const |
Checks if this view is attached to its parent view. | |
virtual void | attachedToParent () |
Calls when this view will be attached to its parent view. | |
virtual void | removedFromParent () |
Calls when this view will be removed from its parent view. | |
tresult | isPlatformTypeSupported (FIDString type) |
tresult | attached (void *parent, FIDString type) |
tresult | removed () |
tresult | onWheel (float) |
tresult | onKeyDown (char16, int16, int16) |
tresult | onKeyUp (char16, int16, int16) |
tresult | getSize (ViewRect *size) |
tresult | onSize (ViewRect *newSize) |
tresult | onFocus (TBool) |
tresult | setFrame (IPlugFrame *frame) |
tresult | canResize () |
tresult | checkSizeConstraint (ViewRect *) |
Data Fields | |
OBJ_METHODS(CPluginView, FObject) DEFINE_INTERFACES DEF_INTERFACE(IPlugView) END_DEFINE_INTERFACES(FObject) REFCOUNT_METHODS(FObject) protected void * | systemWindow |
IPlugFrame * | plugFrame |
Plug-In view default implementation.
Can be used as base class for an IPlugView implementation.
CPluginView | ( | const ViewRect * | rect = 0 |
) |
virtual ~CPluginView | ( | ) | [virtual] |
const ViewRect& getRect | ( | ) | const [inline] |
Returns its current frame rectangle.
void setRect | ( | const ViewRect & | r | ) | [inline] |
Sets a new frame rectangle.
bool isAttached | ( | ) | const [inline] |
Checks if this view is attached to its parent view.
virtual void attachedToParent | ( | ) | [inline, virtual] |
Calls when this view will be attached to its parent view.
Reimplemented in EditorView.
virtual void removedFromParent | ( | ) | [inline, virtual] |
Calls when this view will be removed from its parent view.
Reimplemented in EditorView.
Implements IPlugView.
Reimplemented in VSTGUIEditor.
Implements IPlugView.
Reimplemented in VSTGUIEditor.
tresult setFrame | ( | IPlugFrame * | frame | ) | [inline, virtual] |
Implements IPlugView.
OBJ_METHODS (CPluginView, FObject) DEFINE_INTERFACES DEF_INTERFACE (IPlugView) END_DEFINE_INTERFACES (FObject) REFCOUNT_METHODS(FObject) protected void* systemWindow |