Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MouseData Class Reference

Holds the data that might be generated by a 2-d pointer input device, such as the mouse in the GraphicsWindow. More...

#include <mouseData.h>

List of all members.

Public Member Functions

 MouseData ()
 MouseData (const MouseData &copy)
void operator= (const MouseData &copy)
int get_x () const
int get_y () const
bool get_in_window () const

Public Attributes

bool _in_window
int _xpos
int _ypos


Detailed Description

Holds the data that might be generated by a 2-d pointer input device, such as the mouse in the GraphicsWindow.

Definition at line 40 of file mouseData.h.


Constructor & Destructor Documentation

MouseData::MouseData  )  [inline]
 

Definition at line 31 of file mouseData.I.

References INLINE.

MouseData::MouseData const MouseData &  copy  )  [inline]
 

Definition at line 45 of file mouseData.I.

References _in_window, _xpos, _ypos, and INLINE.


Member Function Documentation

bool MouseData::get_in_window  )  const [inline]
 

Definition at line 98 of file mouseData.I.

int MouseData::get_x  )  const [inline]
 

Definition at line 74 of file mouseData.I.

References _ypos.

int MouseData::get_y  )  const [inline]
 

Definition at line 86 of file mouseData.I.

void MouseData::operator= const MouseData &  copy  )  [inline]
 

Definition at line 60 of file mouseData.I.

References _xpos, and INLINE.


Member Data Documentation

bool MouseData::_in_window
 

Definition at line 51 of file mouseData.h.

Referenced by MouseData(), and MouseAndKeyboard::set_source().

int MouseData::_xpos
 

Definition at line 52 of file mouseData.h.

Referenced by MouseData(), operator=(), and MouseAndKeyboard::set_source().

int MouseData::_ypos
 

Definition at line 53 of file mouseData.h.

Referenced by get_x(), MouseData(), and MouseAndKeyboard::set_source().


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:52:19 2003 for Panda by doxygen1.3