1 /***************************************************************************
2                           menu_entry_simple.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 #ifndef MENU_ENTRY_SIMPLE_H_
18 #define MENU_ENTRY_SIMPLE_H_
19 
20 #include "menu_entry.h"
21 
22 class Menu_Entry_Simple : public Menu_Entry
23 {
24 	protected:
25 		std::string m_string;
26 
27 	public:
28 	//	Menu_Entry_Simple(){};
29 
Menu_Entry_Simple(const char * string)30 		Menu_Entry_Simple(const char* string):m_string(string){};
31 
get_string()32 		const char* get_string(){return m_string.c_str();};
33 
set_string(const char * string)34 		void set_string(const char* string){m_string = string;};
35 
get_value()36 		Uint32 get_value(){ return 0;}
37 
action_left()38 		void action_left(){};
39 
action_right()40 		void action_right(){};
41 
action_up()42 		void action_up(){};
43 
action_down()44 		void action_down(){};
45 
action_press()46 		void action_press(){};
47 
~Menu_Entry_Simple()48 		~Menu_Entry_Simple(){};
49 
50 };
51 
52 #endif /*MENU_ENTRY_SIMPLE_H_*/
53