Changeset 10292 for code/trunk/src
- Timestamp:
- Mar 1, 2015, 3:27:01 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/overlays/hud/HUDNavigation.cc
r10291 r10292 135 135 { 136 136 if (it->second.text_ != NULL) 137 it->second.text_->setFontName(this->fontName_);137 it->second.text_->setFontName(this->fontName_); 138 138 } 139 139 } … … 155 155 { 156 156 if (it->second.text_) 157 it->second.text_->setCharHeight(size);157 it->second.text_->setCharHeight(size); 158 158 } 159 159 } … … 541 541 it->second.panel_->setDimensions(this->navMarkerSize_ * xScale, this->navMarkerSize_ * yScale); 542 542 if (it->second.text_ != NULL) 543 it->second.text_->setCharHeight( it->second.text_->getCharHeight()* yScale);543 it->second.text_->setCharHeight(this->textSize_ * yScale); 544 544 if (it->second.target_ != NULL) 545 545 it->second.target_->setDimensions(this->aimMarkerSize_ * xScale, this->aimMarkerSize_ * yScale); … … 597 597 .createOverlayElement("TextArea", "HUDNavigation_navText_" + getUniqueNumberString())); 598 598 text->setFontName(this->fontName_); 599 text->setCharHeight(t ext->getCharHeight()* yScale);599 text->setCharHeight(this->textSize_ * yScale); 600 600 text->setColour(object->getRadarObjectColour()); 601 601
Note: See TracChangeset
for help on using the changeset viewer.