Update examples for testing modules

This commit is contained in:
Toyosatomimi no Miko
2025-05-15 14:54:42 -04:00
parent 4b8c8ea00d
commit ed5f04ccc0
87 changed files with 589 additions and 0 deletions

View File

@@ -3,12 +3,18 @@
// the LICENSE file.
#include <memory> // for shared_ptr, allocator, __shared_ptr_access
#ifndef FTXUI_BUILD_MODULES
#include "ftxui/component/captured_mouse.hpp" // for ftxui
#include "ftxui/component/component.hpp" // for Renderer, Button, Vertical
#include "ftxui/component/component_base.hpp" // for ComponentBase
#include "ftxui/component/screen_interactive.hpp" // for ScreenInteractive
#include "ftxui/dom/elements.hpp" // for operator|, Element, text, bold, border, center, color
#include "ftxui/screen/color.hpp" // for Color, Color::Red
#else
import ftxui.component;
import ftxui.dom;
import ftxui.screen;
#endif
int main() {
using namespace ftxui;