FTXUI/ftxui/include/ftxui
Arthur Sonzogni 961e3dcb50 Pipeable decoration and the package_manager example.
- Pipeable decorator.
- package_manager example.
2019-01-05 02:03:49 +01:00
..
component Add menu styles. 2019-01-03 00:35:59 +01:00
dom Pipeable decoration and the package_manager example. 2019-01-05 02:03:49 +01:00
util Initial prototype 2018-09-18 08:48:40 +02:00
box.hpp Implement a lot of new features. 2018-10-09 19:08:55 +02:00
color.hpp Add colors. 2018-10-12 09:23:37 +02:00
event.hpp Add dom::blink and component::Input 2018-10-21 14:38:54 +02:00
README.md Pipeable decoration and the package_manager example. 2019-01-05 02:03:49 +01:00
requirement.hpp Implement a lot of new features. 2018-10-09 19:08:55 +02:00
screen_interactive.hpp Pipeable decoration and the package_manager example. 2019-01-05 02:03:49 +01:00
screen.hpp Pipeable decoration and the package_manager example. 2019-01-05 02:03:49 +01:00

  • Level 0: terminal output.
  • Level 1: ftxui::Screen
  • Level 2: ftxui::dom::Node
  • Level 3: ftxui::component::Component

Level 0: terminal output.

The terminal you know, you can append text on it. It is represented by std::cout.

Level 1: ftxui::Screen

A rectangular grid of characters. Use Terminal::ToString() to append its content into the console.

Level 2: ftxui::dom::Node

A hierarchical set of element. They handle layout and Render themself on the screen. See ftxui/dom/elements.hpp

You can make implement your own.

Level 3: ftxui::component::Component

A hierarchical set of component. A component render itself by producing ftxui::dom::Node in Component::Render().

Some component can handle events: * keyboard * mouse * terminal event

Implement your own!