83bac7c3b9e166b96014a00da29c90a8967ce52c
[alexxy/gromacs.git] / src / ngmx / vbox.c
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
11  * 
12  * Copyright (c) 1991-1999
13  * BIOSON Research Institute, Dept. of Biophysical Chemistry
14  * University of Groningen, The Netherlands
15  * 
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)
20  * 
21  * Also check out our WWW page:
22  * http://md.chem.rug.nl/~gmx
23  * or e-mail to:
24  * gromacs@chem.rug.nl
25  * 
26  * And Hey:
27  * Great Red Oystrich Makes All Chemists Sane
28  */
29 static char *SRCID_vbox_c = "$Id$";
30
31 #include "x11.h"
32 #include "nmol.h"
33
34 t_videobox *init_vbox(t_x11 *x11,t_molwin *mw)
35 {
36   t_videobox *vb;
37
38   snew(vb,1);
39   snew(vb->vcr,IDNR-IDBUTNR);
40   
41   return vb;
42 }
43
44 void done_vbox(t_x11 *x11,t_videobox *vbox)
45 {
46   sfree(vbox->vcr);
47   sfree(vbox);
48 }
49