Debian Codegraph @

Oodle/src/CMenuButton.h

raw
1 #ifndef _CMENUBUTTON_
2 #define _CMENUBUTTON_
3
4 class CMenuButton
5 {
6 public:
7 CMenuButton(CSprite *icon, const CColor &bgColor, const CColor &hoverColor, const string &text, const CVector &pos);
8
9 void draw(CSurface &dest);
10 void update();
11 int getWidth();
12 int getHeight();
13 int getX();
14 int getY();
15
16 private:
17 CSprite *icon;
18 CText *text;
19 CVector pos;
20 };
21
22 #endif