]> git.street.me.uk Git - andy/viking.git/commit - src/globals.h
SF Features#95 - Part 1: Allow and use configuration of an alternative time display.
authorRob Norris <rw_norris@hotmail.com>
Thu, 1 May 2014 23:32:45 +0000 (00:32 +0100)
committerRob Norris <rw_norris@hotmail.com>
Thu, 5 Jun 2014 19:46:20 +0000 (20:46 +0100)
commit8ada46de3691a9d89c4fba390cecc67cf71acf81
tree8fc69adb7b34892ceb9096ce0dbaec38c90e6904
parentf8236008ad4e6392e5fe0648517ecaa00791029a
SF Features#95 - Part 1: Allow and use configuration of an alternative time display.

Add an option consisting of none, UTC, or (Object's) Positional Local Time.

For several places where a time is displayed, show a tooltip of the time in the manner
specified by the alternate time option.

Places with times shown with this tooltip option are:

Trackpoint Properties
Waypoint Properties
Track Properties

The 'Positional Local Time' setting will attempt to work out the timezone at the position of the point (or Track's center)
For the first stage of implementation a simple longitude to hours offset calculation is used (longitude/15).
This will become the fallback when the real lookup implementation is added.
src/dialog.c
src/globals.c
src/globals.h
src/viktrwlayer.c
src/viktrwlayer_propwin.c
src/viktrwlayer_tpwin.c
src/vikutils.c
src/vikutils.h