src/events/SDL_mouse_c.h
changeset 6302 b0ae93a5b8d6
parent 6138 4c64952a58fb
child 6673 78f18a929123
equal deleted inserted replaced
6301:e8a69c5378e7 6302:b0ae93a5b8d6
    58     int xdelta;
    58     int xdelta;
    59     int ydelta;
    59     int ydelta;
    60     int last_x, last_y;         /* the last reported x and y coordinates */
    60     int last_x, last_y;         /* the last reported x and y coordinates */
    61     Uint8 buttonstate;
    61     Uint8 buttonstate;
    62     SDL_bool relative_mode;
    62     SDL_bool relative_mode;
       
    63     /* the x and y coordinates when relative mode was activated */
       
    64     int original_x, original_y;
    63 
    65 
    64     SDL_Cursor *cursors;
    66     SDL_Cursor *cursors;
    65     SDL_Cursor *def_cursor;
    67     SDL_Cursor *def_cursor;
    66     SDL_Cursor *cur_cursor;
    68     SDL_Cursor *cur_cursor;
    67     SDL_bool cursor_shown;
    69     SDL_bool cursor_shown;