Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7218 in orxonox.OLD for branches/std/src/lib/gui/gl_gui


Ignore:
Timestamp:
Mar 12, 2006, 3:00:04 PM (19 years ago)
Author:
bensch
Message:

orxonox/std:: more strings

Location:
branches/std/src/lib/gui/gl_gui
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/std/src/lib/gui/gl_gui/glgui_button.cc

    r6287 r7218  
    5454}
    5555
    56 void GLGuiButton::setLabel(const char* label)
     56void GLGuiButton::setLabel(const std::string& label)
    5757{
    5858  this->label->setText(label);
  • branches/std/src/lib/gui/gl_gui/glgui_button.h

    r5427 r7218  
    3535
    3636   void init();
    37    void setLabel(const char* label);
     37   void setLabel(const std::string& label);
    3838
    3939   virtual void draw() const;
  • branches/std/src/lib/gui/gl_gui/glgui_menu.h

    r5391 r7218  
    2424  void init();
    2525
    26   void addItem(const char* itemName);
    27   void removeItem(const char* itemName);
     26  void addItem(const std::string& itemName);
     27  void removeItem(const std::string& itemName);
    2828  void removeItem(unsigned int itemNumber);
    29   void selectItem(const char* itemName);
     29  void selectItem(const std::string& itemName);
    3030  void selectItem(unsigned int itemNumber);
    3131
  • branches/std/src/lib/gui/gl_gui/glgui_widget.h

    r7062 r7218  
    4747    virtual char* save() {};
    4848    /** loads options of the Widget. @param loadString a string containing the Options */
    49     virtual void load(const char* loadString) {};
     49    virtual void load(const std::string& loadString) {};
    5050
    5151    void show();
Note: See TracChangeset for help on using the changeset viewer.