54extern G_MODULE_EXPORT
void box_advanced (GtkWidget * widg, gpointer data);
55extern G_MODULE_EXPORT
void axis_advanced (GtkWidget * widg, gpointer data);
57extern G_MODULE_EXPORT
void opengl_advanced (GtkWidget * widg, gpointer data);
73 this_proj -> runok[i] = FALSE;
74 this_proj -> initok[i] = FALSE;
75 this_proj -> visok[i] = FALSE;
110 if (this_proj -> modelgl)
112 image *
img = this_proj -> modelgl -> anim -> last ->
img;
122 update (this_proj -> modelgl);
123 if (this_proj -> modelgl -> box_win)
125 if (this_proj -> modelgl -> box_win -> win) this_proj -> modelgl -> box_win -> win =
destroy_this_widget (this_proj -> modelgl -> box_win -> win);
126 g_free (this_proj -> modelgl -> box_win);
127 this_proj -> modelgl -> box_win = NULL;
130 if (this_proj -> modelgl -> axis_win)
132 if (this_proj -> modelgl -> axis_win -> win) this_proj -> modelgl -> axis_win -> win =
destroy_this_widget (this_proj -> modelgl -> axis_win -> win);
133 g_free (this_proj -> modelgl -> axis_win);
134 this_proj -> modelgl -> axis_win = NULL;
137 if (this_proj -> modelgl -> rep_win)
139 if (this_proj -> modelgl -> rep_win -> win) this_proj -> modelgl -> rep_win -> win =
destroy_this_widget (this_proj -> modelgl -> rep_win -> win);
140 g_free (this_proj -> modelgl -> rep_win);
141 this_proj -> modelgl -> rep_win = NULL;
144 if (this_proj -> modelgl -> opengl_win)
146 if (this_proj -> modelgl -> opengl_win -> win) this_proj -> modelgl -> opengl_win -> win =
destroy_this_widget (this_proj -> modelgl -> opengl_win -> win);
147 g_free (this_proj -> modelgl -> opengl_win);
148 this_proj -> modelgl -> opengl_win = NULL;
169 new_proj -> name = g_strdup_printf(
"%s%2d",
"Project N°",
activep);
170 new_proj -> delta[
RI] = new_proj -> delta[
CH] = 1.0;
171 new_proj ->
min[
RI] = new_proj ->
min[
CH] = 1;
172 new_proj -> delta[
SP] = 2.0;
174 new_proj -> tfile = -1;
175 new_proj -> newproj = TRUE;
176 new_proj -> steps = 1;
177 new_proj -> xcor = 1;
180 new_proj -> sk_advanced[0] = 1.0;
181 new_proj -> sk_advanced[1] = 15.0;
183 new_proj -> coord = g_malloc0 (
sizeof*new_proj -> coord);
184 if (alloc_box) new_proj -> cell.box = g_malloc0(
sizeof*new_proj -> cell.box);
188 new_proj -> numwid = -1;
203 new_proj -> newproj = FALSE;
Binding to the Fortran90 subroutines.
Callback declarations for main window.
integer(kind=c_int) function chemistry()
Variable declarations for the curve widget Functions for interactions with the curve widget.
Global variable declarations Global convenience function declarations Global data structure defin...
void remove_edition_actions()
remove all edition actions
GtkWidget * destroy_this_widget(GtkWidget *widg)
destroy a GtkWidget
void update(glwin *view)
update the rendering of the OpenGL window
Variable declarations related to the OpenGL window Function declarations related to the OpenGL wind...
Function declarations for the creation of the OpenGL window.
void setup_default_image(project *this_proj, image *img)
setup default image parameters
G_MODULE_EXPORT void opengl_advanced(GtkWidget *widg, gpointer data)
create OpenGL rendering advanced window
void init_curves_and_calc(project *this_proj)
for a project reset analysis, curves, data to not performed
void apply_default_parameters_to_project(project *this_proj)
apply new default parameters to project
void init_shaders(glwin *view)
initialize all the OpenGL shaders
G_MODULE_EXPORT void gradient_advanced(GtkWidget *widg, gpointer data)
Background configuration window.
void clean_atom_style(project *this_proj)
clean all atom(s) possible alternative rendering styles
G_MODULE_EXPORT void axis_advanced(GtkWidget *widg, gpointer data)
create the axis advanced parameters window
void init_camera(project *this_proj, int get_depth)
initialize the OpenGL camera settings
void update_gradient_widgets(gradient_edition *gradient_win, background *back)
update the widgets of the gradient window
G_MODULE_EXPORT void box_advanced(GtkWidget *widg, gpointer data)
create the box edition window
void setup_default_species_parameters_for_image(project *this_proj, image *img)
setup default chemical species related parameters for image
G_MODULE_EXPORT void representation_advanced(GtkWidget *widg, gpointer data)
open advanced representation dialog
void init_project(gboolean alloc_box)
initialize a new project
Messaging function declarations.
void prep_calc_actions()
prepare analysis widgets
Preference variable declarations.
Function declarations for reading atomes project file Function declarations for saving atomes proje...
void active_project_changed(int id)
change the active project