pioneerspacesim/pioneer — pull request #1170 by Sukender (2012-04-10 20:36:56+00:00)
Title: Zoom animation (Improved zooming movement in views)

- Added smooth zoom animation upon wheel movement for System and Galactic views, as for SectorView. This also adds (nice) inertia to movement when triggered with keys or button clicking.
- Made zooming commands be affected by shift keys, for faster movement, as for paning in SectorView. Right shift is x10, left shift is x100.

Please note :

- There may be a bit of polishing to do, such as tweaking "zooming speed" values. Feel free to change values if they don't suit you.
- Movement upon mouse wheel event is not dependant of "frame time" anymore. This is intended: events do not happen once per frame and thus have not to be multiplied by the same rate, AFAIK. If you disagree on that statement, I'll of course reintroduce the frame time.
- There is surely a need for some user settings, such as mouse (and wheel) sensitivity (See code).
- Maybe WorldView has to be changed the same way I did for others? If you feel so, please ask and I'll do it.