VCV Rack API v2
Loading...
Searching...
No Matches
rack::widget Namespace Reference

Base UI widget types. More...

Classes

struct  BaseEvent
 Base class for all events. More...
 
struct  EventContext
 A per-event state shared and writable by all widgets that recursively handle an event. More...
 
struct  EventState
 
struct  FramebufferWidget
 Caches its children's draw() result to a framebuffer image. More...
 
struct  OpaqueWidget
 A Widget that stops propagation of all recursive PositionEvents (such as ButtonEvent) but gives a chance for children to consume first. More...
 
struct  OpenGlWidget
 A FramebufferWidget that can be drawn on with OpenGL commands. More...
 
struct  SvgWidget
 Owns and draws a window::Svg. More...
 
struct  TransformWidget
 Transforms appearance only, not positions of events. More...
 
struct  TransparentWidget
 A Widget that does not respond to events and does not pass events to children. More...
 
struct  Widget
 A node in the 2D scene graph. More...
 
struct  ZoomWidget
 Resizes the scale of appearance and PositionEvents of children. More...
 

Functions

std::string getKeyName (int key)
 
std::string getKeyCommandName (int key, int mods)
 

Variables

DEPRECATED typedef SvgWidget SVGWidget
 

Detailed Description

Base UI widget types.

Function Documentation

◆ getKeyName()

std::string rack::widget::getKeyName ( int key)

◆ getKeyCommandName()

std::string rack::widget::getKeyCommandName ( int key,
int mods )

Variable Documentation

◆ SVGWidget

DEPRECATED typedef SvgWidget rack::widget::SVGWidget