00001 #ifndef HWTABLAYOUT_H
00002 #define HWTABLAYOUT_H
00003
00004 #include <hwWidget.h>
00005 #include <vector>
00006
00007 class hwTabLayout : public hwWidget
00008 {
00009 public:
00010
00011 hwTabLayout();
00012
00013 ~hwTabLayout();
00014
00015 string draw();
00016
00017 void add(const string& label, hwWidget* widget);
00018
00019 private:
00020
00021 typedef struct
00022 {
00023 string label;
00024 hwWidget* widget;
00025 }
00026 child_t;
00027
00028 hwTabLayout(const hwTabLayout& source);
00029 hwTabLayout& operator=(const hwTabLayout& source);
00030
00031 vector<child_t*> myChildList;
00032 };
00033
00034 #endif
00035