mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-11-01 02:58:12 +08:00 
			
		
		
		
	Run IWYU. (#208)
This commit is contained in:
		| @@ -19,6 +19,7 @@ struct InputOption; | ||||
| struct MenuOption; | ||||
| struct RadioboxOption; | ||||
| struct ToggleOption; | ||||
| struct MenuEntryOption; | ||||
|  | ||||
| template <class T, class... Args> | ||||
| std::shared_ptr<T> Make(Args&&... args) { | ||||
|   | ||||
| @@ -43,11 +43,11 @@ struct ButtonOption { | ||||
| /// @brief Option for the Checkbox component. | ||||
| /// @ingroup component | ||||
| struct CheckboxOption { | ||||
|   std::string style_checked = "▣ ";     ///< Prefix for a "checked" state. | ||||
|   std::string style_unchecked = "☐ ";   ///< Prefix for a "unchecked" state. | ||||
|   Decorator style_normal = nothing;     ///< style. | ||||
|   Decorator style_focused = inverted;   ///< Style when focused. | ||||
|   Decorator style_selected = bold;      ///< Style when selected. | ||||
|   std::string style_checked = "▣ ";    ///< Prefix for a "checked" state. | ||||
|   std::string style_unchecked = "☐ ";  ///< Prefix for a "unchecked" state. | ||||
|   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. | ||||
|  | ||||
| @@ -74,8 +74,8 @@ struct InputOption { | ||||
| /// @brief Option for the Radiobox component. | ||||
| /// @ingroup component | ||||
| struct RadioboxOption { | ||||
|   std::string style_checked = "◉ ";     ///< Prefix for a "checked" state. | ||||
|   std::string style_unchecked = "○ ";   ///< Prefix for a "unchecked" state. | ||||
|   std::string style_checked = "◉ ";    ///< Prefix for a "checked" state. | ||||
|   std::string style_unchecked = "○ ";  ///< Prefix for a "unchecked" state. | ||||
|   Decorator style_normal = nothing;    ///< style. | ||||
|   Decorator style_focused = inverted;  ///< Style when focused. | ||||
|   Decorator style_selected = bold;     ///< Style when selected. | ||||
|   | ||||
| @@ -6,7 +6,7 @@ | ||||
| #include <functional>                    // for function | ||||
| #include <memory>                        // for shared_ptr | ||||
| #include <string>                        // for string | ||||
| #include <thread> | ||||
| #include <thread>                        // for thread | ||||
|  | ||||
| #include "ftxui/component/captured_mouse.hpp"  // for CapturedMouse | ||||
| #include "ftxui/component/event.hpp"           // for Event | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Arthur Sonzogni
					Arthur Sonzogni