mythgesture.cpp File Reference

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

Go to the source code of this file.

Classes

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

Functions

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

Variables

static const char * gesturename []

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.


Function Documentation

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

Definition at line 149 of file mythgesture.cpp.

Referenced by MythGesture::translate().


Variable Documentation

const 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 333 of file mythgesture.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Sun May 27 06:41:46 2012 for MythTV by  doxygen 1.6.3