src/touchscreen/SDL_touchscreen_c.h
branchgsoc2008_nds
changeset 2678 3895761db26a
parent 2677 6386764eb222
child 2679 bc3e3e889f6d
     1.1 --- a/src/touchscreen/SDL_touchscreen_c.h	Wed Jul 02 13:59:30 2008 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,53 +0,0 @@
     1.4 -/*
     1.5 -    SDL - Simple DirectMedia Layer
     1.6 -    Copyright (C) 1997-2006 Sam Lantinga
     1.7 -
     1.8 -    This library is free software; you can redistribute it and/or
     1.9 -    modify it under the terms of the GNU Lesser General Public
    1.10 -    License as published by the Free Software Foundation; either
    1.11 -    version 2.1 of the License, or (at your option) any later version.
    1.12 -
    1.13 -    This library is distributed in the hope that it will be useful,
    1.14 -    but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.15 -    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    1.16 -    Lesser General Public License for more details.
    1.17 -
    1.18 -    You should have received a copy of the GNU Lesser General Public
    1.19 -    License along with this library; if not, write to the Free Software
    1.20 -    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    1.21 -
    1.22 -    Sam Lantinga
    1.23 -    slouken@libsdl.org
    1.24 -*/
    1.25 -#include "SDL_config.h"
    1.26 -
    1.27 -/* Useful functions and variables from SDL_touchscreen.c */
    1.28 -#include "SDL_touchscreen.h"
    1.29 -
    1.30 -/* The number of available touchscreens on the system */
    1.31 -extern Uint8 SDL_numtouchscreens;
    1.32 -
    1.33 -/* Internal event queueing functions */
    1.34 -
    1.35 -/* the point index starts at 0
    1.36 - * if point < 0, release all points and set this to be the first (only) point.
    1.37 - * if point >= touchscreen->maxpoints, error.
    1.38 - * otherwise, add a point with the given coordinates.
    1.39 - * return < 0 if fatal error, >= 0 on success
    1.40 - */
    1.41 -extern int SDL_PrivateTouchPress(SDL_Touchscreen * touchscreen, int point,
    1.42 -                                  Uint16 x, Uint16 y, Uint16 pressure);
    1.43 -/* if point < 0, release all points and set this to be the first (only) point.
    1.44 - * if point >= touchscreen->maxpoints, error.
    1.45 - * otherwise, update the coordinates for the given point.
    1.46 - * return < 0 if fatal error, >= 0 on success
    1.47 - */
    1.48 -extern int SDL_PrivateTouchMove(SDL_Touchscreen * touchscreen, int point,
    1.49 -                                 Uint16 x, Uint16 y, Uint16 pressure);
    1.50 -/* if point < 0, release all points.
    1.51 - * if point >= touchscreen->npoints, error.
    1.52 - * otherwise, remove the given point.
    1.53 - * return < 0 if fatal error, >= 0 on success
    1.54 - */
    1.55 -extern int SDL_PrivateTouchRelease(SDL_Touchscreen * touchscreen, int point);
    1.56 -/* vi: set ts=4 sw=4 expandtab: */