94 T* p =
dynamic_cast<T*
>(
parent);
103 T* c =
dynamic_cast<T*
>(child);
106 c = child->getFirstDescendantOfType<T>();
142 NVGcontext*
vg = NULL;
145 NVGLUframebuffer*
fb = NULL;
173 template <
typename TMethod,
class TEvent>
177 if (!e.isPropagating())
192 template <
typename TMethod,
class TEvent>
196 if (!e.isPropagating())
207 e2.pos = e.pos.minus(child->
box.
pos);
436 const std::vector<std::string>&
paths;
#define DEPRECATED
Attribute for deprecated functions and symbols.
Definition common.hpp:26
Root namespace for the Rack API.
Definition AudioDisplay.hpp:9
Base class for classes that allow WeakPtrs to be used.
Definition weakptr.hpp:16
2-dimensional rectangle for graphics.
Definition math.hpp:301
Vec pos
Definition math.hpp:302
bool contains(Vec v) const
Returns whether this Rect contains a point, inclusive on the left/top, exclusive on the right/bottom.
Definition math.hpp:326
static Rect inf()
Returns the infinite Rect.
Definition math.hpp:319
2-dimensional vector of floats, representing a point on the plane for graphics.
Definition math.hpp:189
Occurs after the Window (including OpenGL and NanoVG contexts) are created.
Definition Widget.hpp:501
NVGcontext * vg
Definition Widget.hpp:502
Occurs before the Window (including OpenGL and NanoVG contexts) are destroyed.
Definition Widget.hpp:511
NVGcontext * vg
Definition Widget.hpp:512
Occurs when a character is typed while the mouse is hovering a Widget.
Definition Widget.hpp:307
Occurs when text is typed while a Widget is selected.
Definition Widget.hpp:358
An event prototype with a Unicode character.
Definition Widget.hpp:300
uint32_t codepoint
Unicode code point of the character.
Definition Widget.hpp:302