include/SDL_compat.h
branchSDL-1.3
changeset 1669 9857d21967bb
parent 1668 4da1ee79c9af
child 1670 eef792d31de8
equal deleted inserted replaced
1668:4da1ee79c9af 1669:9857d21967bb
    23 /* This file contains functions for backwards compatibility with SDL 1.2 */
    23 /* This file contains functions for backwards compatibility with SDL 1.2 */
    24 
    24 
    25 #ifndef _SDL_compat_h
    25 #ifndef _SDL_compat_h
    26 #define _SDL_compat_h
    26 #define _SDL_compat_h
    27 
    27 
       
    28 #include "SDL_video.h"
    28 #include "SDL_syswm.h"
    29 #include "SDL_syswm.h"
    29 
    30 
    30 #include "begin_code.h"
    31 #include "begin_code.h"
    31 /* Set up for C function definitions, even when using C++ */
    32 /* Set up for C function definitions, even when using C++ */
    32 #ifdef __cplusplus
    33 #ifdef __cplusplus
    56 #define SDL_APPINPUTFOCUS	0x02
    57 #define SDL_APPINPUTFOCUS	0x02
    57 #define SDL_APPACTIVE		0x04
    58 #define SDL_APPACTIVE		0x04
    58 
    59 
    59 #define SDL_LOGPAL 0x01
    60 #define SDL_LOGPAL 0x01
    60 #define SDL_PHYSPAL 0x02
    61 #define SDL_PHYSPAL 0x02
       
    62 
       
    63 #define SDL_ACTIVEEVENT	SDL_EVENT_RESERVED1
       
    64 #define SDL_VIDEORESIZE	SDL_EVENT_RESERVED2
       
    65 #define SDL_VIDEOEXPOSE	SDL_EVENT_RESERVED3
    61 
    66 
    62 typedef enum
    67 typedef enum
    63 {
    68 {
    64     SDL_GRAB_QUERY = -1,
    69     SDL_GRAB_QUERY = -1,
    65     SDL_GRAB_OFF = 0,
    70     SDL_GRAB_OFF = 0,