mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-23 13:28:08 +08:00
Add more documentation.
This commit is contained in:

committed by
Arthur Sonzogni

parent
f2dc080a35
commit
114ab4ae2a
@@ -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.
|
||||
|
Reference in New Issue
Block a user