FTXUI
6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
loop.cppm
Go to the documentation of this file.
1
/// @module ftxui.component:Loop
2
/// @brief Component 模組中 Loop 類別的模組文件
3
4
module
;
5
6
#include <
ftxui/component/loop.hpp
>
7
8
export
module
ftxui.component:Loop
;
9
10
/**
11
* @namespace ftxui
12
* @brief FTXUI ftxui:: 命名空間
13
*/
14
export
namespace
ftxui
{
15
using
ftxui::ComponentBase
;
16
using
ftxui::Component
;
17
using
ftxui::ScreenInteractive
;
18
19
using
ftxui::Loop
;
20
}
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
loop.hpp
ftxui.component
FTXUI 組件操作的模組文件。
ftxui
FTXUI 的 ftxui:: 命名空間
Definition
animation.hpp:10
ftxui::Component
std::shared_ptr< ComponentBase > Component
Definition
component_base.hpp:23