Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - GUI - Internal - MouseEventC
 

  PUBLIC
MouseEventC::MouseEventC(IntT,IntT,IntT)
MouseEventC::MouseEventC(GdkEventButton &)
MouseEventC::MouseEventC(GdkEventMotion &)
MouseEventC::X(void) const
MouseEventC::Y(void) const
MouseEventC::Position(void) const
MouseEventC::IsPressed(IntT) const
MouseEventC::HasChanged(IntT) const
MouseEventC::MaxButtons(void) const
MouseEventC::IsShift(void) const
MouseEventC::IsCntrl(void) const

   MouseEventC   
 
Mouse event information.
 
include "Ravl/GUI/MouseEvent.hh"
Created:08/04/1999 
Source file:Ravl/GUI/GTK/MouseEvent.hh
User Level:Normal
Library:RavlGUI
In Scope:RavlGUIN

Variables:
RealT x;
Current position.

RealT y;
Current position.

IntT state;
Current state.

IntT change;
Change flags.

UIntT time;
Time of event.

Methods:
MouseEventC(IntT x = 0,IntT y = 0,IntT state = 0)
Constructor.

MouseEventC(GdkEventButton & ev)
Constructor.

MouseEventC(GdkEventMotion & ev)
Constructor.

RealT X() const
Get X component of position.

RealT Y() const
Get Y component of position.

Index2dC Position() const
Get position.

bool IsPressed(IntT buttonNo = 0) const
Test if a button is pessed.

bool HasChanged(IntT buttonNo = 0) const
Has button changed state ?

IntT MaxButtons() const
Maximum buttons available.

bool IsShift() const
Is shift down ?

bool IsCntrl() const
Is control down ?


Maintainer:Charles Galambos, Created: 08/04/1999, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002