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

Go to the source code of this file.

Namespaces

namespace  ftxui
 FTXUI ftxui:: 命名空間
 

Functions

Component Slider (ConstStringRef label, Ref< int > value, ConstRef< int > min, ConstRef< int > max, ConstRef< int > increment)
 一個水平滑桿。
 
Component Slider (ConstStringRef label, Ref< float > value, ConstRef< float > min=0.f, ConstRef< float > max=100.f, ConstRef< float > increment=5.f)
 
Component Slider (ConstStringRef label, Ref< long > value, ConstRef< long > min=0L, ConstRef< long > max=100L, ConstRef< long > increment=5L)
 
template<typename T >
Component Slider (SliderOption< T > options)
 任意方向的滑桿。
 
class FTXUI_EXPORT (COMPONENT) ComponentBase = {})
 它將自己實作為 ftxui::Element 進行渲染。它透過回應 ftxui::Event 來實現鍵盤導航。