blob: 3b672c37dfa3bcdd753b184f9ae5c1ec171c77a2 (
plain)
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
|
#ifndef MENU_H
#define MENU_H
#include "incl.h"
#include "window.h"
using namespace std;
class menu
{
private:
void init(vector<string>& vec_choices);
int i_choices, i_current;
ITEM** p_items;
MENU* p_menu;
window* p_win;
public:
menu(vector<string>& vec_choices);
menu(string s_name, vector<string>& vec_choices);
~menu();
window& get_window();
int run();
};
#endif
|