Panda3D

Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
TouchInfo Class Reference

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)

## Detailed Description

Stores information for a single touch event.

Definition at line 22 of file touchInfo.h.

## Member Enumeration Documentation

## ◆ TouchInfoFlags

enum TouchInfo::TouchInfoFlags

Definition at line 25 of file touchInfo.h.

## Constructor & Destructor Documentation

## ◆ TouchInfo()

TouchInfo::TouchInfo | ( |  | ) |

Definition at line 16 of file touchInfo.cxx.

## Member Function Documentation

## ◆ get_flags()

int TouchInfo::get_flags | ( |  | ) |

Definition at line 35 of file touchInfo.cxx.

## ◆ get_id()

int TouchInfo::get_id | ( |  | ) |

Definition at line 31 of file touchInfo.cxx.

## ◆ get_x()

int TouchInfo::get_x | ( |  | ) |

Definition at line 23 of file touchInfo.cxx.

## ◆ get_y()

int TouchInfo::get_y | ( |  | ) |

Definition at line 27 of file touchInfo.cxx.

## ◆ set_flags()

void TouchInfo::set_flags | ( | int | flags | ) |

Definition at line 51 of file touchInfo.cxx.

## ◆ set_id()

void TouchInfo::set_id | ( | int | id | ) |

Definition at line 47 of file touchInfo.cxx.

## ◆ set_x()

void TouchInfo::set_x | ( | int | x | ) |

Definition at line 39 of file touchInfo.cxx.

## ◆ set_y()

void TouchInfo::set_y | ( | int | y | ) |

Definition at line 43 of file touchInfo.cxx.

The documentation for this class was generated from the following files:

- panda/src/display/touchInfo.h
- panda/src/display/touchInfo.cxx