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