summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-12-09 16:54:16 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-12-11 11:04:18 -0800
commitc6ca263fb024bf06f76a5a89fbcd982f3f658d39 (patch)
treed29eff3407e2eed7c498f86bb7fa0804d2c9a979 /dive.h
parentfebcbd6325e42b5b9a6478f7e7d726b98cb5e9bb (diff)
downloadsubsurface-c6ca263fb024bf06f76a5a89fbcd982f3f658d39.tar.gz
Calculate dive maxima/minima independent of dive computer
This splits the dive time, depth, pressure and temperature maxima and minima setup from the per-dive-computer "create_plot_info()" function into one setup function that walks _all_ the dive computers, so that we have a global maxima and minima. That way the graph scaling we set up will now fit the data from all dive computers rather than just the particular one we are plotting. So if you switch back-and-forth between computers, the scale (which is defined by the extremes) remains the same. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
0 files changed, 0 insertions, 0 deletions