Panda3D
|
Stores information for a single touch event. More...
#include "touchInfo.h"
Public Types | |
enum | TouchInfoFlags { TIF_move = 0x0001 , TIF_down = 0x0002 , TIF_up = 0x0004 } |
Public Member Functions | |
int | get_flags () |
int | get_id () |
int | get_x () |
int | get_y () |
void | set_flags (int flags) |
void | set_id (int id) |
void | set_x (int x) |
void | set_y (int y) |
Stores information for a single touch event.
Definition at line 22 of file touchInfo.h.
enum TouchInfo::TouchInfoFlags |
Definition at line 25 of file touchInfo.h.
TouchInfo::TouchInfo | ( | ) |
Definition at line 16 of file touchInfo.cxx.
int TouchInfo::get_flags | ( | ) |
Definition at line 35 of file touchInfo.cxx.
int TouchInfo::get_id | ( | ) |
Definition at line 31 of file touchInfo.cxx.
int TouchInfo::get_x | ( | ) |
Definition at line 23 of file touchInfo.cxx.
int TouchInfo::get_y | ( | ) |
Definition at line 27 of file touchInfo.cxx.
void TouchInfo::set_flags | ( | int | flags | ) |
Definition at line 51 of file touchInfo.cxx.
void TouchInfo::set_id | ( | int | id | ) |
Definition at line 47 of file touchInfo.cxx.
void TouchInfo::set_x | ( | int | x | ) |
Definition at line 39 of file touchInfo.cxx.
void TouchInfo::set_y | ( | int | y | ) |
Definition at line 43 of file touchInfo.cxx.