atomes 1.3.1
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-2026 by CNRS and University of Strasbourg */
15
21
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 set_this_style (glwin * view, int style);
32extern void update_menus (glwin * view);
33extern void prep_model (int p);
34
35extern void append_opengl_item (glwin * view, GMenu * menu, const gchar * name, gchar * key, int mpop, int item_id,
36 gchar * accel, int image_format, gpointer icon,
37 gboolean custom, GCallback handler, gpointer data,
38 gboolean check, gboolean status, gboolean radio, gboolean sensitive);
39
40#ifdef GTK4
41extern G_MODULE_EXPORT void to_reset_view (GSimpleAction * action, GVariant * parameter, gpointer data);
42extern void activate_glwin_action (gchar * action_string, gchar * action_name, glwin * view);
43#else
44extern G_MODULE_EXPORT void to_reset_view (GtkWidget * widg, gpointer data);
45#endif
gchar * action_name[5]
Definition atom_edit.c:60
action
Definition glview.h:198
void activate_glwin_action(gchar *action_string, gchar *action_name, glwin *view)
the keyboard shortcut actions for the OpenGL window
Definition glwindow.c:824
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:1498
void update_menus(glwin *view)
G_MODULE_EXPORT void to_reset_view(GtkWidget *widg, gpointer data)
reset view callback - GTK3
Definition m_rep.c:275
void set_this_style(glwin *view, int style)
set general style for atom(s) and bond(s)
Definition m_style.c:293
Definition glwin.h:967
int status
Definition w_advance.c:173