Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8740 in orxonox.OLD for trunk/src/lib/gui/gl/glgui_button.cc


Ignore:
Timestamp:
Jun 23, 2006, 11:22:37 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: now the elements are draw correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/gui/gl/glgui_button.cc

    r8717 r8740  
    100100  bool GLGuiButton::processEvent(const Event& event)
    101101  {
    102     if (event.type == SDLK_SPACE && !event.bPressed)
     102    if (event.type == SDLK_SPACE)
    103103    {
    104       emit(released());
     104      if (event.bPressed)
     105        emit(pushed());
     106      else
     107        emit(released());
    105108      return true;
    106109    }
Note: See TracChangeset for help on using the changeset viewer.