mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Information overlay: include the moving mean depth
Apparently this is useful for some tech divers. We urgently need an option to turn off the graph and this text, though, as I am guessing that this is just distracting and annoying to 90+% of our users. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1d39df0922
commit
cbd7a5df95
1 changed files with 5 additions and 0 deletions
|
@ -1199,6 +1199,11 @@ static void plot_string(struct plot_info *pi, struct plot_data *entry, struct me
|
|||
put_format(b, translate("gettextFromC", "heartbeat: %d\n"), entry->heartbeat);
|
||||
if (entry->bearing)
|
||||
put_format(b, translate("gettextFromC", "bearing: %d\n"), entry->bearing);
|
||||
if (entry->running_sum) {
|
||||
depthvalue = get_depth_units(entry->running_sum / 1000, NULL, &depth_unit);
|
||||
put_format(b, translate("gettextFromC", "mean depth to here %.1f%s\n"), depthvalue, depth_unit);
|
||||
}
|
||||
|
||||
strip_mb(b);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue