FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
screen_interactive.cppm
Go to the documentation of this file.
1/// @module ftxui.component:ScreenInteractive
2/// @brief 元件模組中 ScreenInteractive 類的模組文件
3
4module;
5
7
9
10/**
11 * @namespace ftxui
12 * @brief FTXUI ftxui:: 命名空間
13 */
14export namespace ftxui {
16 using ftxui::Loop;
17 using ftxui::Event;
18 using ftxui::Component;
19
20 using ftxui::Screen;
21 using ftxui::ScreenInteractivePrivate;
23}
Loop 是一個用於管理元件事件循環的類別。
Definition loop.hpp:56
它將自己實作為 ftxui::Element 進行渲染。它透過回應 ftxui::Event 來實現鍵盤導航。
ScreenInteractive 是一個可以處理事件、執行主迴圈並管理組件的 Screen。
代表一個事件。它可以是按鍵事件、終端機大小調整,或更多...
Definition event.hpp:27
像素的矩形網格。
Definition screen.hpp:26
FTXUI 組件操作的模組文件。
FTXUI 的 ftxui:: 命名空間
Definition animation.hpp:10
std::shared_ptr< ComponentBase > Component