Changeset 7064 in orxonox.OLD for trunk/src/util
- Timestamp:
- Feb 6, 2006, 10:33:04 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/hud.cc
r7062 r7064 130 130 { 131 131 weapon->getEnergyWidget()->show(); 132 weapon->getEnergyWidget()->backMaterial().setDiffuse( .8,.2,.11); 133 weapon->getEnergyWidget()->backMaterial().setTransparency(.1); 134 weapon->getEnergyWidget()->frontMaterial().setDiffuse( .2,.5,.7); 135 weapon->getEnergyWidget()->frontMaterial().setTransparency(.6); 132 136 this->weaponsWidgets.push_back(weapon->getEnergyWidget()); 133 137 } … … 151 155 { 152 156 this->energyWidget->setAbsCoor2D(0 * this->resX, 0 * this->resY); 153 this->energyWidget->setSize2D(. 3* this->resX, 1 * this->resY);157 this->energyWidget->setSize2D(.25 * this->resX, 1 * this->resY); 154 158 } 155 159 … … 157 161 158 162 std::list<GLGuiWidget*>::iterator weaponWidget; 159 float pos = . 2;163 float pos = .3; 160 164 for (weaponWidget = this->weaponsWidgets.begin(); weaponWidget != this->weaponsWidgets.end(); weaponWidget++, pos+=.03) 161 165 {
Note: See TracChangeset
for help on using the changeset viewer.