Changeset 8613 in orxonox.OLD
- Timestamp:
- Jun 20, 2006, 11:16:38 AM (18 years ago)
- Location:
- branches/gui/src/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/graphics/text_engine/limited_width_text.cc
r8543 r8613 133 133 { 134 134 this->_dotedText = this->text().substr(0, i) + "..."; 135 if (i > 0) 136 width -= this->font()->getGlyphArray()[this->text()[i-1]]->advance; 135 137 width += dotsSize; 136 138 break; … … 149 151 { 150 152 this->_dotedText = std::string("...") + this->text().substr(i); 153 if (i + 1 < (int)text().size() ) 154 width -= this->font()->getGlyphArray()[this->text()[i+1]]->advance; 151 155 width += dotsSize; 152 156 break; -
branches/gui/src/lib/gui/gl/glgui_inputline.cc
r8598 r8613 122 122 this->resize(); 123 123 this->setFrontColor(Color(1,1,1,1), true); 124 this->setFrontColor(Color(0,1,0,1));125 124 emit(this->textChanged(this->_text.text())); 126 125 }
Note: See TracChangeset
for help on using the changeset viewer.