Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 20, 2006, 1:45:44 AM (18 years ago)
Author:
bensch
Message:

style enbedded into gui, as it was redundant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/gui/gl/glgui_inputline.cc

    r8584 r8598  
    5454    this->_text.setLineWidth(400);
    5555    this->_text.setDotsPosition(LimitedWidthText::Begin);
    56     this->_text.setColor(style().foregroundColor());
     56    this->_text.setColor(foregroundColor());
    5757    this->_text.setVisibility(false);
    5858    this->resize();
     
    203203  void GLGuiInputLine::resize()
    204204  {
    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()));
    207207    GLGuiWidget::resize();
    208208    /*    this->frontRect().setTopLeft(borderLeft(), borderTop());
     
    212212  void GLGuiInputLine::updateFrontColor()
    213213  {
    214     this->_text.setColor(style().foregroundColor());
     214    this->_text.setColor(foregroundColor());
    215215  }
    216216
Note: See TracChangeset for help on using the changeset viewer.