FTXUI/ftxui/include/ftxui/requirement.hpp
Arthur Sonzogni 711b71688e Implement a lot of new features.
This commit deserve to be cut into at least 8 sub commit. Sorry, I
acknowledge this is bad... Here are the new features:

 * dom decorator: bold, dim, underlined, inverted.
 * component mechanism
 * components
   * menu
   * toogle
2018-10-09 19:08:55 +02:00

29 lines
402 B
C++

#ifndef FTXUI_REQUIREMENT_HPP
#define FTXUI_REQUIREMENT_HPP
namespace ftxui {
struct Requirement {
// Minimal dimensions.
struct {
int x = 0;
int y = 0;
} min;
// Maximal dimensions.
struct {
int x = -1;
int y = -1;
} max;
// Flex.
struct {
int x = 0;
int y = 0;
} flex;
};
}; // namespace ftxui
#endif /* end of include guard: FTXUI_REQUIREMENT_HPP */