Updated share/top Makefile.am files.
[gromacs/qmmm-gamess-us.git] / src / ngmx / nmol.h
blob2ede21d2d2fc81c2f6cb14082bbf2c60fd43d10a
1 /*
2 *
3 * This source code is part of
4 *
5 * G R O M A C S
6 *
7 * GROningen MAchine for Chemical Simulations
8 *
9 * VERSION 3.2.0
10 * Written by David van der Spoel, Erik Lindahl, Berk Hess, and others.
11 * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
12 * Copyright (c) 2001-2004, The GROMACS development team,
13 * check out http://www.gromacs.org for more information.
15 * This program is free software; you can redistribute it and/or
16 * modify it under the terms of the GNU General Public License
17 * as published by the Free Software Foundation; either version 2
18 * of the License, or (at your option) any later version.
20 * If you want to redistribute modifications, please consider that
21 * scientific software is very special. Version control is crucial -
22 * bugs must be traceable. We will be happy to consider code for
23 * inclusion in the official distribution, but derived work must not
24 * be called official GROMACS. Details are found in the README & COPYING
25 * files - if they are missing, get the official version at www.gromacs.org.
27 * To help us fund GROMACS development, we humbly ask that you cite
28 * the papers on the package - you can find them in the top README file.
30 * For more info, check our website at http://www.gromacs.org
32 * And Hey:
33 * Gyas ROwers Mature At Cryogenic Speed
36 #ifndef _nmol_h
37 #define _nmol_h
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 int ePBC,matrix box);
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);
70 #endif /* _nmol_h */