Root/
1 | #ifndef __BUTTONBOX_H__ |
2 | #define __BUTTONBOX_H__ |
3 | |
4 | #include <vector> |
5 | |
6 | class GMenu2X; |
7 | class IconButton; |
8 | |
9 | class ButtonBox |
10 | { |
11 | public: |
12 | ButtonBox(GMenu2X *gmenu2x); |
13 | ~ButtonBox(); |
14 | |
15 | void add(IconButton *button); |
16 | void clear(); |
17 | |
18 | void paint(unsigned int posX); |
19 | void handleTS(); |
20 | |
21 | private: |
22 | std::vector<IconButton*> buttons; |
23 | GMenu2X *gmenu2x; |
24 | }; |
25 | |
26 | #endif |
27 |
Branches:
install_locations
master
opkrun
packages