00001 /* 00002 * Copyright (c) 2006 by Kirill Kolodyazhniy. 00003 * See the file "license.terms" for information on usage and redistribution 00004 * of this file, and for a DISCLAIMER OF ALL WARRANTIES. 00005 */ 00006 00007 #ifndef M_STATUSBAR_H 00008 #define M_STATUSBAR_H 00009 00010 namespace MWidgets 00011 { 00012 00014 class StatusBar:public Widget 00015 { 00016 public: 00018 StatusBar(); 00023 virtual void Create(Widget *parent); 00025 virtual ~StatusBar(); 00029 void AddPart(int width); 00033 void SetPartText(int index,std::string str); 00035 virtual WIDGET_TYPE GetType(); 00036 }; 00037 }; 00038 00039 #endif