diff options
author | Oliver Schwaneberg <oliver.schwaneberg@gmail.com> | 2018-02-10 23:28:05 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-03-02 08:38:22 -0800 |
commit | 0ca52f868ebe5def65153970061a1d6132ede3be (patch) | |
tree | 95d42be85b3cf4c67206b5b94b40dc07ef1f2446 /core/units.h | |
parent | afc9dd5f3836e7c9c75eab2435b7bd5e20a71bf9 (diff) | |
download | subsurface-0ca52f868ebe5def65153970061a1d6132ede3be.tar.gz |
Choose water presets from a qcombobox in planner, custom value possible
Add a combo box for water types with defaults for fresh water, sea water
and the EN 13319. All values taken from units.h, where EN 13319 was added
beforehand.
Custom values can be entered through a spinbox.
Also changed "Salinity" in TapDiveInformation.ui to "Water type".
Translation required!
Signed-off-by: Oliver Schwaneberg <oliver.schwaneberg@gmail.com>
Diffstat (limited to 'core/units.h')
-rw-r--r-- | core/units.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/units.h b/core/units.h index 8c616728a..2d6b6f73c 100644 --- a/core/units.h +++ b/core/units.h @@ -30,6 +30,7 @@ extern "C" { /* Salinity is expressed in weight in grams per 10l */ #define SEAWATER_SALINITY 10300 +#define EN13319_SALINITY 10200 #define FRESHWATER_SALINITY 10000 #include <stdint.h> |