Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8512 in orxonox.OLD for branches


Ignore:
Timestamp:
Jun 16, 2006, 12:41:33 AM (18 years ago)
Author:
bensch
Message:

orxonox/gui: notifier: now manages a list of past history

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/gui/gl/specials/glgui_notifier.cc

    r8510 r8512  
    6969      this->hiddenText.pop();
    7070      dl.age = 0.0f;
    71       this->displayLines.push_back(dl);
     71      this->displayLines.push_front(dl);
    7272
    7373      this->repositionText();
     
    7575    else
    7676    {
    77       printf("grumble... must be fixed\n");
     77      this->inputBuffer.push_front(message);
     78      //printf("grumble... must be fixed\n");
    7879    }
    7980  }
     
    142143          this->hiddenText.push((*tmp).text);
    143144          this->displayLines.erase(tmp);
     145
     146          if (!inputBuffer.empty())
     147          {
     148            this->pushNotifyMessage(inputBuffer.back());
     149            inputBuffer.pop_back();
     150          }
    144151        }
    145152      }
Note: See TracChangeset for help on using the changeset viewer.