mythgesture.cpp File Reference


Detailed Description

A C++ ripoff of the stroke library, modified for MythTV.

Author:
Micah F. Galizia <mfgalizi@csd.uwo.ca> Copyright (C) 2005 Micah Galizia
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, 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

This library contains code originally obtained from the libstroke library, which was written by Mark F. Willey. If I am in offense of any copyright or anything, please let me know and I will make the appropriate fixes.

Definition in file mythgesture.cpp.

Go to the source code of this file.

Classes

class  MythGesturePrivate
 Private information used only by a stroke class. More...

Functions

int determineBin (const QPoint &p, int x1, int x2, int y1, int y2)

Variables

static char * gesturename []


Function Documentation

int determineBin ( const QPoint &  p,
int  x1,
int  x2,
int  y1,
int  y2 
)

Definition at line 151 of file mythgesture.cpp.

Referenced by MythGesture::translate().


Variable Documentation

char* gesturename[] [static]

Initial value:

 {
    "Up",
    "Down",
    "Left",
    "Right",
    "UpLeft",
    "UpRight",
    "DownLeft",
    "DownRight",
    "UpThenLeft",
    "UpThenRight",
    "DownThenLeft",
    "DownThenRight",
    "LeftThenUp",
    "LeftThenDown",
    "RightThenUp",
    "RightThenDown",
    "Click",
    "MaxGesture"
}

Definition at line 335 of file mythgesture.cpp.

Referenced by MythGestureEvent::operator QString().


Generated on Sat Dec 18 05:15:54 2010 for MythTV by  doxygen 1.5.5