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