added fill-rectangle*
This commit is contained in:
		
							parent
							
								
									e23ad93017
								
							
						
					
					
						commit
						c610256b80
					
				| 
						 | 
				
			
			@ -328,6 +328,10 @@
 | 
			
		|||
    (draw-lines dpy win gc (list (cons x2 y1) (cons x2 y2) (cons x1 y2))
 | 
			
		||||
		(coord-mode origin))))
 | 
			
		||||
 | 
			
		||||
(define (fill-rectangle* dpy win gc rect)
 | 
			
		||||
  (fill-rectangle dpy win gc (rectangle:x rect) (rectangle:y rect)
 | 
			
		||||
		  (rectangle:width rect) (rectangle:height rect)))
 | 
			
		||||
 | 
			
		||||
(define (invalidate-window dpy win)
 | 
			
		||||
  (let ((wa (get-window-attributes dpy win)))
 | 
			
		||||
    (clear-area dpy win 0 0 (window-attribute:width wa)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue