src/video/android/SDL_androidvideo.h
changeset 6330 0fa55ca2efdd
parent 6138 4c64952a58fb
child 6555 f2c03c06d987
equal deleted inserted replaced
6329:77dcb8c486e9 6330:0fa55ca2efdd
    21 #include "SDL_config.h"
    21 #include "SDL_config.h"
    22 
    22 
    23 #ifndef _SDL_androidvideo_h
    23 #ifndef _SDL_androidvideo_h
    24 #define _SDL_androidvideo_h
    24 #define _SDL_androidvideo_h
    25 
    25 
       
    26 #include "SDL_mutex.h"
    26 #include "../SDL_sysvideo.h"
    27 #include "../SDL_sysvideo.h"
    27 
    28 
    28 /* Called by the JNI layer when the screen changes size or format */
    29 /* Called by the JNI layer when the screen changes size or format */
    29 extern void Android_SetScreenResolution(int width, int height, Uint32 format);
    30 extern void Android_SetScreenResolution(int width, int height, Uint32 format);
    30 
    31 
    31 /* Private display data */
    32 /* Private display data */
    32 
    33 
    33 extern int Android_ScreenWidth;
    34 extern int Android_ScreenWidth;
    34 extern int Android_ScreenHeight;
    35 extern int Android_ScreenHeight;
    35 extern Uint32 Android_ScreenFormat;
    36 extern Uint32 Android_ScreenFormat;
       
    37 extern SDL_sem *Android_PauseSem, *Android_ResumeSem;
    36 extern SDL_Window *Android_Window;
    38 extern SDL_Window *Android_Window;
       
    39 
    37 
    40 
    38 #endif /* _SDL_androidvideo_h */
    41 #endif /* _SDL_androidvideo_h */
    39 
    42 
    40 /* vi: set ts=4 sw=4 expandtab: */
    43 /* vi: set ts=4 sw=4 expandtab: */