Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5371 in orxonox.OLD for trunk/src/lib/event


Ignore:
Timestamp:
Oct 13, 2005, 1:08:57 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: todo-list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/event/event_handler.cc

    r5300 r5371  
    3939  SDL_InitSubSystem(SDL_INIT_JOYSTICK);
    4040  SDL_InitSubSystem(SDL_INIT_EVENTTHREAD);
    41 //  SDL_SetEventFilter(EventHandler::eventFilter);
     41  SDL_SetEventFilter(EventHandler::eventFilter);
    4242
    4343
     
    285285}
    286286
     287
    287288int EventHandler::eventFilter(const SDL_Event *event)
    288289{
    289   /*
    290290  if (event->type == SDL_KEYDOWN &&  event->key.keysym.sym == SDLK_TAB && SDL_GetKeyState(NULL)[SDLK_LALT])
    291291  {
    292     printf("test\n");
    293 
     292    printf("Not sending event to the WindowManager\n");
     293    return 0;
    294294  }
    295295  return 1;
    296   */
    297296}
    298297
Note: See TracChangeset for help on using the changeset viewer.