Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#9 On the Fly, Autozoom Time Adjustments

open
nobody
None
5
2010-08-11
2010-08-11
John Werner
No

This is a patch to the autozoom feature that allows changing the autozoom_secs value through the use of the zoom in and zoom out commands. This allows the amount seen for any given speed to be dynamically changed from the GUI.

The patch affects only two functions: navit_zoom_in and navit_zoom_out. Now, when either of these is entered, a check is done to see if autozooming is active. If it is, this_->autozoom_secs is adjusted, otherwise the normal scaling takes place.

Discussion

  • John Werner
    John Werner
    2010-08-11

    Diff of navit.c between my patch and svn 3521

     
    Attachments