/* * hdfsee.c * * Quick yet non-crappy HDF viewer * * (c) 2006-2010 Thomas White * * Part of CrystFEL - crystallography with a FEL * */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "displaywindow.h" #include "utils.h" /* Global program state */ DisplayWindow *main_window_list[64]; size_t main_n_windows = 0; static void show_help(const char *s) { printf("Syntax: %s [options] image.h5\n\n", s); printf( "Quick HDF5 image viewer.\n" "\n" " -h, --help Display this help message.\n" "\n" " -p, --peak-overlay= Draw circles in positions listed in file.\n" " -i, --int-boost= Multiple intensity by .\n" " -b, --binning= Set display binning to .\n" "\n"); } /* Called to notify that an image display window has been closed */ void hdfsee_window_closed(DisplayWindow *dw) { size_t i; for ( i=0; i