#define MAX_XPM_LINELENGTH 4096
-real **mk_matrix(int nx, int ny, bool b1D)
+real **mk_matrix(int nx, int ny, gmx_bool b1D)
{
int i;
real **m;
m[x][y]=0;
}
-bool matelmt_cmp(t_xpmelmt e1, t_xpmelmt e2)
+gmx_bool matelmt_cmp(t_xpmelmt e1, t_xpmelmt e2)
{
return (e1.c1 == e2.c1) && (e1.c2 == e2.c2);
}
int llalloc=0;
unsigned int r,g,b;
double u;
- bool bGetOnWithIt;
+ gmx_bool bGetOnWithIt;
t_xpmelmt c;
mm->flags=0;
void write_xpm_header(FILE *out,
const char *title,const char *legend,
const char *label_x,const char *label_y,
- bool bDiscrete)
+ gmx_bool bDiscrete)
{
fprintf(out, "/* XPM */\n");
fprintf(out, "/* Generated by %s */\n",Program());
void write_xpm_map_split(FILE *out,int n_x,int n_y,
int *nlevel_top,real lo_top,real hi_top,
t_rgb rlo_top,t_rgb rhi_top,
- bool bDiscreteColor,
+ gmx_bool bDiscreteColor,
int *nlevel_bot,real lo_bot,real hi_bot,
t_rgb rlo_bot,t_rgb rhi_bot)
{
}
}
-void write_xpm_axis(FILE *out, const char *axis, bool bSpatial, int n,
+void write_xpm_axis(FILE *out, const char *axis, gmx_bool bSpatial, int n,
real *label)
{
int i;
/* Writes a t_matrix struct to .xpm file */
int i,j;
- bool bOneChar;
+ gmx_bool bOneChar;
t_xpmelmt c;
bOneChar=(m.map[0].code.c2 == 0);
real lo_top,real hi_top,int *nlevel_top,
t_rgb rlo_top,t_rgb rhi_top,
real lo_bot,real hi_bot,int *nlevel_bot,
- bool bDiscreteColor,
+ gmx_bool bDiscreteColor,
t_rgb rlo_bot,t_rgb rhi_bot)
{
/* See write_xpm.