Size.h

Go to the documentation of this file.
00001 #ifndef SIZE_H_
00002 #define SIZE_H_
00003 
00007 class Size {
00008         public:
00009                 Size(unsigned int w, unsigned int h) : mWidth(w), mHeight(h) {}
00010                 
00011                 void setW(unsigned int w) { mWidth = w; }
00012                 void setH(unsigned int h) { mHeight = h; }
00013 
00014                 unsigned int width() const { return mWidth; }
00015                 unsigned int height() const { return mHeight; }
00016         private:
00017                 unsigned int mWidth, mHeight;
00018 };
00019 
00020 #endif

Generated on Mon Dec 19 00:13:20 2005 for Visualization by  doxygen 1.4.5