atomes 1.1.15
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
submenus.h File Reference

Function declarations for the creation of the OpenGL window menus. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

GMenu * menu_style (glwin *view, int popm)
 create the 'OpenGL -> Style' submenu - GTK4
 
GMenu * menu_map (glwin *view, int popm)
 create the 'OpenGL -> Color Scheme(s)' submenu - GTK4
 
GMenu * menu_render (glwin *view, int popm)
 create the 'OpenGL -> Render' submenu - GTK4
 
GMenu * menu_quality (glwin *view, int popm)
 create the 'OpenGL -> Quality' menu item - GTK4
 
GMenu * menu_atoms (glwin *view, int popm, int at)
 create the 'Atom(s)' submenu elements
 
GMenu * menu_bonds (glwin *view, int popm, int at)
 create the 'Bond(s)' submenu GTK4
 
GMenu * menu_clones (glwin *view, int popm)
 create the 'Clone(s)' submenu GTK4
 
GMenu * axis_box_param (glwin *view, int popm, int ab, int style)
 create the box/axis '-> Length/Width/Radius' submenus GTK4
 
GMenuItem * menu_box_axis (glwin *view, int popm, int ab)
 create the 'Model -> Box' and 'View -> Axis' submenus GTK4
 
GMenu * color_item (glwin *view, gchar *act, int id, GCallback handler, gpointer data)
 
GMenu * menu_coord (glwin *view, int popm)
 create the 'Coordination' submenu GTK4
 
GMenu * add_menu_coord (glwin *view, int popm, int id)
 create a coordination type submenu
 
GMenu * menu_poly (glwin *view, int popm)
 create the 'Chemistry -> Polyehdra' submenu - GTK4
 
GMenu * menu_rings (glwin *view, int popm)
 create the 'Ring(s)' submenu GTK4
 
GMenu * extract_section (glwin *view, int popm)
 create the 'Extract/Rebuild' menu items GTK4
 
GMenu * menu_edit (glwin *view, int popm)
 create the 'Edit' submenu GTK4
 
GMenu * menu_tools (glwin *view, int popm)
 create the 'Tools' submenu - GTK4
 
GMenu * menu_reset (glwin *view, int popm)
 create the reset menu items - GTK4
 
GMenu * menu_fullscreen (glwin *view, int popm)
 create the 'Fullscreen' menu item - GTK4
 
GMenu * menu_rep (glwin *view, int popm)
 create 'View -> Representation' submenu items - GTK4
 
GMenu * menu_proj (glwin *view, int popm)
 create the 'View -> Projection' submenu - GTK4
 
GMenu * menu_back (glwin *view, int popm)
 create the background color menu item GTK4
 
void menu_axis (GMenu *menu, glwin *view, int popm)
 create the 'Axis' submenu GTK4
 
void menu_items_view (GMenu *menu, glwin *view, int popm)
 
GMenu * prepare_opengl_menu (glwin *view, int popm)
 
GMenu * prepare_model_menu (glwin *view, int popm)
 
GMenu * prepare_coord_menu (glwin *view, int popm)
 
GMenu * menu_view (glwin *view, int id)
 create the 'View' submenu - GTK4
 
GMenu * menu_anim (glwin *view, int popm)
 create the 'Animate' submenu elements
 
GMenu * menu_shortcuts (glwin *view, int popm)
 

Detailed Description

Function declarations for the creation of the OpenGL window menus.

Author
Sébastien Le Roux sebas.nosp@m.tien.nosp@m..lero.nosp@m.ux@i.nosp@m.pcms..nosp@m.unis.nosp@m.tra.f.nosp@m.r

Definition in file submenus.h.

Function Documentation

◆ add_menu_coord()

GMenu * add_menu_coord ( glwin * view,
int popm,
int id )
extern

create a coordination type submenu

Parameters
viewthe target glwin
popmmain app (0) or popup (1)
idcoordination type

Definition at line 652 of file m_coord.c.

◆ axis_box_param()

GMenu * axis_box_param ( glwin * view,
int popm,
int ab,
int style )
extern

create the box/axis '-> Length/Width/Radius' submenus GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)
abbox (0) or axis (1)
stylethe active box/axis style

Definition at line 435 of file m_box.c.

◆ color_item()

GMenu * color_item ( glwin * view,
gchar * act,
int id,
GCallback handler,
gpointer data )
extern

◆ extract_section()

GMenu * extract_section ( glwin * view,
int popm )
extern

create the 'Extract/Rebuild' menu items GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 332 of file m_edit.c.

