FabGL
ESP32 Display Controller and Graphics Library

◆ uiColorBox()

uiColorBox ( uiWindow parent,
const Point pos,
const Size size,
Color  color = Color::BrightWhite,
bool  visible = true,
uint32_t  styleClassID = 0 
)

Creates an instance of the object.

Parameters
parentThe parent window. A panel must always have a parent window
posTop-left coordinates of the panel relative to the parent
sizeThe panel size
colorInitial color
visibleIf true the panel is immediately visible
styleClassIDOptional style class identifier

Definition at line 3566 of file fabui.cpp.