File: menu_list_epiphany.h

package info (click to toggle)
epiphany 0.7.0+0-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 7,532 kB
  • sloc: cpp: 6,404; ansic: 141; makefile: 78; sh: 7
file content (65 lines) | stat: -rw-r--r-- 1,669 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/***************************************************************************
                          menu_list_epiphany.h  -  description
                             -------------------
    begin                : Jun 13 2007
    copyright            : (C) 2007 by Giuseppe D'Aqui'
    email                : kumber@tiscalinet.it
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License, Version 2,      *
 *   as published by the Free Software Foundation.                         *
 *                                                                         *
 ***************************************************************************/

#include "dephine.h"
#include "menu_list.h"
#include "menu_entry.h"
#include <vector>

#ifndef MENU_LIST_EPIPHANY_H_
#define MENU_LIST_EPIPHANY_H_

class Menu_List_Epiphany : public Menu_List
{
private:

	std::vector<Menu_Entry*> m_entries_list;
	
	Uint32 m_return_action;
	
public:
	enum{
		MENU_NONE,
		MENU_START,
		MENU_OPTIONS,
		MENU_QUIT
	};
	
	Menu_List_Epiphany(Uint32 unsolved_level);
	
	~Menu_List_Epiphany();
	
	Uint32 get_selected_level();
	
	Uint32 get_return_action();
	
	void action_left();
	
	void action_right();
	
	void action_up();
	
	void action_down();
	
	void action_press();
	
	Uint32 get_list_size();
	
	const char* get_menu_entry_string(Uint32 entry);
	
};

#endif /*MENU_LIST_EPIPHANY_H_*/