40 #include <allegro5/allegro.h>
41 #include <allegro5/allegro_font.h>
42 #include <allegro5/allegro_ttf.h>
71 Slot(
int a_nX,
int a_nY,
const string a_strCaption,
SlotManager * a_pParent);
74 void Draw(ALLEGRO_FONT * a_pFont);
85 void (* m_pCallBack)(string);
88 ALLEGRO_COLOR m_ColorInner;
89 ALLEGRO_COLOR m_ColorOuter;
90 ALLEGRO_COLOR m_ColorHighlight;
93 vector <Slot> m_vSlots;
97 SlotManager(
bool a_blLoading, ALLEGRO_PATH * a_pSearchpath,
void (* a_pCallBack)(
string));
99 void DeactivateSlots();
100 void AddSlot(
string a_strCaption);
101 void DeleteSlot(
int a_nIndex);
104 void Draw(ALLEGRO_FONT * a_pFont);
110 #endif // _SAVE_SLOTS
friend class SlotManager
Definition: SaveSlots.h:56
Definition: SaveSlots.h:80
void ProcessMouseEvent(ALLEGRO_MOUSE_EVENT *mouse_event)
Definition: SaveSlots.cpp:204
void ProcessMouseEvent(ALLEGRO_MOUSE_EVENT *mouse_event)
Definition: SaveSlots.cpp:77
friend class Slot
Definition: SaveSlots.h:82
void Draw(ALLEGRO_FONT *a_pFont)
Definition: SaveSlots.cpp:220
void Draw(ALLEGRO_FONT *a_pFont)
Definition: SaveSlots.cpp:34
void ProcessKeyEvent(int a_nUniChar)
Definition: SaveSlots.cpp:102
void ProcessKeyEvent(int a_nUniChar)
Definition: SaveSlots.cpp:192
Definition: SaveSlots.h:54