mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Start doing gas management using output units
Ok, it's an odd place to start, but this now shows the pressure curve details and the air usage in the proper units. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
75cb94f067
commit
a06d93217f
2 changed files with 42 additions and 9 deletions
2
main.c
2
main.c
|
@ -205,11 +205,13 @@ static void quit(GtkWidget *w, gpointer data)
|
|||
static void imperial(GtkWidget *w, gpointer data)
|
||||
{
|
||||
output_units = IMPERIAL_units;
|
||||
repaint_dive();
|
||||
}
|
||||
|
||||
static void metric(GtkWidget *w, gpointer data)
|
||||
{
|
||||
output_units = SI_units;
|
||||
repaint_dive();
|
||||
}
|
||||
|
||||
static GtkActionEntry menu_items[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue