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 [] |
A C++ ripoff of the stroke library, modified for MythTV.
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.
| 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().
const char* gesturename[] [static] |
{
"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.
1.6.3