00001 /* 00002 * CLabel.h 00003 * 00004 * Created on: 12.05.2010 00005 * Author: Dima 00006 */ 00007 00008 #ifndef LIBGUI_CLABEL_H_ 00009 #define LIBGUI_CLABEL_H_ 00010 00011 #include "CComponent.h" 00012 00013 class CGraphics; 00014 00020 class CLabel : public CComponent 00021 { 00022 public: 00029 CLabel(const CHAR* text); 00030 ~CLabel(); 00038 void SetText(const CHAR* text); 00047 void SetAligment(INT8 aligment); 00048 virtual void Paint(CGraphics* g); 00049 private: 00055 CString m_text; 00062 INT8 m_aligment; 00063 }; 00064 00065 #endif /* LIBGUI_CLABEL_H_ */