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,
46 /* Create the molecule window using the x,y etc. */
48 extern void map_mw(t_x11 *x11,t_molwin *mw);
50 extern void z_fill(t_manager *man, real *zz);
51 extern void create_visibility(t_manager *man);
52 extern int compare_obj(const void *a,const void *b);
53 extern int filter_vis(t_manager *man);
54 extern void set_sizes(t_manager *man,real sx,real sy);
56 extern bool toggle_hydrogen(t_x11 *x11,t_molwin *mw);
57 /* Toggle the state of the hydrogen drawing,
58 * return the current state
61 extern void set_bond_type(t_x11 *x11,t_molwin *mw,int bt);
62 /* Set the state of the atoms drawing. */
64 extern void set_box_type (t_x11 *x11,t_molwin *mw,int bt);
65 /* Set the type of box or none (bt = 0)
68 extern void done_mw(t_x11 *x11,t_molwin *mw);