pleyo.com

BC::BCMouseEvent Class Reference

#include <BCMouseEvent.h>

Inheritance diagram for BC::BCMouseEvent:

BAL::BIMouseEvent BCCommonInputEventData BAL::BIInputEvent BAL::BIEvent

List of all members.

Public Member Functions

 BCMouseEvent (MouseEventType, const IntPoint &pos, const IntPoint &globalPos, MouseButton, int clickCount, bool shift, bool ctrl, bool alt, bool meta)
virtual const IntPoint & pos () const
 position in window
virtual void shiftPos (int dx, int dy)
virtual const IntPoint & globalPos () const
 global position
virtual MouseButton button () const
 the pressed or release button
virtual MouseEventType eventType () const
virtual int clickCount () const
 click count 1=simple click, 2=double click 3=triple click
virtual double timestamp () const
 time in seconds
virtual BIEvent * clone () const
 clone the event
virtual unsigned modifierFlags () const
 modifier flags
virtual bool shiftKey () const
virtual bool ctrlKey () const
virtual bool altKey () const
virtual bool metaKey () const


Detailed Description

the MouseEvent The mouse event
See also:
BIEvent, BIEventLoop

Constructor & Destructor Documentation

BCMouseEvent::BCMouseEvent ( MouseEventType  type,
const IntPoint &  pos,
const IntPoint &  globalPos,
MouseButton  button,
int  clickCount,
bool  shift,
bool  ctrl,
bool  alt,
bool  meta 
)


Member Function Documentation

const IntPoint & BCMouseEvent::pos (  )  const [virtual]

position in window

Implements BAL::BIMouseEvent.

void BCMouseEvent::shiftPos ( int  dx,
int  dy 
) [virtual]

Implements BAL::BIMouseEvent.

const IntPoint & BCMouseEvent::globalPos (  )  const [virtual]

global position

Implements BAL::BIMouseEvent.

BAL::BIMouseEvent::MouseButton BCMouseEvent::button (  )  const [virtual]

the pressed or release button

Implements BAL::BIMouseEvent.

virtual MouseEventType BC::BCMouseEvent::eventType (  )  const [inline, virtual]

Implements BAL::BIMouseEvent.

int BCMouseEvent::clickCount (  )  const [virtual]

click count 1=simple click, 2=double click 3=triple click

Implements BAL::BIMouseEvent.

virtual double BC::BCMouseEvent::timestamp (  )  const [inline, virtual]

time in seconds

Implements BAL::BIMouseEvent.

BAL::BIEvent * BCMouseEvent::clone (  )  const [virtual]

clone the event

Implements BAL::BIMouseEvent.

unsigned BCMouseEvent::modifierFlags (  )  const [virtual]

modifier flags

Implements BAL::BIMouseEvent.

virtual bool BC::BCMouseEvent::shiftKey (  )  const [inline, virtual]

Reimplemented from BCCommonInputEventData.

virtual bool BC::BCMouseEvent::ctrlKey (  )  const [inline, virtual]

Reimplemented from BCCommonInputEventData.

virtual bool BC::BCMouseEvent::altKey (  )  const [inline, virtual]

Reimplemented from BCCommonInputEventData.

virtual bool BC::BCMouseEvent::metaKey (  )  const [inline, virtual]

Reimplemented from BCCommonInputEventData.


The documentation for this class was generated from the following files:
Generated on Wed Nov 21 20:04:19 2007 for Origyn Web Browser by Doxygen 1.5.3

pleyo.com
pleyo.com