Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8975 in orxonox.OLD for trunk/src/util


Ignore:
Timestamp:
Jul 1, 2006, 12:12:48 PM (19 years ago)
Author:
bensch
Message:

trunk: widget displayed

File:
1 edited

Legend:

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

    r8619 r8975  
    163163  if (this->energyWidget != NULL)
    164164  {
    165     this->energyWidget->setAbsCoor2D(0 * this->resX, 0 * this->resY);
    166     this->energyWidget->setSize2D(.25 * this->resX, 1 * this->resY);
     165    this->energyWidget->setAbsCoor2D(0.0 * this->resX, 0.9 * this->resY);
     166    this->energyWidget->setWidgetSize(.25 * this->resX, 0.1 * this->resY);
    167167  }
    168168
     
    173173  for (weaponWidget = this->weaponsWidgets.begin(); weaponWidget != this->weaponsWidgets.end(); weaponWidget++, pos+=.03)
    174174  {
    175     (*weaponWidget)->setSize2D(.02*this->resX, .2 *this->resY);
     175    (*weaponWidget)->setWidgetSize(.02*this->resX, .2 *this->resY);
    176176    (*weaponWidget)->setAbsCoor2D(pos*this->resX, .75*this->resY);
    177177
Note: See TracChangeset for help on using the changeset viewer.