00001 #ifndef HWWINDOW_H
00002 #define HWWINDOW_H
00003
00004 #include <hwWidget.h>
00005
00006 class hwWindow : public hwWidget
00007 {
00008 public:
00009
00010 hwWindow();
00011
00012 ~hwWindow();
00013
00014 string draw();
00015
00016 void add(hwWidget* child)
00017 {
00018 myChild = child;
00019 }
00020
00021 const string& getTitle() const
00022 {
00023 return myTitle;
00024 }
00025
00026 void setTitle(const string& title)
00027 {
00028 myTitle = title;
00029 }
00030
00031 protected:
00032
00033 hwWindow(const string& classname);
00034
00035 private:
00036
00037 hwWindow(const hwWindow& source);
00038 hwWindow& operator=(const hwWindow& source);
00039
00040 string myTitle;
00041 hwWidget* myChild;
00042 };
00043
00044 #endif
00045