The CKickButtonEx object extends the VSTGUI CKickButton object with extra functionality.
It is used in the PluginGUI object for creating custom views.
More...
#include <customcontrols.h>
|
| CKickButtonEx (const CRect &size, IControlListener *listener, int32_t tag, CBitmap *background, const CPoint &offset=CPoint(0, 0)) |
| CKickButtonEx constructor. More...
|
|
virtual CMouseEventResult | onMouseDown (CPoint &where, const CButtonState &buttons) override |
| handle mouse down event More...
|
|
virtual CMouseEventResult | onMouseUp (CPoint &where, const CButtonState &buttons) override |
| handle mouse up event More...
|
|
void | setMouseMode (unsigned int mode) |
| set the mouse behavior (down, up, or down/up) More...
|
|
The CKickButtonEx object extends the VSTGUI CKickButton 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
◆ CKickButtonEx()
VSTGUI::CKickButtonEx::CKickButtonEx |
( |
const CRect & |
size, |
|
|
IControlListener * |
listener, |
|
|
int32_t |
tag, |
|
|
CBitmap * |
background, |
|
|
const CPoint & |
offset = CPoint (0, 0) |
|
) |
| |
CKickButtonEx constructor.
- Parameters
-
size | - the control rectangle |
listener | - the control's listener (usuall PluginGUI object) |
tag | - the control ID value |
background | - the control's custom graphics file |
offset | - (x,y) offset point |
◆ onMouseDown()
CMouseEventResult VSTGUI::CKickButtonEx::onMouseDown |
( |
CPoint & |
where, |
|
|
const CButtonState & |
buttons |
|
) |
| |
|
overridevirtual |
handle mouse down event
- Parameters
-
where | - coordinates of mouse event |
buttons | - button state during mouse event |
◆ onMouseUp()
CMouseEventResult VSTGUI::CKickButtonEx::onMouseUp |
( |
CPoint & |
where, |
|
|
const CButtonState & |
buttons |
|
) |
| |
|
overridevirtual |
handle mouse up event
- Parameters
-
where | - coordinates of mouse event |
buttons | - button state during mouse event |
◆ setMouseMode()
void VSTGUI::CKickButtonEx::setMouseMode |
( |
unsigned int |
mode | ) |
|
|
inline |
set the mouse behavior (down, up, or down/up)
- Parameters
-
mode | - behavior flag (see mouseAction enumeration) |
The documentation for this class was generated from the following files:
- C:/RackAFX_v7/ASPIK_Doxygen/PluginTemplate/project_source/source/CustomControls/customcontrols.h
- C:/RackAFX_v7/ASPIK_Doxygen/PluginTemplate/project_source/source/CustomControls/customcontrols.cpp