◆ menu_anim()

GMenu * menu_anim ( glwin * view,
int popm )
extern

create the 'Animate' submenu elements

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 139 of file m_anim.c.

◆ menu_atoms()

GMenu * menu_atoms ( glwin * view,
int popm,
int at )
extern

create the 'Atom(s)' submenu elements

Parameters
viewthe target glwin
popmmain app (0) or popup (1)
atatoms (0) or clones (1)

Definition at line 797 of file m_atoms.c.

◆ menu_axis()

void menu_axis ( GMenu * menu_ab,
glwin * view,
int popm )
extern

create the 'Axis' submenu GTK4

Parameters
menu_abthe menu to attach the new menu to
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 304 of file m_axis.c.

◆ menu_back()

GMenu * menu_back ( glwin * view,
int popm )
extern

create the background color menu item GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 68 of file m_back.c.

◆ menu_bonds()

GMenu * menu_bonds ( glwin * view,
int popm,
int at )
extern

create the 'Bond(s)' submenu GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)
atatoms (0) or clones (1)

Definition at line 367 of file m_bonds.c.

◆ menu_box_axis()

GMenuItem * menu_box_axis ( glwin * view,
int popm,
int ab )
extern

create the 'Model -> Box' and 'View -> Axis' submenus GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)
abbox (0) or axis (1)

Definition at line 470 of file m_box.c.

◆ menu_clones()

GMenu * menu_clones ( glwin * view,
int popm )
extern

create the 'Clone(s)' submenu GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 180 of file m_clones.c.

◆ menu_coord()

GMenu * menu_coord ( glwin * view,
int popm )
extern

create the 'Coordination' submenu GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 689 of file m_coord.c.

◆ menu_edit()

GMenu * menu_edit ( glwin * view,
int popm )
extern

create the 'Edit' submenu GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 354 of file m_edit.c.

◆ menu_fullscreen()

GMenu * menu_fullscreen ( glwin * view,
int popm )
extern

create the 'Fullscreen' menu item - GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 564 of file m_rep.c.

◆ menu_items_view()

void menu_items_view ( GMenu * menu,
glwin * view,
int popm )
extern

◆ menu_map()

GMenu * menu_map ( glwin * view,
int popm )
extern

create the 'OpenGL -> Color Scheme(s)' submenu - GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 1272 of file m_map.c.

◆ menu_poly()

GMenu * menu_poly ( glwin * view,
int popm )
extern

create the 'Chemistry -> Polyehdra' submenu - GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 490 of file m_poly.c.

◆ menu_proj()

GMenu * menu_proj ( glwin * view,
int popm )
extern

create the 'View -> Projection' submenu - GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 164 of file m_proj.c.

◆ menu_quality()

GMenu * menu_quality ( glwin * view,
int popm )
extern

create the 'OpenGL -> Quality' menu item - GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 167 of file m_quality.c.

◆ menu_render()

GMenu * menu_render ( glwin * view,
int popm )
extern

create the 'OpenGL -> Render' submenu - GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 182 of file m_render.c.

◆ menu_rep()

GMenu * menu_rep ( glwin * view,
int popm )
extern

create 'View -> Representation' submenu items - GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 513 of file m_rep.c.

◆ menu_reset()

GMenu * menu_reset ( glwin * view,
int popm )
extern

create the reset menu items - GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 548 of file m_rep.c.

◆ menu_rings()

GMenu * menu_rings ( glwin * view,
int popm )
extern

create the 'Ring(s)' submenu GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 705 of file m_coord.c.

◆ menu_shortcuts()

GMenu * menu_shortcuts ( glwin * view,
int popm )
extern

◆ menu_style()

GMenu * menu_style ( glwin * view,
int popm )
extern

create the 'OpenGL -> Style' submenu - GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 433 of file m_style.c.

◆ menu_tools()

GMenu * menu_tools ( glwin * view,
int popm )
extern

create the 'Tools' submenu - GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 770 of file m_tools.c.

◆ menu_view()

GMenu * menu_view ( glwin * view,
int popm )
extern

create the 'View' submenu - GTK4

Parameters
viewthe target glwin
popmmain app (0) or popup (1)

Definition at line 579 of file m_rep.c.

◆ prepare_coord_menu()

GMenu * prepare_coord_menu ( glwin * view,
int popm )
extern

◆ prepare_model_menu()

GMenu * prepare_model_menu ( glwin * view,
int popm )
extern

◆ prepare_opengl_menu()

GMenu * prepare_opengl_menu ( glwin * view,
int popm )
extern