FTXUI  5.0.0
C++ functional terminal UI.
requirement.hpp
Go to the documentation of this file.
1// Copyright 2020 Arthur Sonzogni. All rights reserved.
2// Use of this source code is governed by the MIT license that can be found in
3// the LICENSE file.
4#ifndef FTXUI_DOM_REQUIREMENT_HPP
5#define FTXUI_DOM_REQUIREMENT_HPP
6
8
9namespace ftxui {
10
12 // The required size to fully draw the element.
13 int min_x = 0;
14 int min_y = 0;
15
16 // How much flexibility is given to the component.
17 int flex_grow_x = 0;
18 int flex_grow_y = 0;
21
22 // Focus management to support the frame/focus/select element.
23 enum Selection {
24 NORMAL = 0,
27 };
30};
31
32} // namespace ftxui
33
34#endif // FTXUI_DOM_REQUIREMENT_HPP