26 Container(
unsigned int x,
unsigned int y,
unsigned int width,
27 unsigned int height,
const char* label)
28 :
Widget(x, y, width, height, label)
37 m_content.push_back(w);
std::vector< Widget * > m_content
Definition: Container.h:23
A Container organizes multiple Widgets into one to provide layout functionality.
Definition: Container.h:20
void draw(Vector2 offset)
Draws the widget to the canvas it belongs to.
Definition: Container.h:41
Container(unsigned int x, unsigned int y, unsigned int width, unsigned int height, const char *label)
Definition: Container.h:26
DISOWN(Widget *w) void addWidget(Widget *w)
Definition: Container.h:34