mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-10-31 10:38:09 +08:00 
			
		
		
		
	Make component more functionnal
This commit is contained in:
		| @@ -34,6 +34,7 @@ | ||||
| @example ./examples/component/input.cpp | ||||
| @example ./examples/component/homescreen.cpp | ||||
| @example ./examples/component/radiobox.cpp | ||||
| @example ./examples/component/slider_rgb.cpp | ||||
| @example ./examples/component/menu.cpp | ||||
| @example ./examples/component/menu_style.cpp | ||||
| @example ./examples/component/radiobox_in_frame.cpp | ||||
|   | ||||
| @@ -31,7 +31,7 @@ int main(void) { | ||||
|     Dimension::Fit(document) // Height | ||||
|   ); | ||||
|   Render(screen, document); | ||||
|   std::cout << screen.ToString() << std::endl; | ||||
|   screen.Print(); | ||||
|  | ||||
|   return EXIT_SUCCESS; | ||||
| } | ||||
| @@ -142,6 +142,13 @@ This provides: | ||||
| 3. A predefined implementation of "keyboard navigation". | ||||
| 4. A set of predefined widget: CheckBox, RadioBox, Input, Menu, Toggle. | ||||
|  | ||||
|  | ||||
| **List of Component** | ||||
|  | ||||
| You only need one header: ftxui/dom/component.hpp | ||||
|  | ||||
| \include ftxui/component/component.hpp | ||||
|  | ||||
| # ftxui/dom | ||||
|  | ||||
| Every elements of the dom are declared from: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ArthurSonzogni
					ArthurSonzogni