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
8namespace Chesto {
9
10class Container : public Element
11{
12public:
13 Container(int layout = 0, int padding = 10);
14 Element* add(std::unique_ptr<Element> elem);
15
16 int layout = 0;
17 int padding = 10;
18};
19
20} // namespace Chesto
21
22#endif