}
static void add_bonds(t_manager *man,t_functype func[],
- t_ilist *b,bool bB[])
+ t_ilist *b,gmx_bool bB[])
{
- bool *bH=man->bHydro;
+ gmx_bool *bH=man->bHydro;
t_iatom *ia;
t_iatom type,ai,aj,ak;
int i,delta,ftype;
}
}
-static void add_bpl(t_manager *man,t_idef *idef,bool bB[])
+static void add_bpl(t_manager *man,t_idef *idef,gmx_bool bB[])
{
int ftype;
return NO_ATID;
}
-static void do_label(t_x11 *x11,t_manager *man,int x,int y,bool bSet)
+static void do_label(t_x11 *x11,t_manager *man,int x,int y,gmx_bool bSet)
{
atom_id ai;
unsigned long col;
char buf[256],quote[256];
t_tpxheader sh;
t_atoms *at;
- bool *bB;
+ gmx_bool *bB;
int i,idum;
read_tpxheader(status,&sh,TRUE,NULL,NULL);
XSendEvent(x11->disp,letter.xclient.window,True,0,&letter);
}
-bool ReadMonfile(char *fn,int *nbars, int *bars)
+gmx_bool ReadMonfile(char *fn,int *nbars, int *bars)
{
FILE *fp;
if ((fp = fopen(fn,"r"))==NULL)
}
}
-static bool step_man(t_manager *man,int *nat)
+static gmx_bool step_man(t_manager *man,int *nat)
{
static int ncount=0;
- static bool bWarn = FALSE;
- bool bEof;
+ static gmx_bool bWarn = FALSE;
+ gmx_bool bEof;
int dum;
const char *warn;
static void HandleClient(t_x11 *x11,t_manager *man,long data[])
{
int ID,button,x,y;
- bool bPos;
+ gmx_bool bPos;
real fac;
ID=data[0];
step_message(x11,man);
}
-static bool TitleCallBack(t_x11 *x11,XEvent *event, Window w, void *data)
+static gmx_bool TitleCallBack(t_x11 *x11,XEvent *event, Window w, void *data)
{
t_windata *wd;
return FALSE;
}
-static bool ManCallBack(t_x11 *x11,XEvent *event, Window w, void *data)
+static gmx_bool ManCallBack(t_x11 *x11,XEvent *event, Window w, void *data)
{
t_manager *man;
int width,height;
show_but(x11,man->bbox);
}
-bool toggle_animate (t_x11 *x11,t_manager *man)
+gmx_bool toggle_animate (t_x11 *x11,t_manager *man)
{
if (man->status) {
man->bAnimate=!man->bAnimate;
return man->bAnimate;
}
-bool toggle_pbc (t_manager *man)
+gmx_bool toggle_pbc (t_manager *man)
{
man->bPbc=!man->bPbc;