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
4
module
;
5
6
#include <
ftxui/component/screen_interactive.hpp
>
7
8
export
module
ftxui.component:ScreenInteractive
;
9
10
/**
11
* @namespace ftxui
12
* @brief FTXUI ftxui:: 命名空間
13
*/
14
export
namespace
ftxui
{
15
using
ftxui::ComponentBase
;
16
using
ftxui::Loop
;
17
using
ftxui::Event
;
18
using
ftxui::Component
;
19
20
using
ftxui::Screen
;
21
using
ftxui::ScreenInteractivePrivate;
22
using
ftxui::ScreenInteractive
;
23
}
ftxui::Loop
Loop 是一個用於管理元件事件循環的類別。
Definition
loop.hpp:56
ftxui::ComponentBase
它將自己實作為 ftxui::Element 進行渲染。它透過回應 ftxui::Event 來實現鍵盤導航。
Definition
component_base.hpp:28
ftxui::ScreenInteractive
ScreenInteractive 是一個可以處理事件、執行主迴圈並管理組件的 Screen。
Definition
screen_interactive.hpp:33
ftxui::Event
代表一個事件。它可以是按鍵事件、終端機大小調整,或更多...
Definition
event.hpp:27
ftxui::Screen
像素的矩形網格。
Definition
screen.hpp:26
ftxui.component
FTXUI 組件操作的模組文件。
ftxui
FTXUI 的 ftxui:: 命名空間
Definition
animation.hpp:10
ftxui::Component
std::shared_ptr< ComponentBase > Component
Definition
component_base.hpp:23
screen_interactive.hpp