Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7895 in orxonox.OLD for branches/gui/src/lib/shell/shell.cc


Ignore:
Timestamp:
May 27, 2006, 5:29:48 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: fixed a bug in the EventHandler, that resulted from multiple inputs or so…

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/shell/shell.cc

    r7868 r7895  
    7070    this->subscribeEvent(ES_SHELL, SDLK_PAGEDOWN);
    7171    this->subscribeEvent(ES_SHELL, EV_VIDEO_RESIZE);
     72    EventHandler::getInstance()->withUNICODE(ES_SHELL, true);
    7273
    7374    // BUFFER
     
    8384    this->textSize = 15;
    8485    this->lineSpacing = 0;
    85     this->bActive = true;
     86    this->bActive = false;
    8687    this->fontFile = SHELL_DEFAULT_FONT;
    8788
     
    121122
    122123    EventHandler::getInstance()->pushState(ES_SHELL);
    123     EventHandler::getInstance()->withUNICODE(true);
    124124
    125125    this->setRelCoorSoft2D(0, 0, 5);
     
    152152    this->deactivate2D();
    153153
    154     EventHandler::getInstance()->withUNICODE(false);
    155154    EventHandler::getInstance()->popState();
    156155
Note: See TracChangeset for help on using the changeset viewer.