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

Rect.h

Go to the documentation of this file.
00001 /*
00002  * $Id: Rect.h,v 1.5 2002/08/08 05:28:20 virtualcasino Exp $
00003  */
00004 #ifndef __VCASINO_RECT_H__
00005 #define __VCASINO_RECT_H__
00006 #include<clawsoft.h>
00007 
00008 namespace clawsoft{
00012         class Rect{
00013                 protected:
00014                         int x;
00015                         int y;
00016                         int w;
00017                         int h;
00018                         int _b;
00019                         int _r;
00020                 public:
00021                         Rect();
00022                         Rect(int xx, int yy, int ww, int hh);
00023                         Rect(Rect &r);
00024                         void X(int);
00025                         void Y(int);
00026                         void W(int);
00027                         void H(int);
00028                         const int X();
00029                         const int Y();
00030                         const int W();
00031                         const int H();
00032                         void setTop(int);
00033                         const int getTop();
00034                         void setLeft(int);
00035                         const int getLeft();
00036                         void setRight(int);
00037                         const int getRight();
00038                         void setBottom(int);
00039                         const int getBottom();
00040                         /*void setWidth(int);
00041                         const int getWidth();
00042                         void setHeight(int);
00043                         const int getHeight();*/
00044         };
00045 }
00046 
00047 
00048 #endif

Powered by:

SourceForge Logo