summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-23 08:04:54 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-10-23 08:04:54 -0700
commit86fdd83e7b9cc661940470c7b7d83316b223f572 (patch)
tree1c4f0aa38e6cd682cd8397a97d7d36b77abb891e /divelist.c
parent473fb14b5612f4ff48503ca5e8a07ae42aecd1de (diff)
downloadsubsurface-86fdd83e7b9cc661940470c7b7d83316b223f572.tar.gz
Improve time marker handling and add printing of some time labels
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>
Diffstat (limited to 'divelist.c')
0 files changed, 0 insertions, 0 deletions