1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-20 20:05:20 +02:00
gmenu2x/src/buttonbox.h

27 lines
351 B
C
Raw Normal View History

#ifndef __BUTTONBOX_H__
#define __BUTTONBOX_H__
#include <vector>
class GMenu2X;
class Button;
class ButtonBox
{
public:
ButtonBox(GMenu2X *gmenu2x);
~ButtonBox();
void add(Button *button);
void paint(unsigned int posX);
void handleTS();
private:
typedef std::vector<Button*> ButtonList;
ButtonList buttons;
GMenu2X *gmenu2x;
};
#endif