Changeset 7218 in orxonox.OLD for branches/std/src/lib/gui
- Timestamp:
- Mar 12, 2006, 3:00:04 PM (19 years ago)
- 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 54 54 } 55 55 56 void GLGuiButton::setLabel(const char*label)56 void GLGuiButton::setLabel(const std::string& label) 57 57 { 58 58 this->label->setText(label); -
branches/std/src/lib/gui/gl_gui/glgui_button.h
r5427 r7218 35 35 36 36 void init(); 37 void setLabel(const char*label);37 void setLabel(const std::string& label); 38 38 39 39 virtual void draw() const; -
branches/std/src/lib/gui/gl_gui/glgui_menu.h
r5391 r7218 24 24 void init(); 25 25 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); 28 28 void removeItem(unsigned int itemNumber); 29 void selectItem(const char*itemName);29 void selectItem(const std::string& itemName); 30 30 void selectItem(unsigned int itemNumber); 31 31 -
branches/std/src/lib/gui/gl_gui/glgui_widget.h
r7062 r7218 47 47 virtual char* save() {}; 48 48 /** 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) {}; 50 50 51 51 void show();
Note: See TracChangeset
for help on using the changeset viewer.