Mercurial > sdl-ios-xcode
comparison src/video/cocoa/SDL_cocoavideo.h @ 3025:54fac87e1f34
Added an API to enable/disable the screen saver.
The screensaver is disabled by default when using SDL 1.2 compatibility.
Use the new XScreenSaver extension, removed unused DPMS extension.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 12 Jan 2009 06:19:05 +0000 |
parents | 99210400e8b9 |
children | fef1a835af43 |
comparison
equal
deleted
inserted
replaced
3024:1a08749aebce | 3025:54fac87e1f34 |
---|---|
47 unsigned int modifierFlags; | 47 unsigned int modifierFlags; |
48 int mouse; | 48 int mouse; |
49 int keyboard; | 49 int keyboard; |
50 void *key_layout; | 50 void *key_layout; |
51 NSText *fieldEdit; | 51 NSText *fieldEdit; |
52 Uint32 screensaver_activity; | |
52 } SDL_VideoData; | 53 } SDL_VideoData; |
53 | 54 |
54 #endif /* _SDL_cocoavideo_h */ | 55 #endif /* _SDL_cocoavideo_h */ |
55 | 56 |
56 /* vi: set ts=4 sw=4 expandtab: */ | 57 /* vi: set ts=4 sw=4 expandtab: */ |