Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8740 in orxonox.OLD for trunk/src/lib


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

orxonox/trunk: now the elements are draw correctly

Location:
trunk/src/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/graphics_engine.cc

    r8518 r8740  
    615615      dynamic_cast<GraphicsEffect*>(*it)->draw();
    616616  }
    617   GraphicsEngine::storeMatrices();
    618617  Shader::suspendShader();
    619618  Render2D::getInstance()->draw(E2D_LAYER_BOTTOM, E2D_LAYER_ABOVE_ALL);
  • 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.