Add a doxygen documentation.

This commit is contained in:
ArthurSonzogni
2020-08-09 14:53:56 +02:00
committed by Arthur Sonzogni
parent 5f15b2881e
commit 20b9a0f0f5
20 changed files with 936 additions and 525 deletions

View File

@@ -7,6 +7,8 @@
namespace ftxui {
namespace {
using FlexFunction = void (*)(Requirement&);
void function_flex_grow(Requirement& r) {
@@ -59,6 +61,8 @@ void function_not_flex(Requirement& r) {
r.flex_shrink_y = 0;
}
} // namespace
class Flex : public Node {
public:
Flex(FlexFunction f) { f_ = f; }