Changeset 8991 in orxonox.OLD for trunk/src/lib/gui/gl/glgui_text.cc
- Timestamp:
- Jul 1, 2006, 8:16:09 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl/glgui_text.cc
r8980 r8991 52 52 this->_text.setColor(foregroundColor()); 53 53 this->_text.setVisibility(false); 54 this->_changedTextColor = Color::white; 54 55 this->resize(); 55 56 } … … 111 112 { 112 113 this->resize(); 113 this->setFrontColor( Color(1,1,1,1), true);114 this->setFrontColor(_changedTextColor, true); 114 115 emit(this->textChanged(this->_text.text())); 115 116 } 116 117 117 118 void GLGuiText::setChangedTextColor(const Color& color) 119 { 120 this->_changedTextColor = color; 121 } 118 122 119 123 /**
Note: See TracChangeset
for help on using the changeset viewer.