Chesto
0.9
A declarative and element-based library for creating GUIs on homebrew'd consoles
src
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
8
namespace
Chesto {
9
10
class
Container
:
public
Element
11
{
12
public
:
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
Chesto::Container
Definition:
Container.hpp:11
Chesto::Element
Definition:
Element.hpp:29
Generated by
1.9.4