Skip to content
You are viewing documentation for v4.1.0. Switch to latest (main).

ftxui::Requirement ​

cpp
#include <ftxui/dom/requirement.hpp>

Summary ​

SymbolDescription
Selection
min_x
min_y
flex_grow_x
flex_grow_y
flex_shrink_x
flex_shrink_y
selection
selected_box

Public Types ​

Selection ​

cpp
enum Selection { NORMAL, SELECTED, 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;

selection ​

cpp
Selection selection = NORMAL;

selected_box ​

cpp
Box selected_box;