Changeset 10292
- Timestamp:
- Mar 1, 2015, 3:27:01 PM (10 years ago)
- Location:
- code/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/data/overlays/HUD.oxo
r9939 r10292 61 61 correctAspect = true 62 62 font = "Monofur" 63 textSize = 0.0 563 textSize = 0.02 64 64 navMarkerSize = 0.03 65 65 aimMarkerSize = 0.02 -
code/trunk/data/overlays/HUDTemplates3.oxo
r10258 r10292 103 103 correctaspect = true 104 104 font = "Monofur" 105 textsize = 0.0 5105 textsize = 0.02 106 106 navMarkerSize = 0.03 107 107 aimMarkerSize = 0.02 -
code/trunk/data/overlays/HUDTemplatesFPS.oxo
r7679 r10292 46 46 correctaspect = true 47 47 font = "Monofur" 48 textsize = 0.0 548 textsize = 0.02 49 49 navMarkerSize = 0.03 50 50 aimMarkerSize = 0.04 -
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.