Changeset 8378 in orxonox.OLD for branches/gui/src/lib/gui/gl/glgui_checkbutton.cc
- Timestamp:
- Jun 14, 2006, 12:31:32 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl/glgui_checkbutton.cc
r8145 r8378 68 68 this->setSize2D(this->labelText().getSizeX2D() + 30 + borderLeft() + borderRight(), this->labelText().getSizeY2D() + 10 + borderTop()+borderBottom()); 69 69 GLGuiWidget::resize(); 70 this->frontRect().setTopLeft(borderLeft(), borderTop());71 this->frontRect().setSize(this->getSizeX2D() - (borderLeft() + borderRight()) , this->getSizeY2D() - (borderTop() + borderBottom())); 70 /* this->frontRect().setTopLeft(borderLeft(), borderTop()); 71 this->frontRect().setSize(this->getSizeX2D() - (borderLeft() + borderRight()) , this->getSizeY2D() - (borderTop() + borderBottom()));*/ 72 72 } 73 73 … … 89 89 GLGuiButton::draw(); 90 90 91 this->frontMaterial().select();92 this->drawRect(this->frontRect());91 // this->frontMaterial().select(); 92 // this->drawRect(this->frontRect()); 93 93 94 94 if (this->bActive)
Note: See TracChangeset
for help on using the changeset viewer.