You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
400 B
30 lines
400 B
16 years ago
|
#ifndef __MENUMANAGER_H
|
||
|
#define __MENUMANAGER_H
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
#include "../glfontengine.h"
|
||
|
#include "menumenu.h"
|
||
|
|
||
|
|
||
|
class MenuManager {
|
||
|
private:
|
||
|
MenuMenu *aktuell;
|
||
|
|
||
|
std::vector<MenuMenu*> menus;
|
||
|
public:
|
||
|
MenuManager();
|
||
|
|
||
|
void addMenu(MenuMenu*);
|
||
|
bool changeMenu(MenuMenu*);
|
||
|
void render();
|
||
|
|
||
|
void up();
|
||
|
void down();
|
||
|
void left();
|
||
|
void right();
|
||
|
void select();
|
||
|
};
|
||
|
|
||
|
#endif
|