4 * This source code is part of
8 * GROningen MAchine for Chemical Simulations
12 * Copyright (c) 1991-2001
13 * BIOSON Research Institute, Dept. of Biophysical Chemistry
14 * University of Groningen, The Netherlands
16 * This program is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU General Public License
18 * as published by the Free Software Foundation; either version 2
19 * of the License, or (at your option) any later version.
21 * If you want to redistribute modifications, please consider that
22 * scientific software is very special. Version control is crucial -
23 * bugs must be traceable. We will be happy to consider code for
24 * inclusion in the official distribution, but derived work must not
25 * be called official GROMACS. Details are found in the README & COPYING
26 * files - if they are missing, get the official version at www.gromacs.org.
28 * To help us fund GROMACS development, we humbly ask that you cite
29 * the papers on the package - you can find them in the top README file.
31 * Do check out http://www.gromacs.org , or mail us at gromacs@gromacs.org .
34 * Giving Russians Opium May Alter Current Situation
40 static char *SRCID_dialogs_h = "$Id$";
51 typedef enum { edExport, edBonds, edFilter, edNR } eDialogs;
54 emQuit, emHelp, emAbout, emNotImplemented, emNR
58 eExpGromos, eExpPDB, eExpNR
62 char confout[256]; /* Export file */
63 int ExpMode; /* Export mode */
64 t_dlg **dlgs; /* Temporary storage for dlgs */
65 int which_mb; /* Which mb is visible */
66 t_dlg **mboxes; /* id for message boxes */
67 t_filter *filter; /* Filter for visibility etc. */
68 t_windata *wd; /* The main window */
69 t_pulldown *pd; /* The pull-down menu */
70 t_manager *man; /* The manager */
71 /*t_statrec *sr;*/ /* The statistics dlg */
72 t_logo *logo; /* The gromacs logo */
76 IDNEW,IDOPEN,IDOPENED,IDCLOSE,IDIMPORT,IDEXPORT,IDDOEXPORT,IDQUIT,IDTERM,
77 IDEDITTOP,IDEDITCOORDS,IDEDITPARAMS,
78 IDGROMPP,IDRUNMD,IDDOGROMPP,IDGSTAT,IDDOGSTAT,IDDORUNMD,
80 IDANIMATE,IDSHOWBOX,IDRMPBC,IDHYDROGEN,IDLABELSOFF,IDRESETVIEW,IDPHOTO,
82 IDBONDOPTS,IDTHIN,IDFAT,IDVERYFAT,IDBALLS,
83 IDNOBOX,IDRECTBOX,IDTRIBOX,IDTOBOX,
84 IDBOND,IDANGLE,IDDIH,IDRMS,IDRDF,IDENERGIES,IDCORR,
87 /* Last line specifies how many IDs there are */
91 extern void run_grompp(t_gmx *gmx);
93 extern void run_mdrun(t_gmx *gmx);
95 extern void write_gmx(t_x11 *x11,t_gmx *gmx,int mess);
97 /*extern void run_sr(t_statrec *sr);
99 extern t_statrec *init_sr();*/
101 extern void init_dlgs(t_x11 *x11,t_gmx *gmx);
103 extern void show_mb(t_gmx *gmx,int mb);
105 extern void done_dlgs(t_gmx *gmx);
107 extern void edit_file(char *fn);
109 extern t_filter *init_filter(t_atoms *atoms, char *fn, int natom_trx);
111 extern t_dlg *select_filter(t_x11 *x11,t_gmx *gmx);