FTXUI 7.0.3
C++ functional terminal UI.
Loading...
Searching...
No Matches
renderer.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  ftxui
 FTXUI ftxui:: 命名空間
 

Functions

Component Renderer (std::function< Element()> render)
 傳回一個元件,使用 |render| 來繪製其介面。
 
Component Renderer (Component child, std::function< Element()> render)
 回傳一個新的 Component,類似 |child|,但使用 |render| 作為 Component::Render() 事件。
 
FTXUI_EXPORT(COMPONENT) Component Renderer(std Component Renderer (std::function< Element(bool)> render)
 回傳一個可聚焦的元件,使用 |render| 來渲染其介面。
 
ComponentDecorator Renderer (ElementDecorator decorator)
 透過裝飾元件所渲染的內容來裝飾該元件。