| 
									
										
										
										
											2023-08-19 13:56:36 +02:00
										 |  |  | // Copyright 2023 Arthur Sonzogni. All rights reserved.
 | 
					
						
							|  |  |  | // Use of this source code is governed by the MIT license that can be found in
 | 
					
						
							|  |  |  | // the LICENSE file.
 | 
					
						
							| 
									
										
										
										
											2023-03-09 20:21:23 +01:00
										 |  |  | #ifndef FTXUI_DOM_DIRECTION_HPP
 | 
					
						
							|  |  |  | #define FTXUI_DOM_DIRECTION_HPP
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | namespace ftxui { | 
					
						
							| 
									
										
										
										
											2025-06-05 11:35:14 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | /// @brief Direction is an enumeration that represents the four cardinal
 | 
					
						
							|  |  |  | /// directions.
 | 
					
						
							|  |  |  | ///
 | 
					
						
							|  |  |  | /// @ingroup dom
 | 
					
						
							| 
									
										
										
										
											2023-03-09 20:21:23 +01:00
										 |  |  | enum class Direction { | 
					
						
							|  |  |  |   Up = 0, | 
					
						
							|  |  |  |   Down = 1, | 
					
						
							|  |  |  |   Left = 2, | 
					
						
							|  |  |  |   Right = 3, | 
					
						
							|  |  |  | }; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | }  // namespace ftxui
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-19 13:56:36 +02:00
										 |  |  | #endif /* end of include guard: FTXUI_DOM_DIRECTION_HPP */
 |