Changeset 7931 in orxonox.OLD for branches/gui/src/lib/event/event_handler.cc
- Timestamp:
- May 28, 2006, 8:18:03 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gui/src/lib/event/event_handler.cc
r7928 r7931 380 380 case SDL_MOUSEBUTTONUP: 381 381 ev.bPressed = false; 382 ev.x = event.motion.x; 383 ev.y = event.motion.y; 382 384 ev.type = event.button.button + SDLK_LAST; 383 385 break; 384 386 case SDL_MOUSEBUTTONDOWN: 385 387 ev.bPressed = true; 388 ev.x = event.motion.x; 389 ev.y = event.motion.y; 386 390 ev.type = event.button.button + SDLK_LAST; 387 391 break;
Note: See TracChangeset
for help on using the changeset viewer.