1 /*************************************************************************** 2 menu_list_epiphany.h - description 3 ------------------- 4 begin : Jun 13 2007 5 copyright : (C) 2007 by Giuseppe D'Aqui' 6 email : kumber@tiscalinet.it 7 ***************************************************************************/ 8 9 /*************************************************************************** 10 * * 11 * This program is free software; you can redistribute it and/or modify * 12 * it under the terms of the GNU General Public License, Version 2, * 13 * as published by the Free Software Foundation. * 14 * * 15 ***************************************************************************/ 16 17 #include "dephine.h" 18 #include "menu_list.h" 19 #include "menu_entry.h" 20 #include <vector> 21 22 #ifndef MENU_LIST_EPIPHANY_H_ 23 #define MENU_LIST_EPIPHANY_H_ 24 25 class Menu_List_Epiphany : public Menu_List 26 { 27 private: 28 29 std::vector<Menu_Entry*> m_entries_list; 30 31 Uint32 m_return_action; 32 33 public: 34 enum{ 35 MENU_NONE, 36 MENU_START, 37 MENU_OPTIONS, 38 MENU_QUIT 39 }; 40 41 Menu_List_Epiphany(Uint32 unsolved_level); 42 43 ~Menu_List_Epiphany(); 44 45 Uint32 get_selected_level(); 46 47 Uint32 get_return_action(); 48 49 void action_left(); 50 51 void action_right(); 52 53 void action_up(); 54 55 void action_down(); 56 57 void action_press(); 58 59 Uint32 get_list_size(); 60 61 const char* get_menu_entry_string(Uint32 entry); 62 63 }; 64 65 #endif /*MENU_LIST_EPIPHANY_H_*/ 66