4 * This source code is part of
8 * GROningen MAchine for Chemical Simulations
12 * Copyright (c) 1991-1999
13 * BIOSON Research Institute, Dept. of Biophysical Chemistry
14 * University of Groningen, The Netherlands
17 * GROMACS: A message-passing parallel molecular dynamics implementation
18 * H.J.C. Berendsen, D. van der Spoel and R. van Drunen
19 * Comp. Phys. Comm. 91, 43-56 (1995)
21 * Also check out our WWW page:
22 * http://md.chem.rug.nl/~gmx
27 * Great Red Oystrich Makes All Chemists Sane
33 static char *SRCID_nmol_h
= "$Id$";
36 #ident "@(#) nmol.h 1.1 11/19/92"
37 #endif /* HAVE_IDENT */
42 extern t_molwin
*init_mw(t_x11
*x11
,Window Parent
,
43 int x
,int y
,int width
,int height
,
44 unsigned long fg
,unsigned long bg
);
45 /* Create the molecule window using the x,y etc. */
47 extern void map_mw(t_x11
*x11
,t_molwin
*mw
);
49 extern void z_fill(t_manager
*man
, real
*zz
);
50 extern void create_visibility(t_manager
*man
);
51 extern int compare_obj(const void *a
,const void *b
);
52 extern int filter_vis(t_manager
*man
);
53 extern void set_sizes(t_manager
*man
,real sx
,real sy
);
55 extern bool toggle_hydrogen(t_x11
*x11
,t_molwin
*mw
);
56 /* Toggle the state of the hydrogen drawing,
57 * return the current state
60 extern void set_bond_type(t_x11
*x11
,t_molwin
*mw
,int bt
);
61 /* Set the state of the atoms drawing. */
63 extern bool toggle_box (t_x11
*x11
,t_molwin
*mw
);
64 /* Toggle the state of the box drawing,
65 * return the current state
68 extern void done_mw(t_x11
*x11
,t_molwin
*mw
);