atomes 1.1.15
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
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: '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
35extern void menu_items_opengl (GtkWidget * menu, glwin * view, int popm);
36extern GtkWidget * menu_style (glwin * view, int id);
37extern GtkWidget * menu_map (glwin * view, int id);
38extern GtkWidget * menu_render (glwin * view, int id);
39extern GtkWidget * menu_quality (glwin * view, int id);
40extern GtkWidget * menu_atoms ( glwin * view, int id, int at);
41extern GtkWidget * menu_bonds (glwin * view, int id, int at);
42extern GtkWidget * menu_clones (glwin * view, int id);
43extern GtkWidget * menu_box_axis (glwin * view, int id, int ab);
44extern void detach_frag_mol_menu (glwin * view, int id, int jd);
45extern GtkWidget * menu_coord (glwin * view, int id);
46extern GtkWidget * add_menu_coord (glwin * view, int id, int jd);
47extern GtkWidget * menu_poly (glwin * view, int id);
48extern GtkWidget * menu_rings (glwin * view, int id);
49extern GtkWidget * menu_edit (glwin * view, int id);
50extern GtkWidget * menu_tools (glwin * view, int id);
51extern GtkWidget * menu_rep (glwin * view, int id);
52extern GtkWidget * menu_proj (glwin * view);
53extern GtkWidget * menu_back (glwin * view);
54extern void menu_axis (GtkWidget * menu_ab, glwin * view, int id);
55extern GtkWidget * menu_anim (glwin * view, int id);
56extern void menu_items_view (GtkWidget * menu, glwin * view, int popm);
57#else
58extern GMenu * menu_style (glwin * view, int popm);
59extern GMenu * menu_map (glwin * view, int popm);
60extern GMenu * menu_render (glwin * view, int popm);
61extern GMenu * menu_quality (glwin * view, int popm);
62extern GMenu * menu_atoms ( glwin * view, int popm, int at);
63extern GMenu * menu_bonds (glwin * view, int popm, int at);
64extern GMenu * menu_clones (glwin * view, int popm);
65extern GMenu * axis_box_param (glwin * view, int popm, int ab, int style);
66extern GMenuItem * menu_box_axis (glwin * view, int popm, int ab);
67extern GMenu * color_item (glwin * view, gchar * act, int id, GCallback handler, gpointer data);
68extern GMenu * menu_coord (glwin * view, int popm);
69extern GMenu * add_menu_coord (glwin * view, int popm, int id);
70extern GMenu * menu_poly (glwin * view, int popm);
71extern GMenu * menu_rings (glwin * view, int popm);
72extern GMenu * extract_section (glwin * view, int popm);
73extern GMenu * menu_edit (glwin * view, int popm);
74extern GMenu * menu_tools (glwin * view, int popm);
75extern GMenu * menu_reset (glwin * view, int popm);
76extern GMenu * menu_fullscreen (glwin * view, int popm);
77extern GMenu * menu_rep (glwin * view, int popm);
78extern GMenu * menu_proj (glwin * view, int popm);
79extern GMenu * menu_back (glwin * view, int popm);
80extern void menu_axis (GMenu * menu, glwin * view, int popm);
81extern void menu_items_view (GMenu * menu, glwin * view, int popm);
82extern GMenu * prepare_opengl_menu (glwin * view, int popm);
83extern GMenu * prepare_model_menu (glwin * view, int popm);
84extern GMenu * prepare_coord_menu (glwin * view, int popm);
85extern GMenu * menu_view (glwin * view, int id);
86extern GMenu * menu_anim (glwin * view, int popm);
87extern GMenu * menu_shortcuts (glwin * view, int popm);
88#endif
89
90#endif
Definition glwin.h:875
void menu_axis(GMenu *menu, glwin *view, int popm)
create the 'Axis' submenu GTK4
Definition m_axis.c:304
void menu_items_view(GMenu *menu, glwin *view, int popm)
GMenu * prepare_model_menu(glwin *view, int popm)
GMenu * menu_bonds(glwin *view, int popm, int at)
create the 'Bond(s)' submenu GTK4
Definition m_bonds.c:367
GMenu * menu_view(glwin *view, int id)
create the 'View' submenu - GTK4
Definition m_rep.c:579
GMenu * prepare_coord_menu(glwin *view, int popm)
GMenu * menu_quality(glwin *view, int popm)
create the 'OpenGL -> Quality' menu item - GTK4
Definition m_quality.c:167
GMenu * menu_fullscreen(glwin *view, int popm)
create the 'Fullscreen' menu item - GTK4
Definition m_rep.c:564
GMenu * extract_section(glwin *view, int popm)
create the 'Extract/Rebuild' menu items GTK4
Definition m_edit.c:332
GMenu * menu_edit(glwin *view, int popm)
create the 'Edit' submenu GTK4
Definition m_edit.c:354
GMenu * menu_coord(glwin *view, int popm)
create the 'Coordination' submenu GTK4
Definition m_coord.c:689
GMenu * prepare_opengl_menu(glwin *view, int popm)
GMenu * menu_rings(glwin *view, int popm)
create the 'Ring(s)' submenu GTK4
Definition m_coord.c:705
GMenu * menu_shortcuts(glwin *view, int popm)
GMenu * color_item(glwin *view, gchar *act, int id, GCallback handler, gpointer data)
GMenu * menu_reset(glwin *view, int popm)
create the reset menu items - GTK4
Definition m_rep.c:548
GMenuItem * menu_box_axis(glwin *view, int popm, int ab)
create the 'Model -> Box' and 'View -> Axis' submenus GTK4
Definition m_box.c:470
GMenu * add_menu_coord(glwin *view, int popm, int id)
create a coordination type submenu
Definition m_coord.c:652
GMenu * menu_poly(glwin *view, int popm)
create the 'Chemistry -> Polyehdra' submenu - GTK4
Definition m_poly.c:490
GMenu * menu_proj(glwin *view, int popm)
create the 'View -> Projection' submenu - GTK4
Definition m_proj.c:164
GMenu * menu_rep(glwin *view, int popm)
create 'View -> Representation' submenu items - GTK4
Definition m_rep.c:513
GMenu * menu_tools(glwin *view, int popm)
create the 'Tools' submenu - GTK4
Definition m_tools.c:770
GMenu * menu_style(glwin *view, int popm)
create the 'OpenGL -> Style' submenu - GTK4
Definition m_style.c:433
GMenu * menu_back(glwin *view, int popm)
create the background color menu item GTK4
Definition m_back.c:68
GMenu * menu_clones(glwin *view, int popm)
create the 'Clone(s)' submenu GTK4
Definition m_clones.c:180
GMenu * menu_map(glwin *view, int popm)
create the 'OpenGL -> Color Scheme(s)' submenu - GTK4
Definition m_map.c:1272
GMenu * menu_anim(glwin *view, int popm)
create the 'Animate' submenu elements
Definition m_anim.c:139
GMenu * menu_atoms(glwin *view, int popm, int at)
create the 'Atom(s)' submenu elements
Definition m_atoms.c:797
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
GMenu * menu_render(glwin *view, int popm)
create the 'OpenGL -> Render' submenu - GTK4
Definition m_render.c:182