Root/src/buttonbox.h

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

Archive Download this file



interactive