Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/gui/gl/glgui_menu.h @ 8972

Last change on this file since 8972 was 8145, checked in by bensch, 18 years ago

trunk: merged the gui back
merged with command:
svn merge -r8114:HEAD https://svn.orxonox.net/orxonox/branches/gui .
→ no conflicts

File size: 722 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"
11namespace OrxGui
12{
13
14  // FORWARD DECLARATION
15  //! This is Menu part of the openglGUI class
16  /**
17   *
18   */
19  class GLGuiMenu : public GLGuiMenu
20  {
21
22  public:
23    GLGuiMenu();
24    virtual ~GLGuiMenu();
25
26    void init();
27
28    void addItem(const std::string& itemName);
29    void removeItem(const std::string& itemName);
30    void removeItem(unsigned int itemNumber);
31    void selectItem(const std::string& itemName);
32    void selectItem(unsigned int itemNumber);
33
34    virtual void draw();
35
36  private:
37    std::list<std::string>         itemList;
38
39  };
40}
41#endif /* _GLGUI_MENU_H */
Note: See TracBrowser for help on using the repository browser.