Revert examples change + add doc.

This commit is contained in:
ArthurSonzogni
2025-06-02 10:28:16 +02:00
parent a4a4e20902
commit 6a783ce9b5
91 changed files with 66 additions and 688 deletions

View File

@@ -3,22 +3,13 @@
// the LICENSE file.
#include <stdio.h> // for getchar
#include <cmath> // for cos
#ifndef FTXUI_BUILD_MODULES
#include <ftxui/dom/elements.hpp> // for Fit, canvas, operator|, border, Element
#include <ftxui/screen/screen.hpp> // for Pixel, Screen
#endif
#include <vector> // for vector, allocator
#ifndef FTXUI_BUILD_MODULES
#include "ftxui/dom/canvas.hpp" // for Canvas
#include "ftxui/dom/node.hpp" // for Render
#include "ftxui/screen/color.hpp" // for Color, Color::Red, Color::Blue, Color::Green, ftxui
#else
import ftxui.dom;
import ftxui.screen;
#endif
int main() {
using namespace ftxui;