src/video/SDL_sysvideo.h
changeset 8931 44d8a2f4b431
parent 8782 5a97aae701ab
child 8935 9d2f0236322b
     1.1 --- a/src/video/SDL_sysvideo.h	Tue May 27 00:26:47 2014 -0400
     1.2 +++ b/src/video/SDL_sysvideo.h	Tue May 27 01:27:42 2014 -0400
     1.3 @@ -97,6 +97,9 @@
     1.4  
     1.5      SDL_WindowShaper *shaper;
     1.6  
     1.7 +    int num_drag_areas;
     1.8 +    SDL_Rect *drag_areas;
     1.9 +
    1.10      SDL_WindowUserData *data;
    1.11  
    1.12      void *driverdata;
    1.13 @@ -261,6 +264,9 @@
    1.14      /* MessageBox */
    1.15      int (*ShowMessageBox) (_THIS, const SDL_MessageBoxData *messageboxdata, int *buttonid);
    1.16  
    1.17 +    /* Drag areas. Note that (areas) and (num_areas) are also copied to the SDL_Window for you after this call. */
    1.18 +    int (*SetWindowDragAreas)(SDL_Window * window, const SDL_Rect *areas, int num_areas);
    1.19 +
    1.20      /* * * */
    1.21      /* Data common to all drivers */
    1.22      SDL_bool suspend_screensaver;