00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #include "touchInfo.h"
00016
00017 TouchInfo::TouchInfo(){
00018 _x = 0;
00019 _y = 0;
00020 _id = 0;
00021 _flags = 0;
00022 }
00023
00024 int TouchInfo::get_x(){
00025 return _x;
00026 }
00027
00028 int TouchInfo::get_y(){
00029 return _y;
00030 }
00031
00032 int TouchInfo::get_id(){
00033 return _id;
00034 }
00035
00036 int TouchInfo::get_flags(){
00037 return _flags;
00038 }
00039
00040 void TouchInfo::set_x(int x){
00041 _x = x;
00042 }
00043
00044 void TouchInfo::set_y(int y){
00045 _y = y;
00046 }
00047
00048 void TouchInfo::set_id(int id){
00049 _id = id;
00050 }
00051
00052 void TouchInfo::set_flags(int flags){
00053 _flags = flags;
00054 }