src/video/vgl/SDL_vglmouse.c
author Sam Lantinga <slouken@libsdl.org>
Mon, 29 May 2006 04:04:35 +0000
branchSDL-1.3
changeset 1668 4da1ee79c9af
parent 1662 782fd950bd46
permissions -rw-r--r--
more tweaking indent options
slouken@75
     1
/*
slouken@75
     2
    SDL - Simple DirectMedia Layer
slouken@1312
     3
    Copyright (C) 1997-2006 Sam Lantinga
slouken@75
     4
slouken@75
     5
    This library is free software; you can redistribute it and/or
slouken@1312
     6
    modify it under the terms of the GNU Lesser General Public
slouken@75
     7
    License as published by the Free Software Foundation; either
slouken@1312
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@75
     9
slouken@75
    10
    This library is distributed in the hope that it will be useful,
slouken@75
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@75
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@1312
    13
    Lesser General Public License for more details.
slouken@75
    14
slouken@1312
    15
    You should have received a copy of the GNU Lesser General Public
slouken@1312
    16
    License along with this library; if not, write to the Free Software
slouken@1312
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@75
    18
slouken@75
    19
    Sam Lantinga
slouken@252
    20
    slouken@libsdl.org
slouken@75
    21
*/
slouken@1402
    22
#include "SDL_config.h"
slouken@75
    23
slouken@75
    24
#include "SDL_mouse.h"
slouken@1361
    25
#include "../../events/SDL_events_c.h"
slouken@75
    26
#include "SDL_vglvideo.h"
slouken@75
    27
#include "SDL_vglmouse_c.h"
slouken@75
    28
slouken@75
    29
slouken@75
    30
/* The implementation dependent data for the window manager cursor */
slouken@1662
    31
struct WMcursor
slouken@1662
    32
{
slouken@1662
    33
    int unused;
slouken@75
    34
};
slouken@75
    35
slouken@75
    36
slouken@1662
    37
void
slouken@1668
    38
VGL_FreeWMCursor(_THIS, WMcursor * cursor)
slouken@75
    39
{
slouken@1662
    40
    return;
slouken@75
    41
}
slouken@75
    42
slouken@1662
    43
WMcursor *
slouken@1668
    44
VGL_CreateWMCursor(_THIS,
slouken@1668
    45
                   Uint8 * data, Uint8 * mask, int w, int h, int hot_x,
slouken@1668
    46
                   int hot_y)
slouken@75
    47
{
slouken@1662
    48
    return (NULL);
slouken@75
    49
}
slouken@75
    50
slouken@1662
    51
int
slouken@1668
    52
VGL_ShowWMCursor(_THIS, WMcursor * cursor)
slouken@75
    53
{
slouken@1662
    54
    return (0);
slouken@75
    55
}
slouken@75
    56
slouken@1662
    57
void
slouken@1668
    58
VGL_WarpWMCursor(_THIS, Uint16 x, Uint16 y)
slouken@75
    59
{
slouken@1668
    60
    SDL_PrivateMouseMotion(0, 0, x, y);
slouken@75
    61
}
slouken@75
    62
slouken@1662
    63
/* vi: set ts=4 sw=4 expandtab: */