7 #include "vstgui/lib/cview.h" 8 #include "vstgui/lib/ifocusdrawing.h" 19 using CMouseEventResult = VSTGUI::CMouseEventResult;
23 using ChangedFunc = std::function<void (CRect box)>;
25 View (ChangedFunc&& func);
Rect structure.
Definition: crect.h:17
bool getFocusPath(CGraphicsPath &outPath) override
Definition: mandelbrotview.h:35
Definition: vstkeycode.h:12
CMouseEventResult onMouseMoved(CPoint &where, const CButtonState &buttons) override
called when a mouse move event occurs
Definition: mandelbrotview.cpp:51
A drawing context encapsulates the drawing context of the underlying OS.
Definition: cdrawcontext.h:29
bool drawFocusOnTop() override
Definition: mandelbrotview.h:34
int32_t onKeyDown(VstKeyCode &keyCode) override
called if a key down event occurs and this view has focus
Definition: mandelbrotview.cpp:73
void draw(CDrawContext *context) override
called if the view should draw itself
Definition: mandelbrotview.cpp:84
Definition: mandelbrotview.h:15
Custom focus drawing interface.
Definition: ifocusdrawing.h:21
Graphics Path Object.
Definition: cgraphicspath.h:19
Base Class of all view objects.
Definition: cview.h:44
CMouseEventResult onMouseDown(CPoint &where, const CButtonState &buttons) override
called when a mouse down event occurs
Definition: mandelbrotview.cpp:21
Point structure.
Definition: cpoint.h:17
CMouseEventResult onMouseCancel() override
called when mouse tracking should be canceled
Definition: mandelbrotview.cpp:63
CMouseEventResult onMouseUp(CPoint &where, const CButtonState &buttons) override
called when a mouse up event occurs
Definition: mandelbrotview.cpp:35
Definition: mandelbrot.h:12