Changeset 7751 for code/branches/presentation/src/modules/overlays/hud
- Timestamp:
- Dec 9, 2010, 12:45:33 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/modules/overlays/hud/HUDBar.cc
r7401 r7751 85 85 this->bar_->setMaterialName(materialname); 86 86 87 this->value_ = 1.0f; // initi elize with 1.0f to trigger a change when calling setValue(0.0f) on the line below87 this->value_ = 1.0f; // initialize with 1.0f to trigger a change when calling setValue(0.0f) on the line below 88 88 this->setAutoColour(true); 89 89 this->setValue(0.0f); // <-- … … 161 161 if (this->right2Left_) 162 162 { 163 // backward case w163 // backward case 164 164 this->bar_->setPosition(0.06f + 0.88f * (1 - this->value_), 0.0f); 165 165 this->bar_->setDimensions(0.88f * this->value_, 1.0f);
Note: See TracChangeset
for help on using the changeset viewer.