rigImGui 0.1.1
RigKit pack API - rigImGui
Loading...
Searching...
No Matches
UiControls.h File Reference
#include "ecs/MEcs.h"
#include <functional>
Include dependency graph for UiControls.h:

Classes

struct  rigkit::UiControlDrawHost
 Optional hooks while drawing a rig.ui.panel of controls. More...

Functions

int rigkit::drawUiPanelControls (MEcs &ecs, const char *role, const UiControlDrawHost &host={})
 Draw every CUiControl on the first panel whose role matches.

Function Documentation

◆ drawUiPanelControls()

int rigkit::drawUiPanelControls ( MEcs & ecs,
const char * role,
const UiControlDrawHost & host = {} )

Draw every CUiControl on the first panel whose role matches.

Returns
Number of controls drawn (0 if no panel / no controls).