From a97808a51b9e15df23307115ca889e01c604c0dc Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 15 Dec 2009 05:54:51 -0800 Subject: Introduce 'hdfsee' --- src/hdfsee.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 src/hdfsee.c (limited to 'src/hdfsee.c') diff --git a/src/hdfsee.c b/src/hdfsee.c new file mode 100644 index 00000000..073ee036 --- /dev/null +++ b/src/hdfsee.c @@ -0,0 +1,85 @@ +/* + * hdfsee.c + * + * Quick yet non-crappy HDF viewer + * + * (c) 2006-2009 Thomas White + * + * Part of CrystFEL - crystallography with a FEL + * + */ + + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include +#include + +#include "displaywindow.h" +#include "utils.h" + + +/* Global program state */ +DisplayWindow *main_window_list[64]; +size_t main_n_windows = 0; + + +/* Called to notify that an image display window has been closed */ +void hdfsee_window_closed(DisplayWindow *dw) +{ + size_t i; + + for ( i=0; i