trunk 20080912
[gitenigma.git] / include / lib / gui / multipage.h
blob5c3cb4edc3f0ea126eb93fa49a6df110c4c49b08
1 #ifndef __multipage_h_
2 #define __multipage_h_
4 #include <lib/base/eptrlist.h>
5 class eWidget;
7 class eMultipage
9 ePtrList<eWidget> list;
10 public:
11 eMultipage();
13 int prev();
14 int next();
15 void set(eWidget *page);
16 void first();
17 void addPage(eWidget *page);
18 eWidget *getCurrent() { return list.current(); }
20 int count() { return list.size(); }
21 int at();
24 #endif