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

Window.h

Go to the documentation of this file.
00001 /*
00002  * $Id: Window.h,v 1.7 2002/08/08 09:49:11 virtualcasino Exp $
00003  */
00004 #ifndef __VCASINO_WINDOW_H__
00005 #define __VCASINO_WINDOW_H__
00006 #include<clawsoft.h>
00007 #include<Rect.h>
00008 #include<Widget.h>
00009 #include<Font.h>
00010 #include<Resource.h>
00011 
00012 namespace clawsoft{
00013         class Window:public Widget{
00014                 protected:
00015                         String caption;
00016                         Rect rect;
00017                         Rect captionRect;
00018                         Rect toolbarRect;
00019                         Rect lborderRect;
00020                         Rect rborderRect;
00021                         virtual void drawComponents();
00022                 public:
00023                         Window();
00024                         Window(Rect &r, const char *ccaption);
00025                         Window(Rect &r, String ccaption);
00026                         virtual ~Window(){ }
00030                         virtual void map();
00031                         void action();
00032                         void draw();
00033                         void move(int x, int y);
00034                         void maximize();
00035                         bool checkKeyEvents();
00036                         bool checkMouseEvents();
00037                         bool checkMouseMotionEvents();
00038                         bool checkEvents();
00039         };
00040 }
00041 
00042 #endif

Powered by:

SourceForge Logo