Changeset 9640 in orxonox.OLD for branches/proxy/src/lib/network/monitor/network_stats_widget.cc
- Timestamp:
- Jul 31, 2006, 10:01:36 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/monitor/network_stats_widget.cc
r9624 r9640 36 36 this->setIP(ip); 37 37 38 this->_name.setFont(Font(ResourceManager::getInstance()->getDataDir() + "/fonts/arial.ttf", 20)); 38 if(_font == NULL) 39 _font = new Font(ResourceManager::getInstance()->getDataDir() + "/fonts/arial.ttf", 20); 40 41 this->_name.setFont(*_font); 39 42 this->_name.setTextSize(15); 40 this->_ip.setFont( Font(ResourceManager::getInstance()->getDataDir() + "fonts/arial.ttf", 20));43 this->_ip.setFont(*_font); 41 44 this->_ip.setTextSize(15); 42 45 … … 57 60 } 58 61 59 62 Font* HostWidget::_font = NULL; 60 63 61 64 //======================================================//
Note: See TracChangeset
for help on using the changeset viewer.