src/video/quartz/SDL_QuartzVideo.h
branchSDL-1.2
changeset 3936 c5c3c772f5aa
parent 3877 81f66f258d77
child 4049 60f677630282
equal deleted inserted replaced
3935:00959c391aa6 3936:c5c3c772f5aa
    78 
    78 
    79 
    79 
    80 /* Main driver structure to store required state information */
    80 /* Main driver structure to store required state information */
    81 typedef struct SDL_PrivateVideoData {
    81 typedef struct SDL_PrivateVideoData {
    82 
    82 
       
    83     BOOL               allow_screensaver;  /* 0 == disable screensaver */
    83     CGDirectDisplayID  display;            /* 0 == main display (only support single display) */
    84     CGDirectDisplayID  display;            /* 0 == main display (only support single display) */
    84     CFDictionaryRef    mode;               /* current mode of the display */
    85     CFDictionaryRef    mode;               /* current mode of the display */
    85     CFDictionaryRef    save_mode;          /* original mode of the display */
    86     CFDictionaryRef    save_mode;          /* original mode of the display */
    86     CFArrayRef         mode_list;          /* list of available fullscreen modes */
    87     CFArrayRef         mode_list;          /* list of available fullscreen modes */
    87     CGDirectPaletteRef palette;            /* palette of an 8-bit display */
    88     CGDirectPaletteRef palette;            /* palette of an 8-bit display */
   125 
   126 
   126 #define _THIS    SDL_VideoDevice *this
   127 #define _THIS    SDL_VideoDevice *this
   127 #define display_id (this->hidden->display)
   128 #define display_id (this->hidden->display)
   128 #define mode (this->hidden->mode)
   129 #define mode (this->hidden->mode)
   129 #define save_mode (this->hidden->save_mode)
   130 #define save_mode (this->hidden->save_mode)
       
   131 #define allow_screensaver (this->hidden->allow_screensaver)
   130 #define mode_list (this->hidden->mode_list)
   132 #define mode_list (this->hidden->mode_list)
   131 #define palette (this->hidden->palette)
   133 #define palette (this->hidden->palette)
   132 #define gl_context (this->hidden->gl_context)
   134 #define gl_context (this->hidden->gl_context)
   133 #define device_width (this->hidden->width)
   135 #define device_width (this->hidden->width)
   134 #define device_height (this->hidden->height)
   136 #define device_height (this->hidden->height)