Oodle/src/CMenuButton.cpp
raw| 1 | #include "oodle.h" |
| 2 | |
| 3 | /*CMenuButton(CSprite *icon, const CColor &bgColor, const CColor &hoverColor, const string &text, const CVector &pos) |
| 4 | : icon(icon), bgColor(bgColor), hoverColor(hoverColor), text( new CText(text, CFonts::getFontName("Arial"), 12) ) |
| 5 | { |
| 6 | |
| 7 | |
| 8 | void draw(CSurface &dest); |
| 9 | void update(); |
| 10 | int getWidth(); |
| 11 | int getHeight(); |
| 12 | int getX(); |
| 13 | int getY(); |
| 14 | |
| 15 | private: |
| 16 | CSprite *icon; |
| 17 | CSprite *text; |
| 18 | CVector pos; |
| 19 | };*/ |