1 /*************************************************************************** 2 menu_list_options.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 <vector> 20 21 #ifndef MENU_LIST_OPTIONS_H_ 22 #define MENU_LIST_OPTIONS_H_ 23 24 class Menu_Entry; 25 26 class Menu_List_Options : public Menu_List 27 { 28 private: 29 30 std::vector<Menu_Entry*> m_entries_list; 31 32 Uint32 m_return_action; 33 34 public: 35 enum{ 36 MENU_NONE, 37 MENU_OK 38 }; 39 40 Menu_List_Options(); 41 42 ~Menu_List_Options(); 43 44 Uint32 get_return_action(); 45 46 void action_left(); 47 48 void action_right(); 49 50 void action_up(); 51 52 void action_down(); 53 54 void action_press(); 55 56 Uint32 get_list_size(); 57 58 const char* get_menu_entry_string(Uint32 entry); 59 60 }; 61 62 #endif /*MENU_LIST_OPTIONS_H_*/ 63