Changeset 3280 for code/trunk/src/orxonox/overlays/hud/HUDNavigation.cc
- Timestamp:
- Jul 12, 2009, 11:58:01 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core4 (added) merged: 3235-3237,3245-3250,3253-3254,3260-3261,3265,3270
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/overlays/hud/HUDNavigation.cc
r3196 r3280 35 35 36 36 #include "util/Math.h" 37 #include "util/String .h"37 #include "util/StringUtils.h" 38 38 #include "util/Convert.h" 39 39 #include "core/CoreIncludes.h" … … 142 142 // set text 143 143 int dist = (int) getDist2Focus(); 144 navText_->setCaption( convertToString(dist));145 float textLength = convertToString(dist).size() * navText_->getCharHeight() * 0.3;144 navText_->setCaption(multi_cast<std::string>(dist)); 145 float textLength = multi_cast<std::string>(dist).size() * navText_->getCharHeight() * 0.3; 146 146 147 147 /*
Note: See TracChangeset
for help on using the changeset viewer.