atomes
1.1.14
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
submenus.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
4
of the GNU Affero General Public License as published by the Free Software Foundation,
5
either 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;
8
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9
See the GNU General Public License for more details.
10
11
You should have received a copy of the GNU Affero General Public License along with 'atomes'.
12
If not, see <https://www.gnu.org/licenses/>
13
14
Copyright (C) 2022-2024 by CNRS and University of Strasbourg */
15
22
/*
23
* This header file: 'submenus.h'
24
*
25
* Contains:
26
27
- Function declarations for the creation of the OpenGL window menus
28
29
*/
30
31
#ifndef SUBMENUS_H_
32
#define SUBMENUS_H_
33
34
#ifdef GTK3
35
extern
void
menu_items_opengl (GtkWidget * menu,
glwin
* view,
int
popm);
36
extern
GtkWidget *
menu_style
(
glwin
* view,
int
id
);
37
extern
GtkWidget *
menu_map
(
glwin
* view,
int
id
);
38
extern
GtkWidget *
menu_render
(
glwin
* view,
int
id
);
39
extern
GtkWidget *
menu_quality
(
glwin
* view,
int
id
);
40
extern
GtkWidget *
menu_atoms
(
glwin
* view,
int
id
,
int
at);
41
extern
GtkWidget *
menu_bonds
(
glwin
* view,
int
id
,
int
at);
42
extern
GtkWidget *
menu_clones
(
glwin
* view,
int
id
);
43
extern
GtkWidget *
menu_box_axis
(
glwin
* view,
int
id
,
int
ab);
44
extern
void
detach_frag_mol_menu (
glwin
* view,
int
id
,
int
jd);
45
extern
GtkWidget *
menu_coord
(
glwin
* view,
int
id
);
46
extern
GtkWidget *
add_menu_coord
(
glwin
* view,
int
id
,
int
jd);
47
extern
GtkWidget *
menu_poly
(
glwin
* view,
int
id
);
48
extern
GtkWidget *
menu_rings
(
glwin
* view,
int
id
);
49
extern
GtkWidget *
menu_edit
(
glwin
* view,
int
id
);
50
extern
GtkWidget *
menu_tools
(
glwin
* view,
int
id
);
51
extern
GtkWidget *
menu_rep
(
glwin
* view,
int
id
);
52
extern
GtkWidget *
menu_proj
(
glwin
* view);
53
extern
GtkWidget *
menu_back
(
glwin
* view);
54
extern
void
menu_axis
(GtkWidget * menu_ab,
glwin
* view,
int
id
);
55
extern
GtkWidget *
menu_anim
(
glwin
* view,
int
id
);
56
extern
void
menu_items_view
(GtkWidget * menu,
glwin
* view,
int
popm);
57
#else
58
extern
GMenu *
menu_style
(
glwin
* view,
int
popm);
59
extern
GMenu *
menu_map
(
glwin
* view,
int
popm);
60
extern
GMenu *
menu_render
(
glwin
* view,
int
popm);
61
extern
GMenu *
menu_quality
(
glwin
* view,
int
popm);
62
extern
GMenu *
menu_atoms
(
glwin
* view,
int
popm,
int
at);
63
extern
GMenu *
menu_bonds
(
glwin
* view,
int
popm,
int
at);
64
extern
GMenu *
menu_clones
(
glwin
* view,
int
popm);
65
extern
GMenu *
axis_box_param
(
glwin
* view,
int
popm,
int
ab,
int
style);
66
extern
GMenuItem *
menu_box_axis
(
glwin
* view,
int
popm,
int
ab);
67
extern
GMenu *
color_item
(
glwin
* view, gchar * act,
int
id
, GCallback handler, gpointer data);
68
extern
GMenu *
menu_coord
(
glwin
* view,
int
popm);
69
extern
GMenu *
add_menu_coord
(
glwin
* view,
int
popm,
int
id
);
70
extern
GMenu *
menu_poly
(
glwin
* view,
int
popm);
71
extern
GMenu *
menu_rings
(
glwin
* view,
int
popm);
72
extern
GMenu *
extract_section
(
glwin
* view,
int
popm);
73
extern
GMenu *
menu_edit
(
glwin
* view,
int
popm);
74
extern
GMenu *
menu_tools
(
glwin
* view,
int
popm);
75
extern
GMenu *
menu_reset
(
glwin
* view,
int
popm);
76
extern
GMenu *
menu_fullscreen
(
glwin
* view,
int
popm);
77
extern
GMenu *
menu_rep
(
glwin
* view,
int
popm);
78
extern
GMenu *
menu_proj
(
glwin
* view,
int
popm);
79
extern
GMenu *
menu_back
(
glwin
* view,
int
popm);
80
extern
void
menu_axis
(GMenu * menu,
glwin
* view,
int
popm);
81
extern
void
menu_items_view
(GMenu * menu,
glwin
* view,
int
popm);
82
extern
GMenu *
prepare_opengl_menu
(
glwin
* view,
int
popm);
83
extern
GMenu *
prepare_model_menu
(
glwin
* view,
int
popm);
84
extern
GMenu *
prepare_coord_menu
(
glwin
* view,
int
popm);
85
extern
GMenu *
menu_view
(
glwin
* view,
int
id
);
86
extern
GMenu *
menu_anim
(
glwin
* view,
int
popm);
87
#endif
88
89
#endif
glwin
Definition
glwin.h:875
menu_axis
void menu_axis(GMenu *menu, glwin *view, int popm)
create the 'Axis' submenu GTK4
Definition
m_axis.c:304
menu_items_view
void menu_items_view(GMenu *menu, glwin *view, int popm)
prepare_model_menu
GMenu * prepare_model_menu(glwin *view, int popm)
menu_bonds
GMenu * menu_bonds(glwin *view, int popm, int at)
create the 'Bond(s)' submenu GTK4
Definition
m_bonds.c:367
menu_view
GMenu * menu_view(glwin *view, int id)
create the 'View' submenu - GTK4
Definition
m_rep.c:579
prepare_coord_menu
GMenu * prepare_coord_menu(glwin *view, int popm)
menu_quality
GMenu * menu_quality(glwin *view, int popm)
create the 'OpenGL -> Quality' menu item - GTK4
Definition
m_quality.c:167
menu_fullscreen
GMenu * menu_fullscreen(glwin *view, int popm)
create the 'Fullscreen' menu item - GTK4
Definition
m_rep.c:564
extract_section
GMenu * extract_section(glwin *view, int popm)
create the 'Extract/Rebuild' menu items GTK4
Definition
m_edit.c:332
menu_edit
GMenu * menu_edit(glwin *view, int popm)
create the 'Edit' submenu GTK4
Definition
m_edit.c:354
menu_coord
GMenu * menu_coord(glwin *view, int popm)
create the 'Coordination' submenu GTK4
Definition
m_coord.c:689
prepare_opengl_menu
GMenu * prepare_opengl_menu(glwin *view, int popm)
menu_rings
GMenu * menu_rings(glwin *view, int popm)
create the 'Ring(s)' submenu GTK4
Definition
m_coord.c:705
color_item
GMenu * color_item(glwin *view, gchar *act, int id, GCallback handler, gpointer data)
menu_reset
GMenu * menu_reset(glwin *view, int popm)
create the reset menu items - GTK4
Definition
m_rep.c:548
menu_box_axis
GMenuItem * menu_box_axis(glwin *view, int popm, int ab)
create the 'Model -> Box' and 'View -> Axis' submenus GTK4
Definition
m_box.c:470
add_menu_coord
GMenu * add_menu_coord(glwin *view, int popm, int id)
create a coordination type submenu
Definition
m_coord.c:652
menu_poly
GMenu * menu_poly(glwin *view, int popm)
create the 'Chemistry -> Polyehdra' submenu - GTK4
Definition
m_poly.c:490
menu_proj
GMenu * menu_proj(glwin *view, int popm)
create the 'View -> Projection' submenu - GTK4
Definition
m_proj.c:164
menu_rep
GMenu * menu_rep(glwin *view, int popm)
create 'View -> Representation' submenu items - GTK4
Definition
m_rep.c:513
menu_tools
GMenu * menu_tools(glwin *view, int popm)
create the 'Tools' submenu - GTK4
Definition
m_tools.c:770
menu_style
GMenu * menu_style(glwin *view, int popm)
create the 'OpenGL -> Style' submenu - GTK4
Definition
m_style.c:433
menu_back
GMenu * menu_back(glwin *view, int popm)
create the background color menu item GTK4
Definition
m_back.c:68
menu_clones
GMenu * menu_clones(glwin *view, int popm)
create the 'Clone(s)' submenu GTK4
Definition
m_clones.c:180
menu_map
GMenu * menu_map(glwin *view, int popm)
create the 'OpenGL -> Color Scheme(s)' submenu - GTK4
Definition
m_map.c:1272
menu_anim
GMenu * menu_anim(glwin *view, int popm)
create the 'Animate' submenu elements
Definition
m_anim.c:139
menu_atoms
GMenu * menu_atoms(glwin *view, int popm, int at)
create the 'Atom(s)' submenu elements
Definition
m_atoms.c:797
axis_box_param
GMenu * axis_box_param(glwin *view, int popm, int ab, int style)
create the box/axis '-> Length/Width/Radius' submenus GTK4
Definition
m_box.c:435
menu_render
GMenu * menu_render(glwin *view, int popm)
create the 'OpenGL -> Render' submenu - GTK4
Definition
m_render.c:182
opengl
win
submenus.h
Generated by
1.10.0