Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7779 in orxonox.OLD for trunk/src/lib/gui/gl_gui/glgui_menu.h


Ignore:
Timestamp:
May 23, 2006, 10:04:17 PM (18 years ago)
Author:
bensch
Message:

3088 linews changed :): trunk: namespaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl_gui/glgui_menu.h

    r7221 r7779  
    99
    1010#include "base_object.h"
     11namespace OrxGui
     12{
    1113
    12 // FORWARD DECLARATION
    13 template<class T>  class tList;
    14 //! This is Menu part of the openglGUI class
    15 /**
    16  *
    17  */
    18 class GLGuiMenu : public GLGuiMenu {
     14  // FORWARD DECLARATION
     15  //! This is Menu part of the openglGUI class
     16  /**
     17   *
     18   */
     19  class GLGuiMenu : public GLGuiMenu
     20  {
    1921
    20  public:
    21   GLGuiMenu();
    22   virtual ~GLGuiMenu();
     22  public:
     23    GLGuiMenu();
     24    virtual ~GLGuiMenu();
    2325
    24   void init();
     26    void init();
    2527
    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);
     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);
    3133
    32   virtual void draw();
     34    virtual void draw();
    3335
    34  private:
    35    tList<char>*           itemList;
     36  private:
     37    std::list<std::string>         itemList;
    3638
    37 };
    38 
     39  };
     40}
    3941#endif /* _GLGUI_MENU_H */
Note: See TracChangeset for help on using the changeset viewer.