00001 #ifndef HWLABEL_H
00002 #define HWLABEL_H
00003
00004 #include <hwWidget.h>
00005
00006 class hwLabel : public hwWidget
00007 {
00008 public:
00009
00010 hwLabel(const string& title);
00011
00012 ~hwLabel();
00013
00014 string draw();
00015
00016 string toString()
00017 {
00018 return myTitle;
00019 }
00020
00021 void setTitle(const string& title)
00022 {
00023 myTitle = title;
00024 }
00025
00026 private:
00027
00028 hwLabel();
00029 hwLabel(const hwLabel& source);
00030 hwLabel& operator=(const hwLabel& source);
00031
00032 string myTitle;
00033 };
00034
00035 #endif
00036