Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8985 in orxonox.OLD for trunk


Ignore:
Timestamp:
Jul 1, 2006, 4:25:45 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: works perfectly with nice fading effect :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/elements/glgui_energywidget.cc

    r8984 r8985  
    7171    this->_bar.setValue(value);
    7272    this->_bar.setForegroundColor(Color(1 - (value / this->_bar.getMaximum()), value / this->_bar.getMaximum(),0,1));
     73    this->_bar.setFrontColor(Color(1,1,1,1), true);
    7374    this->_valueText.setText(val.getString());
    7475  }
Note: See TracChangeset for help on using the changeset viewer.