Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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/util/hud.cc

    r8989 r8990  
    4949  notifier->setAbsCoor2D(100,100);
    5050
     51  this->subscribeEvent(ES_ALL, EV_VIDEO_RESIZE);
    5152
    5253
     
    192193}
    193194
    194 
    195 void Hud::tick(float dt)
    196 {
    197   if (this->resY != State::getResY() || this->resX != State::getResX())
    198   {
     195void Hud::draw() const
     196{
     197  //  GLGuiWidget::draw();
     198}
     199
     200
     201void Hud::process(const Event &event)
     202{
     203  if (event.type == EV_VIDEO_RESIZE)
    199204    this->updateResolution();
    200   }
    201 
    202 }
    203 
    204 void Hud::draw() const
    205 {
    206   //  GLGuiWidget::draw();
    207 }
    208 
    209 
     205}
     206
     207
Note: See TracChangeset for help on using the changeset viewer.