gg: add window_size() function (#8409)
							parent
							
								
									c5a18812e2
								
							
						
					
					
						commit
						85c5df23cf
					
				|  | @ -660,6 +660,11 @@ pub fn screen_size() Size { | |||
| 	return Size{} | ||||
| } | ||||
| 
 | ||||
| // window_size returns the `Size` of the active window
 | ||||
| pub fn window_size() Size { | ||||
| 	return Size{sapp.width(), sapp.height()} | ||||
| } | ||||
| 
 | ||||
| fn C.WaitMessage() | ||||
| 
 | ||||
| /* | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue