Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7931 in orxonox.OLD for branches/gui/src/lib/event/event_handler.cc


Ignore:
Timestamp:
May 28, 2006, 8:18:03 PM (18 years ago)
Author:
bensch
Message:

gui: Slider can be slided

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/event/event_handler.cc

    r7928 r7931  
    380380      case SDL_MOUSEBUTTONUP:
    381381        ev.bPressed = false;
     382        ev.x = event.motion.x;
     383        ev.y = event.motion.y;
    382384        ev.type = event.button.button + SDLK_LAST;
    383385        break;
    384386      case SDL_MOUSEBUTTONDOWN:
    385387        ev.bPressed = true;
     388        ev.x = event.motion.x;
     389        ev.y = event.motion.y;
    386390        ev.type = event.button.button + SDLK_LAST;
    387391        break;
Note: See TracChangeset for help on using the changeset viewer.