atomes 1.1.16
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
glwindow.h
Go to the documentation of this file.
1/* This file is part of the 'atomes' software
2
3'atomes' is free software: you can redistribute it and/or modify it under the terms
4of the GNU Affero General Public License as published by the Free Software Foundation,
5either version 3 of the License, or (at your option) any later version.
6
7'atomes' is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
8without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9See the GNU General Public License for more details.
10
11You should have received a copy of the GNU Affero General Public License along with 'atomes'.
12If not, see <https://www.gnu.org/licenses/>
13
14Copyright (C) 2022-2024 by CNRS and University of Strasbourg */
15
22/*
23* This header file: 'glwindow.h'
24*
25* Contains:
26
27 - Function declarations for the creation of the OpenGL window
28
29*/
30
31extern void prep_model (int p);
32
33extern void append_opengl_item (glwin * view, GMenu * menu, const gchar * name, gchar * key, int mpop, int item_id,
34 gchar * accel, int image_format, gpointer icon,
35 gboolean custom, GCallback handler, gpointer data,
36 gboolean check, gboolean status, gboolean radio, gboolean sensitive);
37
38#ifdef GTK4
39extern G_MODULE_EXPORT void to_reset_view (GSimpleAction * action, GVariant * parameter, gpointer data);
40#else
41extern G_MODULE_EXPORT void to_reset_view (GtkWidget * widg, gpointer data);
42#endif
action
Definition glview.h:189
void append_opengl_item(glwin *view, GMenu *menu, const gchar *name, gchar *key, int mpop, int item_id, gchar *accel, int image_format, gpointer icon, gboolean custom, GCallback handler, gpointer data, gboolean check, gboolean status, gboolean radio, gboolean sensitive)
void prep_model(int p)
prepare, or display, the OpenGL model window
Definition glwindow.c:1518
G_MODULE_EXPORT void to_reset_view(GtkWidget *widg, gpointer data)
reset view callback - GTK3
Definition m_rep.c:200
Definition glwin.h:875
int status
Definition w_advance.c:160