mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-10-31 00:17:44 +08:00
Update README.md
This commit is contained in:
parent
f17acfba4c
commit
7a45585626
@ -14,16 +14,17 @@
|
|||||||
## Level 2: ftxui::Node
|
## Level 2: ftxui::Node
|
||||||
A hierarchial set of element.
|
A hierarchial set of element.
|
||||||
They handle layout and render themself on the screen (level 1)
|
They handle layout and render themself on the screen (level 1)
|
||||||
See ftxui/dom/elements.hpp
|
See [elements.hpp](./dom/elements.hpp)
|
||||||
|
|
||||||
You can make implement your own.
|
You can make implement your own.
|
||||||
|
|
||||||
## Level 3: ftxui::Component
|
## Level 3: ftxui::Component
|
||||||
A hierarchical set of components.
|
A hierarchical set of components.
|
||||||
Components store some state and react to events:
|
Components store some state and react to events:
|
||||||
* keyboard
|
* keyboard
|
||||||
* mouse
|
* mouse
|
||||||
* terminal event
|
* terminal event
|
||||||
|
|
||||||
Components renders themself by producing ftxui::Node (Level 2)
|
Components renders themself by producing ftxui::Node (Level 2)
|
||||||
|
|
||||||
Implement your own!
|
Implement your own!
|
||||||
|
Loading…
Reference in New Issue
Block a user