changed reading hint
[gromacs/adressmacs.git] / src / ngmx / nmol.h
blobd663eeab313c9c442d172de09c82cfcb6c47f1be
1 /*
2 * $Id$
3 *
4 * This source code is part of
5 *
6 * G R O M A C S
7 *
8 * GROningen MAchine for Chemical Simulations
9 *
10 * VERSION 2.0
12 * Copyright (c) 1991-1999
13 * BIOSON Research Institute, Dept. of Biophysical Chemistry
14 * University of Groningen, The Netherlands
16 * Please refer to:
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
23 * or e-mail to:
24 * gromacs@chem.rug.nl
26 * And Hey:
27 * Great Red Oystrich Makes All Chemists Sane
30 #ifndef _nmol_h
31 #define _nmol_h
33 static char *SRCID_nmol_h = "$Id$";
35 #ifdef HAVE_IDENT
36 #ident "@(#) nmol.h 1.1 11/19/92"
37 #endif /* HAVE_IDENT */
39 #include "x11.h"
40 #include "xutil.h"
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);
70 #endif /* _nmol_h */