FabGL
ESP32 Display Controller and Graphics Library
|
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.
parent | The parent window. A panel must always have a parent window |
pos | Top-left coordinates of the panel relative to the parent |
size | The panel size |
color | Initial color |
visible | If true the panel is immediately visible |
styleClassID | Optional style class identifier |