mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-01 21:01:45 +08:00
Fix doxygen same-line comments
This commit is contained in:
@@ -9,11 +9,11 @@ namespace ftxui {
|
||||
/// @brief Option for the Menu component.
|
||||
/// @ingroup component
|
||||
struct MenuOption {
|
||||
Decorator style_normal = nothing; /// style.
|
||||
Decorator style_focused = inverted; /// Style when focused.
|
||||
Decorator style_selected = bold; /// Style when selected.
|
||||
Decorator style_normal = nothing; ///< style.
|
||||
Decorator style_focused = inverted; ///< Style when focused.
|
||||
Decorator style_selected = bold; ///< Style when selected.
|
||||
Decorator style_selected_focused =
|
||||
Decorator(inverted) | bold; /// Style when selected and focused.
|
||||
Decorator(inverted) | bold; ///< Style when selected and focused.
|
||||
|
||||
/// Called when the selected entry changes.
|
||||
std::function<void()> on_change = [] {};
|
||||
@@ -33,10 +33,10 @@ struct ButtonOption {
|
||||
/// @brief Option for the Checkbox component.
|
||||
/// @ingroup component
|
||||
struct CheckboxOption {
|
||||
std::wstring style_checked = L"▣ "; /// Prefix for a "checked" state.
|
||||
std::wstring style_unchecked = L"☐ "; /// Prefix for a "unchecked" state.
|
||||
Decorator style_focused = inverted; /// Decorator used when focused.
|
||||
Decorator style_unfocused = nothing; /// Decorator used when unfocused.
|
||||
std::wstring style_checked = L"▣ "; ///< Prefix for a "checked" state.
|
||||
std::wstring style_unchecked = L"☐ "; ///< Prefix for a "unchecked" state.
|
||||
Decorator style_focused = inverted; ///< Decorator used when focused.
|
||||
Decorator style_unfocused = nothing; ///< Decorator used when unfocused.
|
||||
|
||||
/// Called when the user change the state.
|
||||
std::function<void()> on_change = []() {};
|
||||
@@ -59,10 +59,10 @@ struct InputOption {
|
||||
/// @brief Option for the Radiobox component.
|
||||
/// @ingroup component
|
||||
struct RadioboxOption {
|
||||
std::wstring style_checked = L"◉ "; /// Prefix for a "checked" state.
|
||||
std::wstring style_unchecked = L"○ "; /// Prefix for a "unchecked" state.
|
||||
Decorator style_focused = inverted; /// Decorator used when focused.
|
||||
Decorator style_unfocused = nothing; /// Decorator used when unfocused.
|
||||
std::wstring style_checked = L"◉ "; ///< Prefix for a "checked" state.
|
||||
std::wstring style_unchecked = L"○ "; ///< Prefix for a "unchecked" state.
|
||||
Decorator style_focused = inverted; ///< Decorator used when focused.
|
||||
Decorator style_unfocused = nothing; ///< Decorator used when unfocused.
|
||||
|
||||
/// Called when the selected entry changes.
|
||||
std::function<void()> on_change = []() {};
|
||||
@@ -73,11 +73,11 @@ struct RadioboxOption {
|
||||
/// @brief Option for the Toggle component.
|
||||
/// @ingroup component
|
||||
struct ToggleOption {
|
||||
Decorator style_normal = nothing; /// style.
|
||||
Decorator style_focused = inverted; /// Style when focused.
|
||||
Decorator style_selected = bold; /// Style when selected.
|
||||
Decorator style_normal = nothing; ///< style.
|
||||
Decorator style_focused = inverted; ///< Style when focused.
|
||||
Decorator style_selected = bold; ///< Style when selected.
|
||||
Decorator style_selected_focused =
|
||||
Decorator(inverted) | bold; /// Style when selected and focused.
|
||||
Decorator(inverted) | bold; ///< Style when selected and focused.
|
||||
|
||||
/// Called when the selected entry changes.
|
||||
std::function<void()> on_change = [] {};
|
||||
|
Reference in New Issue
Block a user