Root/src/buttonbox.h

1#ifndef __BUTTONBOX_H__
2#define __BUTTONBOX_H__
3
4#include <vector>
5
6class GMenu2X;
7class IconButton;
8
9class ButtonBox
10{
11public:
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
21private:
22    std::vector<IconButton*> buttons;
23    GMenu2X *gmenu2x;
24};
25
26#endif
27

Archive Download this file



interactive