src/video/quartz/SDL_QuartzVideo.h
changeset 555 2536446a92de
parent 501 74262d2647ca
child 561 4bcf7dd06c47
equal deleted inserted replaced
554:38b1a98aeb11 555:2536446a92de
   129     BOOL               in_foreground;      /* boolean; indicate if app is in foreground or not */
   129     BOOL               in_foreground;      /* boolean; indicate if app is in foreground or not */
   130     SDL_Rect           **client_mode_list; /* resolution list to pass back to client */
   130     SDL_Rect           **client_mode_list; /* resolution list to pass back to client */
   131     SDLKey             keymap[256];        /* Mac OS X to SDL key mapping */
   131     SDLKey             keymap[256];        /* Mac OS X to SDL key mapping */
   132     Uint32             current_mods;       /* current keyboard modifiers, to track modifier state */
   132     Uint32             current_mods;       /* current keyboard modifiers, to track modifier state */
   133     Uint32             last_virtual_button;/* last virtual mouse button pressed */
   133     Uint32             last_virtual_button;/* last virtual mouse button pressed */
   134     
   134     io_connect_t       powerConnection;    /* used with IOKit to detect wake from sleep */
       
   135 
   135     ImageDescriptionHandle yuv_idh;
   136     ImageDescriptionHandle yuv_idh;
   136     MatrixRecordPtr        yuv_matrix;
   137     MatrixRecordPtr        yuv_matrix;
   137     DecompressorComponent  yuv_codec;
   138     DecompressorComponent  yuv_codec;
   138     ImageSequence          yuv_seq;
   139     ImageSequence          yuv_seq;
   139     PlanarPixmapInfoYUV420 *yuv_pixmap;
   140     PlanarPixmapInfoYUV420 *yuv_pixmap;
   163 #define in_foreground (this->hidden->in_foreground)
   164 #define in_foreground (this->hidden->in_foreground)
   164 #define client_mode_list (this->hidden->client_mode_list)
   165 #define client_mode_list (this->hidden->client_mode_list)
   165 #define keymap (this->hidden->keymap)
   166 #define keymap (this->hidden->keymap)
   166 #define current_mods (this->hidden->current_mods)
   167 #define current_mods (this->hidden->current_mods)
   167 #define last_virtual_button (this->hidden->last_virtual_button)
   168 #define last_virtual_button (this->hidden->last_virtual_button)
       
   169 #define powerConnection (this->hidden->powerConnection)
   168 
   170 
   169 #define yuv_idh (this->hidden->yuv_idh)
   171 #define yuv_idh (this->hidden->yuv_idh)
   170 #define yuv_matrix (this->hidden->yuv_matrix)
   172 #define yuv_matrix (this->hidden->yuv_matrix)
   171 #define yuv_codec (this->hidden->yuv_codec)
   173 #define yuv_codec (this->hidden->yuv_codec)
   172 #define yuv_seq (this->hidden->yuv_seq)
   174 #define yuv_seq (this->hidden->yuv_seq)