Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/gui/gl_gui/glgui_menu.h @ 7221

Last change on this file since 7221 was 7221, checked in by bensch, 18 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
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"
[1853]11
[4838]12// FORWARD DECLARATION
[5391]13template<class T>  class tList;
[5366]14//! This is Menu part of the openglGUI class
[5360]15/**
16 *
17 */
[5366]18class GLGuiMenu : public GLGuiMenu {
[3543]19
[5360]20 public:
[5366]21  GLGuiMenu();
22  virtual ~GLGuiMenu();
[2036]23
[5360]24  void init();
[1853]25
[7221]26  void addItem(const std::string& itemName);
27  void removeItem(const std::string& itemName);
[5391]28  void removeItem(unsigned int itemNumber);
[7221]29  void selectItem(const std::string& itemName);
[5391]30  void selectItem(unsigned int itemNumber);
31
[5360]32  virtual void draw();
[1853]33
[3245]34 private:
[5391]35   tList<char>*           itemList;
[3245]36
[1853]37};
38
[5366]39#endif /* _GLGUI_MENU_H */
Note: See TracBrowser for help on using the repository browser.