FTXUI 6.1.9
C++ functional terminal UI.
载入中...
搜索中...
未找到
renderer.cpp 文件参考

浏览该文件的源代码.

命名空间

namespace  ftxui
 #include "ftxui/component/component_base.hpp" // 用于 ComponentBase
 

函数

Component Renderer (std::function< Element()> render)
 返回一个组件,使用 |render| 来渲染其界面。
 
Component Renderer (Component child, std::function< Element()> render)
 返回一个新组件,类似于 |child|,但使用 |render| 作为 Component::Render() 事件。
 
Component Renderer (std::function< Element(bool)> render)
 返回一个可聚焦的组件,使用 |render| 来渲染其界面。
 
ComponentDecorator Renderer (ElementDecorator decorator)
 装饰一个组件,通过装饰其渲染内容。