FTXUI/ftxui/include/ftxui/requirement.hpp

17 lines
371 B
C++
Raw Normal View History

#ifndef FTXUI_REQUIREMENT_HPP
#define FTXUI_REQUIREMENT_HPP
2018-09-18 14:48:40 +08:00
namespace ftxui {
struct Requirement {
// The required size to fully draw the element.
struct { int x = 0; int y = 0; } min;
2018-09-18 14:48:40 +08:00
// How much flexibility is given to the component.
struct { int x = 0; int y = 0; } flex;
2018-09-18 14:48:40 +08:00
};
}; // namespace ftxui
#endif /* end of include guard: FTXUI_REQUIREMENT_HPP */