comparison src/video/windib/SDL_dibvideo.h @ 3981:b0d021cf41b6 SDL-1.2

windib target can now control screensaver with SDL_VIDEO_ALLOW_SCREENSAVER. Fixes Bugzilla #415.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 26 Jun 2007 20:02:40 +0000
parents 8dfa9a6d69a5
children c75679dce60c
comparison
equal deleted inserted replaced
3980:5368d56af4da 3981:b0d021cf41b6
39 /* Private display data */ 39 /* Private display data */
40 struct SDL_PrivateVideoData { 40 struct SDL_PrivateVideoData {
41 HBITMAP screen_bmp; 41 HBITMAP screen_bmp;
42 HPALETTE screen_pal; 42 HPALETTE screen_pal;
43 43
44 int allow_screensaver;
45
44 #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ 46 #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */
45 int SDL_nummodes[NUM_MODELISTS]; 47 int SDL_nummodes[NUM_MODELISTS];
46 SDL_Rect **SDL_modelist[NUM_MODELISTS]; 48 SDL_Rect **SDL_modelist[NUM_MODELISTS];
47 49
48 SDL_ScreenOrientation orientation; 50 SDL_ScreenOrientation orientation;