mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-25 12:11:33 +08:00
b3ba747d82
Add the `SliderOption` option supporting: ```cpp { Ref<T> value; ConstRef<T> min = T(0); ConstRef<T> max = T(100); ConstRef<T> increment = (max() - min()) / 20; GaugeDirection direction = GaugeDirection::Right; Color color_active = Color::White; Color color_inactive = Color::GrayDark; }; ``` In particular, this supports multiple direction. This resolves: https://github.com/ArthurSonzogni/FTXUI/issues/467 This one do not support adding a label. The old constructors can still be used to have a label. |
||
---|---|---|
.. | ||
ftxui_benchmark.cmake | ||
ftxui_coverage.cmake | ||
ftxui_export.cmake | ||
ftxui_fuzzer.cmake | ||
ftxui_install.cmake | ||
ftxui_package.cmake | ||
ftxui_set_options.cmake | ||
ftxui_test.cmake | ||
iwyu.cmake |