Changeset 8769 in orxonox.OLD for trunk/src/lib/gui/gl/glgui_widget.cc
- Timestamp:
- Jun 24, 2006, 4:21:52 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/gui/gl/glgui_widget.cc
r8717 r8769 98 98 99 99 100 this->_font = NULL; 100 this->_font = Font("/home/bensch/svn/orxonox/data/fonts/final_frontier.ttf", 20); 101 this->_font.debug(); 101 102 this->resetStyle(); 102 103 … … 329 330 330 331 this->setFeaturePosition(FeatureLeft); 331 this->setFont(NULL);332 332 333 333 this->setAnimatedStateChanges(true); … … 726 726 * @param font the Font. 727 727 */ 728 void GLGuiWidget::setFont( Font*font)728 void GLGuiWidget::setFont(const Font& font) 729 729 { 730 730 this->_font = font; … … 735 735 * @param fontName the FileName of the Font. 736 736 */ 737 void GLGuiWidget::setFont(const std::string& fontName )738 { 739 //this->font = new Font(fontName);737 void GLGuiWidget::setFont(const std::string& fontName, unsigned int renderSize) 738 { 739 this->_font = Font(fontName, renderSize); 740 740 } 741 741
Note: See TracChangeset
for help on using the changeset viewer.