src/video/mir/SDL_mirwindow.h
changeset 10089 25fda20d0173
parent 9998 f67cf37e9cd4
child 10093 7eb2075bdc0b
     1.1 --- a/src/video/mir/SDL_mirwindow.h	Sun Feb 21 17:21:29 2016 -0500
     1.2 +++ b/src/video/mir/SDL_mirwindow.h	Sun Feb 21 15:19:35 2016 -0800
     1.3 @@ -31,13 +31,13 @@
     1.4  
     1.5  #include "SDL_mirvideo.h"
     1.6  
     1.7 -typedef struct {
     1.8 +struct MIR_Window {
     1.9      SDL_Window* sdl_window;
    1.10 -    MIR_Data* mir_data;
    1.11 +    MIR_Data*   mir_data;
    1.12  
    1.13      MirSurface* surface;
    1.14 -    EGLSurface egl_surface;
    1.15 -} MIR_Window;
    1.16 +    EGLSurface  egl_surface;
    1.17 +};
    1.18  
    1.19  
    1.20  extern int
    1.21 @@ -60,10 +60,25 @@
    1.22  extern void
    1.23  MIR_RestoreWindow(_THIS, SDL_Window* window);
    1.24  
    1.25 +extern void
    1.26 +MIR_HideWindow(_THIS, SDL_Window* window);
    1.27 +
    1.28  extern SDL_bool
    1.29  MIR_GetWindowWMInfo(_THIS, SDL_Window* window, SDL_SysWMinfo* info);
    1.30  
    1.31 -#endif /* _SDL_mirwindow_h */
    1.32 +extern void
    1.33 +MIR_SetWindowSize(_THIS, SDL_Window* window);
    1.34 +
    1.35 +extern void
    1.36 +MIR_SetWindowMinimumSize(_THIS, SDL_Window* window);
    1.37 +
    1.38 +extern void
    1.39 +MIR_SetWindowMaximumSize(_THIS, SDL_Window* window);
    1.40 +
    1.41 +extern void
    1.42 +MIR_SetWindowTitle(_THIS, SDL_Window* window);
    1.43 +
    1.44 +#endif /* _SDL_mirwindow */
    1.45  
    1.46  /* vi: set ts=4 sw=4 expandtab: */
    1.47