mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-10-31 10:38:09 +08:00 
			
		
		
		
	Revert "Feature resizable spilt with custom separator (#583)"
This reverts commit eb313e0f2d.
			
			
This commit is contained in:
		| @@ -2,10 +2,9 @@ | ||||
| #include <cmath>                                  // for sin | ||||
| #include <ftxui/component/component_base.hpp>     // for ComponentBase | ||||
| #include <ftxui/component/component_options.hpp>  // for SliderOption | ||||
| #include <ftxui/dom/direction.hpp>  // for Direction, Direction::Up | ||||
| #include <ftxui/dom/elements.hpp>   // for size, GREATER_THAN, HEIGHT | ||||
| #include <ftxui/util/ref.hpp>       // for ConstRef, Ref | ||||
| #include <memory>                   // for shared_ptr, __shared_ptr_access | ||||
| #include <ftxui/dom/elements.hpp>  // for size, GREATER_THAN, GaugeDirection, GaugeDirection::Up, HEIGHT | ||||
| #include <ftxui/util/ref.hpp>  // for ConstRef, Ref | ||||
| #include <memory>              // for shared_ptr, __shared_ptr_access | ||||
|  | ||||
| #include "ftxui/component/captured_mouse.hpp"  // for ftxui | ||||
| #include "ftxui/component/component.hpp"  // for Horizontal, Slider, operator|= | ||||
| @@ -27,7 +26,7 @@ int main(int argc, const char* argv[]) { | ||||
|     option.value = &values[i]; | ||||
|     option.max = 100; | ||||
|     option.increment = 5; | ||||
|     option.direction = Direction::Up; | ||||
|     option.direction = GaugeDirection::Up; | ||||
|     layout_horizontal->Add(Slider<int>(option)); | ||||
|  | ||||
|     /* In C++20: | ||||
| @@ -35,7 +34,7 @@ int main(int argc, const char* argv[]) { | ||||
|         .value = &values[i], | ||||
|         .max = 100, | ||||
|         .increment = 5, | ||||
|         .direction = Direction::Up, | ||||
|         .direction = GaugeDirection::Up, | ||||
|     })); | ||||
|     */ | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ArthurSonzogni
					ArthurSonzogni