1 // APPDEFINE.H : just some macros #defined here...
2 
3 // Copyright (C) 1998 Tommi Hassinen.
4 
5 // This package is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 
10 // This package is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
14 
15 // You should have received a copy of the GNU General Public License
16 // along with this package; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 
19 /*################################################################################################*/
20 
21 #ifndef APPDEFINE_H
22 #define APPDEFINE_H
23 
24 //#include "ghemicalconfig2.h"
25 
26 /*################################################################################################*/
27 
28 #define GLNAME_LIGHT	0x0001
29 #define GLNAME_OBJECT	0x0002
30 
31 #define GLNAME_MODEL_DEPENDENT 0xFF00		// all these events are forwarded...
32 
33 #define GLNAME_MD_TYPE1 (GLNAME_MODEL_DEPENDENT | 0x01)
34 #define GLNAME_MD_TYPE2 (GLNAME_MODEL_DEPENDENT | 0x02)
35 
36 /*################################################################################################*/
37 
38 #define RENDER_NOTHING		0x00
39 #define RENDER_WIREFRAME	0x01
40 #define RENDER_BALL_AND_STICK	0x02
41 #define RENDER_VAN_DER_WAALS	0x03
42 #define RENDER_ACCESSIBLE	0x04
43 #define RENDER_CYLINDERS	0x05
44 
45 #define LABEL_NOTHING		0x00
46 #define LABEL_INDEX		0x01
47 #define LABEL_F_CHARGE		0x02
48 #define LABEL_P_CHARGE		0x03
49 #define LABEL_ELEMENT		0x04
50 #define LABEL_BUILDER_ID	0x05
51 #define LABEL_ATOMTYPE		0x06
52 #define LABEL_BONDTYPE		0x10
53 #define LABEL_RESIDUE		0x20
54 #define LABEL_SEC_STRUCT	0x21
55 
56 /*################################################################################################*/
57 
58 #endif	// APPDEFINE_H
59 
60 // eof
61