Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10585 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
RevLine 
[4838]1/*!
[5366]2 * @file glgui_menu.h
3 * The gl_Menu widget of th openglGUI
[5360]4 *
5 */
[1853]6
[5366]7#ifndef _GLGUI_MENU_H
8#define _GLGUI_MENU_H
[1853]9
[3543]10#include "base_object.h"
[7779]11namespace OrxGui
12{
[1853]13
[7779]14  // FORWARD DECLARATION
15  //! This is Menu part of the openglGUI class
16  /**
17   *
18   */
19  class GLGuiMenu : public GLGuiMenu
20  {
[9869]21    ObjectListDeclaration(GLGuiMenu);
[7779]22  public:
23    GLGuiMenu();
24    virtual ~GLGuiMenu();
[2036]25
[7779]26    void init();
[1853]27
[7779]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);
[5391]33
[7779]34    virtual void draw();
[1853]35
[7779]36  private:
37    std::list<std::string>         itemList;
[3245]38
[7779]39  };
40}
[5366]41#endif /* _GLGUI_MENU_H */
Note: See TracBrowser for help on using the repository browser.