The CXYPadEx object extends the CXYPad CVuMeter object with extra functionality.
It is used in the PluginGUI object for creating custom views.
More...
#include <customcontrols.h>
|
| CXYPadEx (const CRect &size=CRect(0, 0, 0, 0)) |
|
void | setTagX (int32_t tag) |
|
int32_t | getTagX () |
|
void | setTagY (int32_t tag) |
|
int32_t | getTagY () |
|
void | draw (CDrawContext *context) override |
|
CMouseEventResult | onMouseMoved (CPoint &where, const CButtonState &buttons) override |
| handle mouse moved event More...
|
|
CMouseEventResult | onMouseUp (CPoint &where, const CButtonState &buttons) override |
| handle mouse up event More...
|
|
CMouseEventResult | onMouseDown (CPoint &where, const CButtonState &buttons) override |
| handle mouse down event More...
|
|
virtual void | setValue (float val) override |
|
int | pointInPolygon (int nvert, float *vertx, float *verty, float testx, float testy) |
|
|
static void | calculateXY (float value, float &x, float &y) |
|
static float | calculateValue (float x, float y) |
|
|
int32_t | tagX |
|
int32_t | tagY |
|
bool | isJoystickPad |
|
float | vertX [4] |
|
float | vertY [4] |
|
float | lastX |
|
float | lastY |
|
The CXYPadEx object extends the CXYPad CVuMeter object with extra functionality.
It is used in the PluginGUI object for creating custom views.
- Author
- Will Pirkle http://www.willpirkle.com
- Version
- Revision : 1.0
- Date
- Date : 2018 / 09 / 7
◆ onMouseDown()
CMouseEventResult VSTGUI::CXYPadEx::onMouseDown |
( |
CPoint & |
where, |
|
|
const CButtonState & |
buttons |
|
) |
| |
|
override |
handle mouse down event
- Parameters
-
where | - coordinates of mouse event |
buttons | - button state during mouse event |
◆ onMouseMoved()
CMouseEventResult VSTGUI::CXYPadEx::onMouseMoved |
( |
CPoint & |
where, |
|
|
const CButtonState & |
buttons |
|
) |
| |
|
override |
handle mouse moved event
- Parameters
-
where | - coordinates of mouse event |
buttons | - button state during mouse event |
◆ onMouseUp()
CMouseEventResult VSTGUI::CXYPadEx::onMouseUp |
( |
CPoint & |
where, |
|
|
const CButtonState & |
buttons |
|
) |
| |
|
override |
handle mouse up event
- Parameters
-
where | - coordinates of mouse event |
buttons | - button state during mouse event |
◆ setValue()
void VSTGUI::CXYPadEx::setValue |
( |
float |
val | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files:
- C:/RackAFX_v7/ASPIK_SDK/PluginTemplate/project_source/source/CustomControls/customcontrols.h
- C:/RackAFX_v7/ASPIK_SDK/PluginTemplate/project_source/source/CustomControls/customcontrols.cpp