Advertisement
elvman

Untitled

Jul 29th, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.73 KB | None | 0 0
  1. struct SDL_Window
  2. {
  3.     const void *magic;
  4.     Uint32 id;
  5.     char *title;
  6.     SDL_Surface *icon;
  7.     int x, y;
  8.     int w, h;
  9.     int min_w, min_h;
  10.     int max_w, max_h;
  11.     Uint32 flags;
  12.     Uint32 last_fullscreen_flags;
  13.  
  14.     /* Stored position and size for windowed mode */
  15.     SDL_Rect windowed;
  16.  
  17.     SDL_DisplayMode fullscreen_mode;
  18.  
  19.     float brightness;
  20.     Uint16 *gamma;
  21.     Uint16 *saved_gamma;        /* (just offset into gamma) */
  22.  
  23.     SDL_Surface *surface;
  24.     SDL_bool surface_valid;
  25.  
  26.     SDL_bool is_destroying;
  27.  
  28.     SDL_WindowShaper *shaper;
  29.  
  30.     SDL_HitTest hit_test;
  31.     void *hit_test_data;
  32.  
  33.     SDL_WindowUserData *data;
  34.  
  35.     void *driverdata;
  36.  
  37.     SDL_Window *prev;
  38.     SDL_Window *next;
  39. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement