FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
node_decorator.cpp
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#include <ftxui/dom/node.hpp> // for Node, Elements
5
7#include "ftxui/dom/requirement.hpp" // for Requirement
8#include "ftxui/screen/box.hpp" // for Box
9
10namespace ftxui {
11
13 Node::ComputeRequirement();
14 requirement_ = children_[0]->requirement();
15}
16
17void NodeDecorator::SetBox(Box box) {
18 Node::SetBox(box);
19 children_[0]->SetBox(box);
20}
21
22} // namespace ftxui
void SetBox(Box box) override
void ComputeRequirement() override
The FTXUI ftxui:: namespace.
Definition animation.hpp:11