Changeset 5421 in orxonox.OLD for trunk/src/lib/gui
- Timestamp:
- Oct 22, 2005, 2:23:55 PM (19 years ago)
- Location:
- trunk/src/lib/gui/gl_gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl_gui/glgui_button.cc
r5404 r5421 57 57 { 58 58 this->label->setText(label); 59 this->label->setRelCoor2D(5, 5); 60 this->setSize2D(this->label->getSizeX2D()+10, this->label->getSizeY2D()+10); 59 61 } 60 62 -
trunk/src/lib/gui/gl_gui/glgui_button.h
r5395 r5421 43 43 44 44 private: 45 46 45 GLGui_ButtonState state; 47 46 }; -
trunk/src/lib/gui/gl_gui/glgui_pushbutton.cc
r5420 r5421 50 50 this->backMat = new Material(); 51 51 this->backMat->setDiffuse(0, 0, 0); 52 53 this->setSize2D(label->getSizeX2D()+10, label->getSizeY2D()+10);54 52 } 55 53 … … 82 80 { 83 81 82 84 83 }
Note: See TracChangeset
for help on using the changeset viewer.