Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8995 in orxonox.OLD for trunk/src/util/hud.cc


Ignore:
Timestamp:
Jul 2, 2006, 5:43:28 AM (18 years ago)
Author:
bensch
Message:

hud: radar shown inside of the HUD

File:
1 edited

Legend:

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

    r8994 r8995  
    5050  notifier->setAbsCoor2D(100,100);
    5151
    52   this->radar = new OrxGui::GLGuiRadar();
     52  this->_radar = new OrxGui::GLGuiRadar();
    5353
    5454  this->subscribeEvent(ES_ALL, EV_VIDEO_RESIZE);
     
    6666  delete this->notifier;
    6767
    68   delete this->radar;
     68  delete this->_radar;
    6969  // delete what has to be deleted here
    7070}
     
    174174  this->notifier->setWidgetSize(0.25 * this->resX, 0.6 * this->resY);
    175175
     176  this->_radar->setAbsCoor2D(0.8 * this->resX, 0.1 * this->resY);
     177  this->_radar->setWidgetSize(0.2 * this->resX, 0.2 * this->resY);
     178  this->_radar->show();
     179
    176180  if (this->energyWidget != NULL)
    177181  {
Note: See TracChangeset for help on using the changeset viewer.