comparison mac/dw.m @ 1945:7af41bfd5190

Mac: Moved an internal prototype to be with the rest for consistency.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sat, 22 Jun 2019 20:58:01 +0000
parents d37f30a7c233
children 42f1e323849c
comparison
equal deleted inserted replaced
1944:d37f30a7c233 1945:7af41bfd5190
266 /* Some internal prototypes */ 266 /* Some internal prototypes */
267 static void _do_resize(Box *thisbox, int x, int y); 267 static void _do_resize(Box *thisbox, int x, int y);
268 void _handle_resize_events(Box *thisbox); 268 void _handle_resize_events(Box *thisbox);
269 int _remove_userdata(UserData **root, char *varname, int all); 269 int _remove_userdata(UserData **root, char *varname, int all);
270 int _dw_main_iteration(NSDate *date); 270 int _dw_main_iteration(NSDate *date);
271 NSGraphicsContext *_dw_draw_context(NSBitmapImageRep *image);
271 272
272 /* Internal function to queue a window redraw */ 273 /* Internal function to queue a window redraw */
273 void _dw_redraw(id window, int skip) 274 void _dw_redraw(id window, int skip)
274 { 275 {
275 static id lastwindow = nil; 276 static id lastwindow = nil;
625 subtype:0 626 subtype:0
626 data1:0 627 data1:0
627 data2:0] 628 data2:0]
628 atStart:NO]; 629 atStart:NO];
629 } 630 }
630
631 NSGraphicsContext *_dw_draw_context(NSBitmapImageRep *image);
632 631
633 /* Used for doing bitblts from the main thread */ 632 /* Used for doing bitblts from the main thread */
634 typedef struct _bitbltinfo 633 typedef struct _bitbltinfo
635 { 634 {
636 id src; 635 id src;