Logo Search packages:      
Sourcecode: wayv version File versions

gesture.h

/* wayV - NGUI (Next Generation User Interfaces)
 *
 * Copyright (C) 2000-2003 Mike Bennett (smoog at stressbunny dot com)
 * 
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 * 
 * Purpose:
 *    Prototypes and structures for gesture related functions
*/


#ifndef __GESTURE_H__
#define __GESTURE_H__

#include "defines.h"
#include "aimath.h"

#define GEND      -1

typedef struct {
      float x;
      float y;
} GPOINT;


GPOINT *allocGPoint();
GPOINT *setupGPoints(int);
MATRIX *gridGPoints(GPOINT *, int, int);
VECTOR *vectGPoints(GPOINT *, int, int, int);
int float2Int(float);

#endif /* __GESTURE_H__ */

Generated by  Doxygen 1.6.0   Back to index