Chesto 0.9
A declarative and element-based library for creating GUIs on homebrew'd consoles
Container.hpp
1#ifndef CONTAINER_H
2#define CONTAINER_H
3#include "Element.hpp"
4
5#define ROW_LAYOUT 1
6#define COL_LAYOUT 2
7
8class Container : public Element
9{
10public:
11 Container(int layout = 0, int padding = 10);
12 Element* add(Element* elem);
13
14 int layout = 0;
15 int padding = 10;
16};
17#endif