ftxui::Requirement
cpp
#include <ftxui/dom/requirement.hpp>Requirement is a structure that defines the layout requirements for a Node in the terminal user interface.
It specifies the minimum size required to fully draw the element,
Summary
| Symbol | Description |
|---|---|
min_x | |
min_y | |
flex_grow_x | |
flex_grow_y | |
flex_shrink_x | |
flex_shrink_y | |
focused |
Public Attributes
min_x
cpp
int min_x = 0;min_y
cpp
int min_y = 0;flex_grow_x
cpp
int flex_grow_x = 0;flex_grow_y
cpp
int flex_grow_y = 0;flex_shrink_x
cpp
int flex_shrink_x = 0;flex_shrink_y
cpp
int flex_shrink_y = 0;focused
cpp
Focused focused;