Struct ColorRectΒΆ

struct ColorRect : public UIElement

Public Functions

virtual void init()

Initialize the properties and callbacks.

virtual void update()

Update routine.

virtual void draw(Rectangle rect)

Draw routine using a rect.