2 SDL - Simple DirectMedia Layer
3 Copyright (C) 1997-2009 Sam Lantinga
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with XBMC; see the file COPYING. If not, see
17 <http://www.gnu.org/licenses/>.
23 /* Include file for SDL mouse event handling */
28 /* Useful data types */
29 typedef struct XBMC_Rect {
35 typedef struct WMcursor WMcursor; /* Implementation dependent */
36 typedef struct XBMC_Cursor {
37 XBMC_Rect area; /* The area of the mouse cursor */
38 int16_t hot_x, hot_y; /* The "tip" of the cursor */
39 unsigned char *data; /* B/W cursor data */
40 unsigned char *mask; /* B/W cursor mask */
41 unsigned char *save[2]; /* Place to save cursor area */
42 WMcursor *wm_cursor; /* Window-manager cursor */
45 #endif /* _XBMC_mouse_h */