FTXUI 6.1.9
C++ functional terminal UI.
Loading...
Searching...
No Matches
component_base.cppm
Go to the documentation of this file.
1/// @module ftxui.component:ComponentBase
2/// @brief 元件模組中 ComponentBase 類的模組文件
3
4module;
5
7
9
10/**
11 * @namespace ftxui
12 * @brief FTXUI 的 ftxui:: 命名空間
13 */
14export namespace ftxui {
15 using ftxui::Delegate;
16 using ftxui::Focus;
17 using ftxui::Event;
18
19 /**
20 * @namespace animation
21 * @brief FTXUI 的 ftxui::animation:: 命名空間
22 */
23 namespace animation {
25 }
26
28 using ftxui::Component;
30}
它將自己實作為 ftxui::Element 進行渲染。它透過回應 ftxui::Event 來實現鍵盤導航。
代表一個事件。它可以是按鍵事件、終端機大小調整,或更多...
Definition event.hpp:27
FTXUI 組件操作的模組文件。
FTXUI 的 ftxui::animation:: 命名空間
FTXUI 的 ftxui:: 命名空間
Definition animation.hpp:10
std::vector< Component > Components
std::shared_ptr< ComponentBase > Component