Mercurial > sdl-ios-xcode
comparison src/video/quartz/SDL_QuartzWindow.m @ 47:45b1c4303f87
Added initial support for Quartz video (thanks Darrell!)
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Thu, 07 Jun 2001 14:28:11 +0000 |
parents | |
children | ce9cd2cf0d0d |
comparison
equal
deleted
inserted
replaced
46:3dcf26fa9d15 | 47:45b1c4303f87 |
---|---|
1 /* Subclass of NSWindow to allow customization if we need it */ | |
2 | |
3 @interface SDL_QuartzWindow : NSWindow | |
4 {} | |
5 - (void)miniaturize:(id)sender; | |
6 - (void)deminiaturize:(id)sender; | |
7 @end | |
8 | |
9 @implementation SDL_QuartzWindow | |
10 | |
11 /* These methods should be rewritten to fix the miniaturize bug */ | |
12 - (void)miniaturize:(id)sender | |
13 { | |
14 [ super miniaturize:sender ]; | |
15 } | |
16 | |
17 - (void)deminiaturize:(id)sender | |
18 { | |
19 /* Let the app know they have to redraw everything */ | |
20 SDL_PrivateExpose (); | |
21 | |
22 [ super deminiaturize:sender ]; | |
23 } | |
24 | |
25 @end |