include/SDL_events.h
changeset 6256 1d905b13b102
parent 6138 4c64952a58fb
child 6595 c6402c811a40
     1.1 --- a/include/SDL_events.h	Sun Jan 22 17:50:35 2012 -0500
     1.2 +++ b/include/SDL_events.h	Sun Jan 22 18:11:41 2012 -0500
     1.3 @@ -109,12 +109,6 @@
     1.4      /* Drag and drop events */
     1.5      SDL_DROPFILE        = 0x1000, /**< The system requests a file open */
     1.6  
     1.7 -    /* Obsolete events */
     1.8 -    SDL_EVENT_COMPAT1 = 0x7000, /**< SDL 1.2 events for compatibility */
     1.9 -    SDL_EVENT_COMPAT2,
    1.10 -    SDL_EVENT_COMPAT3,
    1.11 -
    1.12 -
    1.13      /** Events ::SDL_USEREVENT through ::SDL_LASTEVENT are for your use,
    1.14       *  and should be allocated with SDL_RegisterEvents()
    1.15       */
    1.16 @@ -419,36 +413,6 @@
    1.17      SDL_SysWMmsg *msg;  /**< driver dependent data, defined in SDL_syswm.h */
    1.18  } SDL_SysWMEvent;
    1.19  
    1.20 -#ifndef SDL_NO_COMPAT
    1.21 -/**
    1.22 - *  \addtogroup Compatibility 
    1.23 - */
    1.24 -/*@{*/
    1.25 -
    1.26 -/**
    1.27 - *  \name Typedefs for backwards compatibility
    1.28 - */
    1.29 -/*@{*/
    1.30 -typedef struct SDL_ActiveEvent
    1.31 -{
    1.32 -    Uint32 type;
    1.33 -    Uint32 timestamp;
    1.34 -    Uint8 gain;
    1.35 -    Uint8 state;
    1.36 -} SDL_ActiveEvent;
    1.37 -
    1.38 -typedef struct SDL_ResizeEvent
    1.39 -{
    1.40 -    Uint32 type;
    1.41 -    Uint32 timestamp;
    1.42 -    int w;
    1.43 -    int h;
    1.44 -} SDL_ResizeEvent;
    1.45 -/*@}*/
    1.46 -
    1.47 -/*@}*//*Compatibility*/
    1.48 -#endif
    1.49 -
    1.50  /**
    1.51   *  \brief General event structure
    1.52   */
    1.53 @@ -474,14 +438,6 @@
    1.54      SDL_MultiGestureEvent mgesture; /**< Multi Finger Gesture data */
    1.55      SDL_DollarGestureEvent dgesture; /**< Multi Finger Gesture data */
    1.56      SDL_DropEvent drop;             /**< Drag and drop event data */
    1.57 -
    1.58 -    /** Temporarily here for backwards compatibility */
    1.59 -    /*@{*/
    1.60 -#ifndef SDL_NO_COMPAT
    1.61 -    SDL_ActiveEvent active;
    1.62 -    SDL_ResizeEvent resize;
    1.63 -#endif
    1.64 -    /*@}*/
    1.65  } SDL_Event;
    1.66  
    1.67