Coot Scripting Interface  7000
generic-display-objects-c.h
Go to the documentation of this file.
1 /* src/generic-display-objects-c.h
2  *
3  * Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007 The University of York
4  * Copyright 2007 by Paul Emsley
5  * Copyright 2007, 2008, 2009, 2010, 2011, 2012 by The University of Oxford
6  * Copyright 2014, 2015, 2016 by Medical Research Council
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 3 of the License, or (at
11  * your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful, but
14  * WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21  * 02110-1301, USA
22  */
23 
24 #ifndef GENERIC_DISPLAY_OBJECTS_C_H
25 #define GENERIC_DISPLAY_OBJECTS_C_H
26 
27 #ifndef BEGIN_C_DECLS
28 
29 #ifdef __cplusplus
30 #define BEGIN_C_DECLS extern "C" {
31 #define END_C_DECLS }
32 
33 #else
34 #define BEGIN_C_DECLS
35 #define END_C_DECLS
36 #endif
37 #endif /* BEGIN_C_DECLS */
38 
39 BEGIN_C_DECLS
40 
41 
46 void clear_generic_objects_dialog_pointer();
47 
49 void set_display_all_generic_objects(int state);
50 
54 
57 
58 END_C_DECLS
59 
60 #endif /* GENERIC_DISPLAY_OBJECTS_C_H */
void set_display_all_generic_objects(int state)
display (1) or undisplay (0) all generic display objects
void close_all_generic_objects()
close all generic display objects
void generic_objects_gui_wrapper()
a kludgey thing, so that the generic objects gui can be called from a callback.