|
void | save_rotation_quaternion (glwin *view) |
| save the rotation quaternion of the last image
|
|
void | rotate_x_y (glwin *view, double angle_x, double angle_y) |
| rotate the OpenGL camera
|
|
G_MODULE_EXPORT void | set_full_screen (GtkWidget *widg, gpointer data) |
| set full screen callback GTK3
|
|
void | update_labels (glwin *view) |
| update labels (on representation data update)
|
|
void | camera_has_changed (gdouble value, gpointer data) |
| update camera data
|
|
G_MODULE_EXPORT void | reset_view (GtkButton *but, gpointer data) |
| reset view callback
|
|
G_MODULE_EXPORT void | to_reset_view (GtkWidget *widg, gpointer data) |
| reset view callback - GTK3
|
|
G_MODULE_EXPORT gboolean | scroll_set_camera (GtkRange *range, GtkScrollType scroll, gdouble value, gpointer data) |
| update camera data callback - scroll callback
|
|
G_MODULE_EXPORT void | set_camera (GtkRange *range, gpointer data) |
| update camera data callback - range callback
|
|
G_MODULE_EXPORT void | set_camera_spin (GtkSpinButton *res, gpointer data) |
| update camera data callback - spin button
|
|
G_MODULE_EXPORT gboolean | on_rep_delete (GtkWidget *widg, GdkEvent *event, gpointer data) |
| representation window delete event - GTK3
|
|
G_MODULE_EXPORT void | representation_advanced (GtkWidget *widg, gpointer data) |
| open advanced representation dialog
|
|
G_MODULE_EXPORT void | set_rep (GtkWidget *widg, gpointer data) |
| change representation callback - GTK3
|
|
G_MODULE_EXPORT void | change_rep_radio (GSimpleAction *action, GVariant *parameter, gpointer data) |
| change representation radio items callback - GTK4
|
|
G_MODULE_EXPORT void | to_rep_advanced (GSimpleAction *action, GVariant *parameter, gpointer data) |
| change representation callback - GTK4
|
|
GMenu * | menu_rep (glwin *view, int popm) |
| create 'View -> Representation' submenu items - GTK4
|
|
G_MODULE_EXPORT void | to_center_molecule (GSimpleAction *action, GVariant *parameter, gpointer data) |
| center molecule callback - 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_view (glwin *view, int popm) |
| create the 'View' submenu - GTK4
|
|
Functions to create the 'View -> Representation' submenu.
- 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 m_rep.c.