-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPKINMENU.c
61 lines (54 loc) · 2 KB
/
PKINMENU.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/*PKINMENU.c*/
#include "PKIN.h"
#include "PKINDLOG.h"
/****menuabout()**************************************************************/
void menuabout(void)
{
aboutprekin();
DoReportDialog();
}
/*___menuabout()_____________________________________________________________*/
/****aboutlaunching()*********************************************************/
void aboutlaunching(void)
{
sprintf(alertstr,
CRLF"Launch current kinemage will ask the system to launch MAGE"
CRLF"and show whatever kinemage file this PREKIN run last made."
);
sprintf(alertstr2," ");
sprintf(alertstr3," ");
DoReportDialog();
}
/*___aboutlaunching()________________________________________________________*/
/****aboutoptions()***********************************************************/
void aboutoptions(void)
{;}
/*___aboutoptions()__________________________________________________________*/
/****menuaboutmutations()*****************************************************/
int menuaboutmutations(int it)
{
int irtn=0;
sprintf(alertstr,
"PREKIN 2.0+ :mutation & CHI rotations:"
CRLF"range with nn1=nn2 & only a 3-letter residue code."
CRLF"residue is always mutated/substituted to standard geometry."
CRLF"Commandline: -mutate # RES :forces mutation to standard geometry."
CRLF"aa standard geometry is compiled into this version of prekin"
CRLF"MAGE 2.0+ does nested rotations around given P,L vectors."
);
if(it == 0)
{
DoReportDialog();
}
else
{
sprintf(word,"mutations and rotations");
if (it==1) {sprintf(temps,"%s",alertstr ); irtn=1;}
else if(it==2) {sprintf(temps,"%s",alertstr2); irtn=1;}
else if(it==3) {sprintf(temps,"%s",alertstr3); irtn=1;}
else {sprintf(temps," "); irtn=0;}
}
return(irtn);
}
/*___menuaboutmutations()____________________________________________________*/
/*3456789_123456789_123456789_123456789_123456789_123456789_123456789_12345678*/