Add documentations to every public functions.

This commit is contained in:
ArthurSonzogni
2023-08-19 14:56:28 +02:00
parent 5724f8483b
commit 49a48820dd
32 changed files with 396 additions and 48 deletions

View File

@@ -12,6 +12,7 @@
#include "ftxui/screen/screen.hpp" // for Screen
namespace ftxui {
namespace {
// Helper class.
class Reflect : public Node {
@@ -38,6 +39,7 @@ class Reflect : public Node {
private:
Box& reflected_box_;
};
} // namespace
Decorator reflect(Box& box) {
return [&](Element child) -> Element {