Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8990 in orxonox.OLD for trunk/src/world_entities


Ignore:
Timestamp:
Jul 1, 2006, 6:09:30 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: new Functionality to widget, so one can set a foreground texture, for Widgets requesting it.

File:
1 edited

Legend:

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

    r8988 r8990  
    3939    this->_bar.setBackgroundTexture(Texture());
    4040    this->_bar.setBackgroundColor(Color(0,0,0,0));
     41    this->_bar.setForegroundTexture("maps/gui_element_background_faded.png");
    4142    this->_bar.setForegroundColor(Color(.5, .5, .5, 1));
    4243  }
Note: See TracChangeset for help on using the changeset viewer.