mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-17 16:38:09 +08:00
Add a doxygen documentation.
This commit is contained in:

committed by
Arthur Sonzogni

parent
5f15b2881e
commit
20b9a0f0f5
@@ -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; }
|
||||
|
Reference in New Issue
Block a user