mirror of
				https://github.com/ArthurSonzogni/FTXUI.git
				synced 2025-11-04 05:28:15 +08:00 
			
		
		
		
	Add documentation for ResizableSplit
This commit is contained in:
		
				
					committed by
					
						
						Arthur Sonzogni
					
				
			
			
				
	
			
			
			
						parent
						
							bba2abbb60
						
					
				
				
					commit
					2504a24ee0
				
			@@ -18,10 +18,10 @@ int main(int argc, const char* argv[]) {
 | 
			
		||||
  int bottom_size = 10;
 | 
			
		||||
 | 
			
		||||
  auto container = middle;
 | 
			
		||||
  container = ResizableSplit::Left(left, container, &left_size);
 | 
			
		||||
  container = ResizableSplit::Right(right, container, &right_size);
 | 
			
		||||
  container = ResizableSplit::Top(top, container, &top_size);
 | 
			
		||||
  container = ResizableSplit::Bottom(bottom, container, &bottom_size);
 | 
			
		||||
  container = ResizableSplitLeft(left, container, &left_size);
 | 
			
		||||
  container = ResizableSplitRight(right, container, &right_size);
 | 
			
		||||
  container = ResizableSplitTop(top, container, &top_size);
 | 
			
		||||
  container = ResizableSplitBottom(bottom, container, &bottom_size);
 | 
			
		||||
 | 
			
		||||
  auto renderer =
 | 
			
		||||
      Renderer(container, [&] { return container->Render() | border; });
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user