40 #include <allegro5/allegro.h>
41 #include <allegro5/allegro_font.h>
42 #include <allegro5/allegro_ttf.h>
63 void (* m_pCallBack)();
67 int m_nWidth, m_nHeight;
91 TMenuItem (
int a_nX,
int a_nY,
int a_nWidth,
int a_nHeight,
TMenu * a_pParent,
void (* a_pCallBack)());
104 void Draw(ALLEGRO_FONT * a_pFont);
118 ALLEGRO_COLOR m_ColorInner;
119 ALLEGRO_COLOR m_ColorOuter;
120 ALLEGRO_COLOR m_ColorHighlight;
122 vector <TMenuItem> m_vMenuItems;
129 void AddMenuItem(
string a_strCaption,
void (* a_pCallBack)());
132 void Draw(ALLEGRO_FONT * a_pFont);