40 INLINE
double get_x()
const;
41 INLINE
double get_y()
const;
42 INLINE
bool get_in_window()
const;
45 INLINE
int get_id()
const;
47 INLINE
double get_pressure()
const;
49 void output(std::ostream &out)
const;
52 MAKE_PROPERTY(x, get_x);
53 MAKE_PROPERTY(y, get_y);
54 MAKE_PROPERTY(type, get_type);
55 MAKE_PROPERTY(
id, get_id);
56 MAKE_PROPERTY(in_window, get_in_window);
57 MAKE_PROPERTY(pressure, get_pressure);
60 bool _in_window =
false;
63 double _pressure = 0.0;
68 INLINE std::ostream &operator << (std::ostream &out,
const PointerData &md);
Holds the data that might be generated by a 2-d pointer input device, such as the mouse in the Graphi...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PointerType
Contains the types of pointer device.