Changeset 8598 in orxonox.OLD for branches/gui/src/lib/gui/gl/glgui_inputline.cc
- Timestamp:
- Jun 20, 2006, 1:45:44 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/gui/gl/glgui_inputline.cc
r8584 r8598 54 54 this->_text.setLineWidth(400); 55 55 this->_text.setDotsPosition(LimitedWidthText::Begin); 56 this->_text.setColor( style().foregroundColor());56 this->_text.setColor(foregroundColor()); 57 57 this->_text.setVisibility(false); 58 58 this->resize(); … … 203 203 void GLGuiInputLine::resize() 204 204 { 205 this->_text.setRelCoor2D( style().borderLeft(), style().borderTop());206 this->setSize2D( this->_text.getSize2D() + Vector2D( style().borderLeft() + style().borderRight(), style().borderTop() + style().borderBottom()));205 this->_text.setRelCoor2D(borderLeft(), borderTop()); 206 this->setSize2D( this->_text.getSize2D() + Vector2D(borderLeft() + borderRight(), borderTop() + borderBottom())); 207 207 GLGuiWidget::resize(); 208 208 /* this->frontRect().setTopLeft(borderLeft(), borderTop()); … … 212 212 void GLGuiInputLine::updateFrontColor() 213 213 { 214 this->_text.setColor( style().foregroundColor());214 this->_text.setColor(foregroundColor()); 215 215 } 216 216
Note: See TracChangeset
for help on using the changeset viewer.