Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8991 in orxonox.OLD for trunk/src/lib/gui/gl/glgui_text.cc


Ignore:
Timestamp:
Jul 1, 2006, 8:16:09 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: added a Radar class, to display radar as Widget

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl/glgui_text.cc

    r8980 r8991  
    5252    this->_text.setColor(foregroundColor());
    5353    this->_text.setVisibility(false);
     54    this->_changedTextColor = Color::white;
    5455    this->resize();
    5556  }
     
    111112  {
    112113    this->resize();
    113     this->setFrontColor(Color(1,1,1,1), true);
     114    this->setFrontColor(_changedTextColor, true);
    114115    emit(this->textChanged(this->_text.text()));
    115116  }
    116117
    117 
     118  void GLGuiText::setChangedTextColor(const Color& color)
     119  {
     120    this->_changedTextColor = color;
     121  }
    118122
    119123  /**
Note: See TracChangeset for help on using the changeset viewer.