mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-15 09:28:59 +08:00
Update examples for testing modules
This commit is contained in:
@@ -1,14 +1,22 @@
|
||||
// Copyright 2022 Arthur Sonzogni. All rights reserved.
|
||||
// Use of this source code is governed by the MIT license that can be found in
|
||||
// the LICENSE file.
|
||||
#ifndef FTXUI_BUILD_MODULES
|
||||
#include <ftxui/component/component_options.hpp> // for ButtonOption
|
||||
#include <ftxui/component/mouse.hpp> // for ftxui
|
||||
#endif
|
||||
|
||||
#include <functional> // for function
|
||||
#include <memory> // for allocator, shared_ptr
|
||||
|
||||
#ifndef FTXUI_BUILD_MODULES
|
||||
#include "ftxui/component/component.hpp" // for Button, operator|=, Renderer, Vertical, Modal
|
||||
#include "ftxui/component/screen_interactive.hpp" // for ScreenInteractive, Component
|
||||
#include "ftxui/dom/elements.hpp" // for operator|, separator, text, size, Element, vbox, border, GREATER_THAN, WIDTH, center, HEIGHT
|
||||
#else
|
||||
import ftxui.component;
|
||||
import ftxui.dom;
|
||||
#endif
|
||||
|
||||
using namespace ftxui;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user