Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/cd/src/lib/gui/gl_gui/glgui_menu.h @ 7422

Last change on this file since 7422 was 7221, checked in by bensch, 19 years ago

orxonox/trunk: merged the std-branche back, it runs on windows and Linux

svn merge https://svn.orxonox.net/orxonox/branches/std . -r7202:HEAD

File size: 689 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 std::string& itemName);
27  void removeItem(const std::string& itemName);
28  void removeItem(unsigned int itemNumber);
29  void selectItem(const std::string& 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.