mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 16:26:38 +00:00 
			
		
		
		
	Adds configurable snap settings for instance movement, rotation and scaling, used with the secondary edit button
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			445 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			445 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #ifndef CSV_WIDGET_INSTANCEDRAGMODES_H
 | |
| #define CSV_WIDGET_INSTANCEDRAGMODES_H
 | |
| 
 | |
| namespace CSVRender
 | |
| {
 | |
|     enum DragMode
 | |
|     {
 | |
|         DragMode_None,
 | |
|         DragMode_Move,
 | |
|         DragMode_Rotate,
 | |
|         DragMode_Scale,
 | |
|         DragMode_Select_Only,
 | |
|         DragMode_Select_Add,
 | |
|         DragMode_Select_Remove,
 | |
|         DragMode_Select_Invert,
 | |
|         DragMode_Move_Snap,
 | |
|         DragMode_Rotate_Snap,
 | |
|         DragMode_Scale_Snap
 | |
|     };
 | |
| }
 | |
| #endif
 |