vrender.h Header

#include <vrender.h>

Types

struct ComboOption An individual option for a combo box node, selected by its id and displayed with its label (see VApp::set_combo_options).
struct RenderNode A node describes a particular UI element: a hierarchical component (nodes can compose other nodes) based on a primitive type that can be rendered by a consumer reconciler.

Enums

enum class VNodeType Types of node primitives.

Enum Documentation

enum class VNodeType

Types of node primitives.

The type is inferred from the inheritance base chain in the node's style. Since primitives can inherit other primitives (e.g. Check Box << Box from styles/widgets/vcheckbox.lyr), the most-derived base wins:

Select All << Vortex/Check Box  // `Select All` is a `VNodeType::Checkbox`,
                                // not a `VNodeType::Box`

The platform-specific types (Link, Host, and Scanner) render as a plain Box on the unsupported platforms.

Constant Description
Box Rectangular space on the screen; a widget
Text Label for a string of text
Button Clickable Box
Icon Themeable SVG
Editor Text field with a floating placeholder
Image Raster image from a file or URL
Video Playable video from a file or URL
Markdown Multi-line rich text rendered from a Markdown source
QR QR code rendered from a data payload
Checkbox Clickable Box that flips a boolean "checked" value
Link **Static-web only**: Real hyperlink for web navigation
Host **Static-web only**: Slot for raw HTML content
Scanner **Android only**: A live camera preview that reads QR codes
ComboBox Single-choice selector with dropdown options
Appearance
Theme
—