mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-10-31 18:48:11 +08:00 
			
		
		
		
	Modify signature of Container::Tab(...) (#92)
Take selector at the end to get more pleasing results with clang-format.
This commit is contained in:
		| @@ -36,7 +36,7 @@ Component Slider(StringRef label, T* value, T min, T max, T increment); | ||||
| namespace Container { | ||||
| Component Vertical(Components children); | ||||
| Component Horizontal(Components children); | ||||
| Component Tab(int* selector, Components children); | ||||
| Component Tab(Components children, int* selector); | ||||
| }  // namespace Container | ||||
|  | ||||
| }  // namespace ftxui | ||||
|   | ||||
| @@ -18,7 +18,7 @@ class ContainerBase : public ComponentBase { | ||||
|   static Component Horizontal(Components children); | ||||
|  | ||||
|   static Component Tab(int* selector); | ||||
|   static Component Tab(int* selector, Components children); | ||||
|   static Component Tab(Components children, int* selector); | ||||
|  | ||||
|   ~ContainerBase() override = default; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Arthur Sonzogni
					Arthur Sonzogni