~vcs-imports/libsdl/trunk

« back to all changes in this revision

Viewing changes to src/events/SDL_mouse_c.h

  • Committer: slouken
  • Date: 2010-01-21 06:21:52 UTC
  • Revision ID: svn-v4:c70aab31-4412-0410-b14c-859654838e24:trunk/SDL:5525
Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    void (*FreeCursor) (SDL_Cursor * cursor);
49
49
 
50
50
    /* Warp the mouse to (x,y) */
51
 
    void (*WarpMouse) (SDL_Mouse * mouse, SDL_WindowID windowID, int x,
 
51
    void (*WarpMouse) (SDL_Mouse * mouse, SDL_Window * window, int x,
52
52
                       int y);
53
53
 
54
54
    /* Free the mouse when it's time */
65
65
 
66
66
    /* Data common to all mice */
67
67
    int id;
68
 
    SDL_WindowID focus;
 
68
    SDL_Window *focus;
69
69
    int which;
70
70
    int x;
71
71
    int y;
106
106
extern void SDL_ResetMouse(int index);
107
107
 
108
108
/* Set the mouse focus window */
109
 
extern void SDL_SetMouseFocus(int id, SDL_WindowID windowID);
 
109
extern void SDL_SetMouseFocus(int id, SDL_Window * window);
110
110
 
111
111
/* Send a mouse motion event for a mouse */
112
112
extern int SDL_SendMouseMotion(int id, int relative, int x, int y, int z);