MouseEvent Class Reference

#include <glwx.h>

List of all members.

Public Member Functions

 MouseEvent ()
 MouseEvent (int id, int xMouse, int yMouse, int yInvMouse, int scrolling=ME_SCROLLING_NONE)
 MouseEvent (const MouseEvent &copy)
MouseEventoperator= (const MouseEvent &copy)
int getScrolling ()
int getButtonID ()
int getX ()
int getY ()
int getYInverse ()
void consume ()
bool getUsed ()
void setUsed (bool value)

Private Attributes

bool used
int scrolling
int buttonID
int x
int y
int yInverse


Detailed Description

Definition at line 217 of file glwx.h.


Constructor & Destructor Documentation

MouseEvent::MouseEvent (  ) 

Definition at line 70 of file GUIEvent.cpp.

References MB_UNKNOWN_BUTTON.

MouseEvent::MouseEvent ( int  id,
int  xMouse,
int  yMouse,
int  yInvMouse,
int  scrolling = ME_SCROLLING_NONE 
)

Definition at line 75 of file GUIEvent.cpp.

References buttonID, scrolling, used, x, y, and yInverse.

MouseEvent::MouseEvent ( const MouseEvent copy  ) 

Definition at line 85 of file GUIEvent.cpp.

References operator=().


Member Function Documentation

MouseEvent & MouseEvent::operator= ( const MouseEvent copy  ) 

Definition at line 90 of file GUIEvent.cpp.

References buttonID, scrolling, used, x, y, and yInverse.

Referenced by MouseEvent().

int MouseEvent::getScrolling (  ) 

Definition at line 117 of file GUIEvent.cpp.

References scrolling.

int MouseEvent::getButtonID (  ) 

Definition at line 118 of file GUIEvent.cpp.

References buttonID.

int MouseEvent::getX (  ) 

Definition at line 120 of file GUIEvent.cpp.

References x.

Referenced by GUITextBox::checkMouseEvents(), GUISlider::checkMouseEvents(), and GUIRectangle::checkMouseEvents().

int MouseEvent::getY (  ) 

Definition at line 121 of file GUIEvent.cpp.

References y.

Referenced by GUISlider::checkMouseEvents(), and GUIRectangle::checkMouseEvents().

int MouseEvent::getYInverse (  ) 

Definition at line 119 of file GUIEvent.cpp.

References yInverse.

void MouseEvent::consume (  ) 

Definition at line 107 of file GUIEvent.cpp.

References buttonID, MB_UNKNOWN_BUTTON, scrolling, used, x, y, and yInverse.

Referenced by GUIComboBox::checkMouseEvents().

bool MouseEvent::getUsed (  ) 

Definition at line 104 of file GUIEvent.cpp.

References used.

void MouseEvent::setUsed ( bool  value  ) 

Definition at line 105 of file GUIEvent.cpp.

References used.

Referenced by GUIRectangle::checkMouseEvents().


Member Data Documentation

bool MouseEvent::used [private]

Definition at line 237 of file glwx.h.

Referenced by consume(), getUsed(), MouseEvent(), operator=(), and setUsed().

int MouseEvent::scrolling [private]

Definition at line 238 of file glwx.h.

Referenced by consume(), getScrolling(), MouseEvent(), and operator=().

int MouseEvent::buttonID [private]

Definition at line 238 of file glwx.h.

Referenced by consume(), getButtonID(), MouseEvent(), and operator=().

int MouseEvent::x [private]

Definition at line 238 of file glwx.h.

Referenced by consume(), getX(), MouseEvent(), and operator=().

int MouseEvent::y [private]

Definition at line 238 of file glwx.h.

Referenced by consume(), getY(), MouseEvent(), and operator=().

int MouseEvent::yInverse [private]

Definition at line 238 of file glwx.h.

Referenced by consume(), getYInverse(), MouseEvent(), and operator=().


The documentation for this class was generated from the following files:
Generated on Wed Dec 5 20:32:03 2007 for GLWX by  doxygen 1.5.3