]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Improve time marker handling and add printing of some time labels
authorDirk Hohndel <dirk@hohndel.org>
Sun, 23 Oct 2011 15:04:54 +0000 (08:04 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Sun, 23 Oct 2011 15:04:54 +0000 (08:04 -0700)
We now draw time markers at most every 5 min, but no more than 12 markers.
For convenience we do 5, 10, 15 or 30 min intervals.
This allows for 6h dives - enough (I hope) for even the craziest divers -
but just in case, for those 8h depth-record-breaking dives, we double the
interval if this still doesn't get us to 12 or fewer time markers.

We label the first and then every other time marker with the minute text.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>

No differences found