]> git.street.me.uk Git - andy/viking.git/commit
Add and use preference for distance units.
authorRob Norris <rw_norris@hotmail.com>
Sun, 7 Mar 2010 19:37:35 +0000 (19:37 +0000)
committerRob Norris <rw_norris@hotmail.com>
Sun, 7 Mar 2010 19:37:35 +0000 (19:37 +0000)
commit6f9336aa34607dcca412c92ae580f9918145da6a
treefb669b4aad3517d9a3dfc3c7a032b7a2030e9761
parent6693f5f9071c69d94e611f09b9cd67f277cfb7ef
Add and use preference for distance units.

Add distance unit options of Kilometres or Miles into preferences
Base the method on the Degrees format option.
Update all displays to show correct information including:
.Scale Mark
.Ruler
.Track Properties - Stats & Elev/Dist tabs.
.Track Point Properties

[NB For track point differences use metres or yards rather than the larger units]
src/globals.c
src/globals.h
src/viktrwlayer_propwin.c
src/viktrwlayer_tpwin.c
src/vikviewport.c
src/vikwindow.c