Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8988 in orxonox.OLD


Ignore:
Timestamp:
Jul 1, 2006, 5:13:19 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: much nicer rendering. The Bar is now behind the Value

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/hud.cc

    r8987 r8988  
    174174
    175175  std::list<OrxGui::GLGuiWidget*>::iterator weaponWidget;
    176   Vector2D pos(0.3, .85);
     176  Vector2D pos(0.3, .9);
    177177  for (weaponWidget = this->weaponsWidgets.begin(); weaponWidget != this->weaponsWidgets.end(); weaponWidget++, pos.x+=.2)
    178178  {
  • trunk/src/world_entities/elements/glgui_energywidget.cc

    r8986 r8988  
    3030    this->pack(&this->_name);
    3131    this->pack(&this->_valueText);
    32     this->pack(&this->_bar);
     32    this->_bar.setParent2D(&this->_valueText);
    3333
    3434    this->setBackgroundTexture("maps/gui_element_background_2.png");
  • trunk/src/world_entities/elements/glgui_energywidget.h

    r8981 r8988  
    3333  private:
    3434    GLGuiText               _name;
     35    GLGuiText               _valueText;
    3536    GLGuiBar                _bar;
    36     GLGuiText               _valueText;
    3737
    3838  };
Note: See TracChangeset for help on using the changeset viewer.