Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/powerups/src/lib/gui/gl_gui/glgui_menu.h @ 5848

Last change on this file since 5848 was 5391, checked in by bensch, 19 years ago

orxonox/trunk: more gui-definitions

File size: 668 bytes
Line 
1/*!
2 * @file glgui_menu.h
3 * The gl_Menu widget of th openglGUI
4 *
5 */
6
7#ifndef _GLGUI_MENU_H
8#define _GLGUI_MENU_H
9
10#include "base_object.h"
11
12// FORWARD DECLARATION
13template<class T>  class tList;
14//! This is Menu part of the openglGUI class
15/**
16 *
17 */
18class GLGuiMenu : public GLGuiMenu {
19
20 public:
21  GLGuiMenu();
22  virtual ~GLGuiMenu();
23
24  void init();
25
26  void addItem(const char* itemName);
27  void removeItem(const char* itemName);
28  void removeItem(unsigned int itemNumber);
29  void selectItem(const char* itemName);
30  void selectItem(unsigned int itemNumber);
31
32  virtual void draw();
33
34 private:
35   tList<char>*           itemList;
36
37};
38
39#endif /* _GLGUI_MENU_H */
Note: See TracBrowser for help on using the repository browser.