Main Page   Packages   Class Hierarchy   Alphabetical List   Data Structures   File List   Namespace Members   Data Fields   Globals  

MouseEvent.h

Go to the documentation of this file.
00001 /*
00002  * $Id: MouseEvent.h,v 1.3 2002/07/29 20:37:41 virtualcasino Exp $
00003  */
00004 #ifndef __VCASINO_MOUSE_EVENT_H__
00005 #define __VCASINO_MOUSE_EVENT_H__
00006 #include<clawsoft.h>
00007 #include<Event.h>
00008 #include<Rect.h>
00009 
00010 namespace clawsoft{
00016         class MouseEvent:public Event{
00017                 protected:
00018                 public:
00019                         MouseEvent();
00020                         bool inFocus(Rect r);
00021                         bool leftPressed();
00022                         bool rightPressed();
00023                         bool middlePressed();
00024                         void getStatus(int *x, int *y, int *b);
00025         };
00026 }
00027 
00028 #endif
00029 

Powered by:

SourceForge Logo