Inheritance diagram for Exponent::Vst::CVstWindow:
1.0.1 Added Keyoard hook through root
1.0.2 Converted to VST 2.4 compatiblity
Definition at line 52 of file CVstWindow.hpp.
Exponent::Vst::CVstWindow::CVstWindow | ( | AudioEffect * | theEffect, | |
const CRect & | windowArea, | |||
CWindowAttributes * | attributes | |||
) |
Construction
theEffect | The effect tied to this editor | |
windowArea | Size of the editor | |
attributes | Attributes of the window |
virtual Exponent::Vst::CVstWindow::~CVstWindow | ( | ) | [virtual] |
Destruction
void Exponent::Vst::CVstWindow::blockUpdates | ( | const bool | block | ) | [inline] |
Block updates
block | If true all drawing updates are prevented from happening, if false, drawing is allowed as normal |
Definition at line 101 of file CVstWindow.hpp.
References m_blockUpdates.
virtual void Exponent::Vst::CVstWindow::close | ( | ) | [virtual] |
Close the window
virtual void Exponent::Vst::CVstWindow::createVSTWindow | ( | void * | windowHandle | ) | [protected, virtual] |
Create the vst window
windowHandle | Parent window handle |
virtual void Exponent::Vst::CVstWindow::destroyVSTWindow | ( | ) | [protected, virtual] |
Destroy the vst window
virtual bool Exponent::Vst::CVstWindow::getRect | ( | ERect ** | rect | ) | [virtual] |
Get the area of the window
rect | The rectangle to fill |
bool | 1 On scuess, 0 otherwise.. |
virtual void Exponent::Vst::CVstWindow::handleActionEvent | ( | const CActionEvent & | event | ) | [virtual] |
Handle action events
event | The action event to handle |
virtual bool Exponent::Vst::CVstWindow::handleKeyDown | ( | const CKeyboardEvent & | event | ) | [virtual] |
Handle key down events
event | The event to handle |
bool | TRue if handled, false otherwise |
virtual bool Exponent::Vst::CVstWindow::handleKeyUp | ( | const CKeyboardEvent & | event | ) | [virtual] |
Handle key up events
event | The event to handle |
bool | TRue if handled, false otherwise |
virtual void Exponent::Vst::CVstWindow::idle | ( | ) | [virtual] |
Silly VST Idle function
virtual bool Exponent::Vst::CVstWindow::open | ( | void * | windowHandle | ) | [virtual] |
Open the window -> You should override and then call startVSTWindow
windowHandle | Parent window handle |
bool | True if opened properly, false otherwise |
virtual void Exponent::Vst::CVstWindow::parameterIsBeingSetFromEditor | ( | const bool | setFromEditor = true |
) | [inline, virtual] |
Parameter is being set from the editor
setFromEditor | If true user has adjusted on screen control, if false the change is programmatic and the GUI should be redrawn |
Definition at line 170 of file CVstWindow.hpp.
References m_setFromEditor.
virtual bool Exponent::Vst::CVstWindow::parameterSetFromEditor | ( | ) | const [inline, virtual] |
Parameter is set from the editor
bool | If true user has adjusted on screen control, if false the change is programmatic and the GUI should be redrawn |
Definition at line 164 of file CVstWindow.hpp.
References m_setFromEditor.
virtual void Exponent::Vst::CVstWindow::redrawWindow | ( | ) | [virtual] |
Set the whole window dirty - generally use sparingly!!
Reimplemented from Exponent::GUI::Windowing::CWindow.
virtual void Exponent::Vst::CVstWindow::redrawWindow | ( | const CRect & | area | ) | [virtual] |
Set an area of the window dirty
area | The area to redraw |
Reimplemented from Exponent::GUI::Windowing::CWindow.
virtual void Exponent::Vst::CVstWindow::setParameter | ( | const long | index, | |
const double | value | |||
) | [virtual] |
Set parameter
index | The index of the parameter to set | |
value | The value of the parameter to set |
virtual void Exponent::Vst::CVstWindow::startVSTWindow | ( | ) | [virtual] |
Start (initialise) the VSTWindow
virtual void Exponent::Vst::CVstWindow::update | ( | ) | [virtual] |
Update the window
bool Exponent::Vst::CVstWindow::m_blockUpdates [protected] |
Should we allow updates?
Definition at line 329 of file CVstWindow.hpp.
Referenced by blockUpdates().
ERect Exponent::Vst::CVstWindow::m_myRect [protected] |
Stupid VST rect that is required
Definition at line 330 of file CVstWindow.hpp.
bool Exponent::Vst::CVstWindow::m_setFromEditor [protected] |
Is the change from the editor?
Definition at line 328 of file CVstWindow.hpp.
Referenced by parameterIsBeingSetFromEditor(), and parameterSetFromEditor().
The parent window handle
Definition at line 327 of file CVstWindow.hpp.