Changeset 8598 in orxonox.OLD for branches/gui/src/util
- Timestamp:
- Jun 20, 2006, 1:45:44 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/util/hud.cc
r8583 r8598 89 89 { 90 90 this->energyWidget->show(); 91 this->energyWidget-> style().background().setDiffuseMap("hud_energy_background.png");92 this->energyWidget-> style().background().setBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);91 this->energyWidget->background().setDiffuseMap("hud_energy_background.png"); 92 this->energyWidget->background().setBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); 93 93 /* this->energyWidget->frontMaterial().setDiffuseMap("hud_energy_bar.png"); 94 94 this->energyWidget->frontMaterial().setBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);*/ … … 143 143 { 144 144 weapon->getEnergyWidget()->show(); 145 weapon->getEnergyWidget()-> style().background().setDiffuse( .8,.2,.11);146 weapon->getEnergyWidget()-> style().background().setTransparency(.1);145 weapon->getEnergyWidget()->background().setDiffuse( .8,.2,.11); 146 weapon->getEnergyWidget()->background().setTransparency(.1); 147 147 weapon->getEnergyWidget()->setFrontColor(Color( .2,.5,.7,.6)); 148 148 // weapon->getEnergyWidget()->frontMaterial().setTransparency(.6);
Note: See TracChangeset
for help on using the changeset viewer.