/***************************************************************************** Major portions of this software are copyrighted by the Medical College of Wisconsin, 1994-2000, and are released under the Gnu General Public License, Version 2. See the file README.Copyright for details. ******************************************************************************/ #ifndef _MCW_PBAR_H_ #define _MCW_PBAR_H_ #include #include #include #include #include #include #include #include "mrilib.h" /* 15 Jun 2000 */ #include "mcw_malloc.h" #include "display.h" #include "bbox.h" #include "xutil.h" void PBAR_click_CB( Widget , XtPointer , XtPointer ) ; void PBAR_set_CB( Widget , XtPointer , MCW_choose_cbs * ) ; void PBAR_resize_CB( Widget , XtPointer , XtPointer ) ; void PBAR_labelize( float , char * ) ; #define check_width 8 #define check_height 8 static char check_bits[] = { 0x11, 0xaa, 0x44, 0xaa, 0x11, 0xaa, 0x44, 0xaa}; static Pixmap check_pixmap = XmUNSPECIFIED_PIXMAP ; #define NPANE_MIN 2 #define NPANE_MAX 20 #define PANE_WIDTH 15 #define PANE_MIN_HEIGHT 5 #define PANE_LOFF 6 #define PANE_SPACING 2 #define PANE_MAXMODE 2 #define NPANE_NOSASH 21 /* doesn't work well */ #define SASH_HYES 5 #define SASH_HNO 1 #define KEEP_LABEL(ip,np) ( ((ip)<=(np) && (np)