summaryrefslogtreecommitdiffstats
path: root/helpers.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-22 12:37:49 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-09-22 12:37:49 -0700
commit6ce5704435a761aeb7a8b7cb7bc9049ed3ee4ac9 (patch)
tree4d54b92c43a3b4e026ccabd6cd69bee3b4de61f2 /helpers.h
parentff58fd7dcadf5af1333e4137449812cc5ad2524b (diff)
downloadsubsurface-6ce5704435a761aeb7a8b7cb7bc9049ed3ee4ac9.tar.gz
Support imperial measurements in dive planner / add dive
This was not as hard as I assumed it would be. I may still change the horizontal dimension to be the more logical seconds instead of minutes, but for now this achieves the main goal. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
-rw-r--r--helpers.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/helpers.h b/helpers.h
index e05363d6d..80dc00167 100644
--- a/helpers.h
+++ b/helpers.h
@@ -11,7 +11,8 @@
#include "dive.h"
#include "qthelper.h"
-QString get_depth_string(depth_t depth, bool showunit = false);
+QString get_depth_string(depth_t depth, bool showunit = false, bool showdecimal = true);
+QString get_depth_string(int mm, bool showunit = false, bool showdecimal = true);
QString get_depth_unit();
QString get_weight_string(weight_t weight, bool showunit = false);
QString get_weight_unit();