FTXUI  3.0.0
C++ functional terminal UI.
flexbox_config.cpp
Go to the documentation of this file.
2 
3 namespace ftxui {
4 
6  this->direction = d;
7  return *this;
8 }
9 
11  this->wrap = w;
12  return *this;
13 }
14 
16  this->justify_content = j;
17  return *this;
18 }
19 
21  this->align_items = a;
22  return *this;
23 }
24 
26  this->align_content = a;
27  return *this;
28 }
29 
31  this->gap_x = x;
32  this->gap_y = y;
33  return *this;
34 }
35 
36 } // namespace ftxui
37 
38 // Copyright 2020 Arthur Sonzogni. All rights reserved.
39 // Use of this source code is governed by the MIT license that can be found in
40 // the LICENSE file.
AlignContent align_content
FlexboxConfig & SetGap(int gap_x, int gap_y)
JustifyContent justify_content
FlexboxConfig & Set(FlexboxConfig::Direction)