mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:02:45 +00:00 
			
		
		
		
	 8202beeb2b
			
		
	
	
		8202beeb2b
		
	
	
	
	
		
			
			The hot-spots for resizing a window by dragging its corner are now limited to a small area around the actual corner instead of an area with 1/3rd the length or width of the window. The hot-spots to resize a window while holding a modifier key and the right mouse button are unchanged.
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			293 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			293 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2022, Mart G <martg_@hotmail.com>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| namespace WindowServer {
 | |
| 
 | |
| enum class ResizeDirection {
 | |
|     None,
 | |
|     Left,
 | |
|     UpLeft,
 | |
|     Up,
 | |
|     UpRight,
 | |
|     Right,
 | |
|     DownRight,
 | |
|     Down,
 | |
|     DownLeft,
 | |
|     __Count
 | |
| };
 | |
| 
 | |
| }
 |