Changeset 9624 in orxonox.OLD for branches/proxy/src/lib/gui
- Timestamp:
- Jul 30, 2006, 10:56:02 PM (18 years ago)
- Location:
- branches/proxy/src/lib/gui/gl
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/gui/gl/glgui_text.cc
r9406 r9624 101 101 { 102 102 this->_text.clear(); 103 this-> changedText();103 this->resize(); 104 104 } 105 105 106 106 107 /** … … 114 115 this->setFrontColor(_changedTextColor, true); 115 116 this->textChanged.emit(this->_text.text()); 117 } 118 119 void GLGuiText::setTextSize(float size) 120 { 121 this->_text.setSize(size); 122 this->changedText(); 123 } 124 125 void GLGuiText::setFont(const Font& font) 126 { 127 GLGuiWidget::setFont(font); 128 this->_text.setFont(font); 116 129 } 117 130 -
branches/proxy/src/lib/gui/gl/glgui_text.h
r9406 r9624 31 31 void clear(); 32 32 33 void setTextSize(float size); 34 virtual void setFont(const Font& font); 33 35 void setChangedTextColor(const Color& color); 34 36 -
branches/proxy/src/lib/gui/gl/glgui_widget.cc
r9620 r9624 779 779 void GLGuiWidget::setFont(const std::string& fontName, unsigned int renderSize) 780 780 { 781 this-> _font = Font(fontName, renderSize);781 this->setFont(Font(fontName, renderSize)); 782 782 } 783 783 -
branches/proxy/src/lib/gui/gl/glgui_widget.h
r9622 r9624 206 206 void setFeaturePositionS(const std::string& featurePosition); 207 207 208 v oid setFont(const Font& font);208 virtual void setFont(const Font& font); 209 209 void setFont(const std::string& fontName, unsigned int renderSize = FONT_DEFAULT_RENDER_SIZE); 210 210
Note: See TracChangeset
for help on using the changeset viewer.