Add more documentation.

This commit is contained in:
ArthurSonzogni
2020-08-16 02:24:50 +02:00
committed by Arthur Sonzogni
parent f2dc080a35
commit 114ab4ae2a
33 changed files with 310 additions and 144 deletions

View File

@@ -9,6 +9,9 @@ namespace ftxui {
class Delegate;
class Focus;
/// @brief It implement rendering itself as ftxui::Element. It implement
/// keyboard navigation by responding to ftxui::Event.
/// @ingroup component
class Component {
public:
// Constructor/Destructor.
@@ -16,7 +19,7 @@ class Component {
virtual ~Component();
// Component hierarchy.
Component* Parent() { return parent_; }
Component* Parent();
void Add(Component* children);
// Renders the component.