src/events/blank_cursor.h
author Sam Lantinga
Fri, 09 Jun 2006 06:42:42 +0000
branchSDL-1.3
changeset 1671 89f7510fe17a
child 2859 99210400e8b9
permissions -rw-r--r--
Moved the cursor handling into the mouse code.
Added support for multiple mice, potentially dynamically added and removed.
slouken@1671
     1
/*
slouken@1671
     2
    SDL - Simple DirectMedia Layer
slouken@1671
     3
    Copyright (C) 1997-2006 Sam Lantinga
slouken@1671
     4
slouken@1671
     5
    This library is free software; you can redistribute it and/or
slouken@1671
     6
    modify it under the terms of the GNU Lesser General Public
slouken@1671
     7
    License as published by the Free Software Foundation; either
slouken@1671
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@1671
     9
slouken@1671
    10
    This library is distributed in the hope that it will be useful,
slouken@1671
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@1671
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@1671
    13
    Lesser General Public License for more details.
slouken@1671
    14
slouken@1671
    15
    You should have received a copy of the GNU Lesser General Public
slouken@1671
    16
    License along with this library; if not, write to the Free Software
slouken@1671
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@1671
    18
slouken@1671
    19
    Sam Lantinga
slouken@1671
    20
    slouken@libsdl.org
slouken@1671
    21
*/
slouken@1671
    22
slouken@1671
    23
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
slouken@1671
    24
 * A default blank 8x8 cursor                                                */
slouken@1671
    25
slouken@1671
    26
#define BLANK_CWIDTH	8
slouken@1671
    27
#define BLANK_CHEIGHT	8
slouken@1671
    28
#define BLANK_CHOTX	0
slouken@1671
    29
#define BLANK_CHOTY	0
slouken@1671
    30
slouken@1671
    31
static unsigned char blank_cdata[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
slouken@1671
    32
static unsigned char blank_cmask[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };
slouken@1671
    33
slouken@1671
    34
/* vi: set ts=4 sw=4 expandtab: */