00001
00026 #ifndef _CSIZEABLE2D_H_
00027 #define _CSIZEABLE2D_H_
00028
00029 #include "Sizeable.h"
00030
00031 class CSizeable2D: public CSizeable<Dimension2D> {
00032 public:
00033 CSizeable2D();
00034 virtual ~CSizeable2D();
00035
00040 float getWidth() {
00041 return m_dimension.width;
00042 }
00043 ;
00044
00049 float getHeight() {
00050 return m_dimension.height;
00051 }
00052 ;
00053
00059 void setDimension(float width, float height) {
00060 m_dimension.width = width;
00061 m_dimension.height = height;
00062 }
00063 ;
00064
00065 void setWidth(float width) {
00066 m_dimension.width = width;
00067 }
00068 ;
00069 void setHeight(float height) {
00070 m_dimension.height = height;
00071 }
00072 ;
00073
00074 };
00075
00076 #endif