diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2012-03-14 19:01:34 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-03-16 12:12:19 -0700 |
commit | 9933ccd7cf3a84ca60330a810e7763668ad882fb (patch) | |
tree | 2b20bb8d2c1c47ef205bb7d05d8c338d79888bbb /display-gtk.h | |
parent | 2d88353b5965853c01a9d394f96a5d0545d86b21 (diff) | |
download | subsurface-9933ccd7cf3a84ca60330a810e7763668ad882fb.tar.gz |
Show statistics of selected dives
If at least 2 dives are selected, show statistics of these dives on
Overall Stats. Otherwise, show the statistics of all dives. Temperature
is also added to the shown statistics.
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Minor change to avoid adding statistics.h (moved the global variable and
external function declaration to display-gtk.h).
Another minor change to the text displayed for the "Stats" notebook page.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r-- | display-gtk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/display-gtk.h b/display-gtk.h index f43e3746f..f12e42996 100644 --- a/display-gtk.h +++ b/display-gtk.h @@ -67,6 +67,10 @@ extern GtkWidget *cylinder_list_widget(void); extern GtkWidget *dive_list_create(void); +unsigned int amount_selected; + +extern void process_selected_dives(GList *, GtkTreeModel *); + typedef void (*data_func_t)(GtkTreeViewColumn *col, GtkCellRenderer *renderer, GtkTreeModel *model, |