Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8598 in orxonox.OLD for branches/gui/src/util


Ignore:
Timestamp:
Jun 20, 2006, 1:45:44 AM (18 years ago)
Author:
bensch
Message:

style enbedded into gui, as it was redundant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/util/hud.cc

    r8583 r8598  
    8989  {
    9090    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);
    9393    /*    this->energyWidget->frontMaterial().setDiffuseMap("hud_energy_bar.png");
    9494        this->energyWidget->frontMaterial().setBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);*/
     
    143143      {
    144144        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);
    147147        weapon->getEnergyWidget()->setFrontColor(Color( .2,.5,.7,.6));
    148148        //      weapon->getEnergyWidget()->frontMaterial().setTransparency(.6);
Note: See TracChangeset for help on using the changeset viewer.