Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10613 was 9869, checked in by bensch, 18 years ago

orxonox/trunk: merged the new_class_id branche back to the trunk.
merged with command:
svn merge https://svn.orxonox.net/orxonox/branches/new_class_id trunk -r9683:HEAD
no conflicts… puh..

File size: 759 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    ObjectListDeclaration(GLGuiMenu);
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.