| 
    FTXUI
    0.8.1
    
   C++ functional terminal UI. 
   | 
 
 
 
 
Go to the documentation of this file.    1 #ifndef FTXUI_COMPONENT_COMPONENT_OPTIONS_HPP 
    2 #define FTXUI_COMPONENT_COMPONENT_OPTIONS_HPP 
 
 
Ref< bool > password
Obscure the input content using '*'.
 
Element nothing(Element element)
A decoration doing absolutely nothing.
 
Element inverted(Element)
Add a filter that will invert the foreground and the background colors.
 
Decorator style_normal
style.
 
Element bold(Element)
Use a bold font, for elements with more emphasis.
 
std::string style_checked
Prefix for a "checked" state.
 
std::string style_unchecked
Prefix for a "unchecked" state.
 
Ref< int > cursor_position
 
Option for the Toggle component.
 
Option for the Radiobox component.
 
bool border
Whether to show a border around the button.
 
Option for the Checkbox component.
 
std::function< void()> on_enter
Called when the user presses enter.
 
std::function< Element(Element)> Decorator
 
Decorator style_focused
Style when focused.
 
Decorator style_selected_focused
Style when selected and focused.
 
Decorator style_selected
Style when selected.
 
std::function< void()> on_change
Called when the selected entry changes.