Commit Details

Avatar

Repository svn://svn.openttd.org/trunk /trunk
by petern (Using name ‘peter1138’) on 2009-11-07 21:41 (about 1 month ago)

-Codechange: [SDL] When the mouse cursor is locked into position when scrolling a viewport, warp the mouse pointer to the centre of the window. This gives maximum freedom of movement. The pointer position is restored when the lock is removed. Visually the mouse cursor stays where it was.

Language Totals

  Language Code Added Code Removed Comments Added Comments Removed Blanks Added Blanks Removed
  C++ 12 3 4 1 2 0

Files Changed

[1 total ]
File Language Code Added Code Removed Comments Added Comments Removed Blanks Added Blanks Removed
src/video/sdl_v.cpp
  C++ 12 3 4 1 2 0