#ifndef _HDRAW_H_
#define _HDRAW_H_
#include "toolbox.h"
typedef struct {
ColorMapEntry *array;
int numberofColors;
int HiColor;
} HColorMap;
HColorMap *GetColorMapPtr(void);
int InitColors(void);
int RangeColors(double min, double max);
int H3DDrawSliceXY(int histogram,int slice,int panel, int control, int *plothandle);
int H2DDraw(int histogram,int panel, int control, int *plothandle);
int H1DDraw(int histogram,int panel, int control, int *plothandle);
int EstimatedFinish(int panel, int slider,int txt, time_t start, double fraction);
#endif _HDRAW_H_