Changeset 7901 in orxonox.OLD for branches/gui/src/lib/gui/gl_gui/glgui_button.cc
- Timestamp:
- May 27, 2006, 1:43:23 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl_gui/glgui_button.cc
r7883 r7901 30 30 this->init(); 31 31 32 this-> setLabel(label);32 this->label.setText( label ); 33 33 } 34 34 … … 64 64 { 65 65 this->label.setText(label); 66 this->label.setRelCoor2D(5, 5); 67 this->setSize2D(this->label.getSizeX2D() + 10, this->label.getSizeY2D() + 10); 68 66 this->resize(); 69 67 } 70 68 71 72 69 /** 73 * draws the GLGuiButton70 * @brief draws the GLGuiButton 74 71 */ 75 72 void GLGuiButton::draw() const
Note: See TracChangeset
for help on using the changeset viewer.