src/video/SDL_sysvideo.h
changeset 8439 14d94a8a9fb6
parent 8373 46d45dfa5fc7
parent 6885 700f1b25f77f
child 8460 f483e8bdae3c
     1.1 --- a/src/video/SDL_sysvideo.h	Sat Feb 23 18:08:27 2013 -0500
     1.2 +++ b/src/video/SDL_sysvideo.h	Sat Feb 23 20:01:46 2013 -0500
     1.3 @@ -1,6 +1,6 @@
     1.4  /*
     1.5    Simple DirectMedia Layer
     1.6 -  Copyright (C) 1997-2012 Sam Lantinga <slouken@libsdl.org>
     1.7 +  Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
     1.8  
     1.9    This software is provided 'as-is', without any express or implied
    1.10    warranty.  In no event will the authors be held liable for any damages
    1.11 @@ -75,6 +75,7 @@
    1.12      int x, y;
    1.13      int w, h;
    1.14      int min_w, min_h;
    1.15 +    int max_w, max_h;
    1.16      Uint32 flags;
    1.17  
    1.18      /* Stored position and size for windowed mode */
    1.19 @@ -109,6 +110,7 @@
    1.20   */
    1.21  struct SDL_VideoDisplay
    1.22  {
    1.23 +    char *name;
    1.24      int max_display_modes;
    1.25      int num_display_modes;
    1.26      SDL_DisplayMode *display_modes;
    1.27 @@ -183,6 +185,7 @@
    1.28      void (*SetWindowPosition) (_THIS, SDL_Window * window);
    1.29      void (*SetWindowSize) (_THIS, SDL_Window * window);
    1.30      void (*SetWindowMinimumSize) (_THIS, SDL_Window * window);
    1.31 +    void (*SetWindowMaximumSize) (_THIS, SDL_Window * window);
    1.32      void (*ShowWindow) (_THIS, SDL_Window * window);
    1.33      void (*HideWindow) (_THIS, SDL_Window * window);
    1.34      void (*RaiseWindow) (_THIS, SDL_Window * window);
    1.35 @@ -372,6 +375,8 @@
    1.36  extern void SDL_UpdateWindowGrab(SDL_Window * window);
    1.37  extern SDL_Window * SDL_GetFocusWindow(void);
    1.38  
    1.39 +extern SDL_bool SDL_ShouldAllowTopmost();
    1.40 +
    1.41  #endif /* _SDL_sysvideo_h */
    1.42  
    1.43  /* vi: set ts=4 sw=4 expandtab: */