atomes 1.1.16
atomes: an atomic scale modeling tool box
Loading...
Searching...
No Matches
m_quality.c File Reference

Functions to create the 'OengGL -> Quality' submenu. More...

#include "global.h"
#include "interface.h"
#include "project.h"
#include "glwindow.h"
#include "glview.h"
+ Include dependency graph for m_quality.c:

Go to the source code of this file.

Functions

void set_quality (int q, glwin *view)
 set OpenGL quality
 
G_MODULE_EXPORT void set_quality_spin (GtkSpinButton *res, gpointer data)
 set quality spin button callback
 
G_MODULE_EXPORT void window_quality (GtkWidget *widg, gpointer data)
 adjust OpenGL quality - creating the dialog
 
G_MODULE_EXPORT void to_window_quality (GSimpleAction *action, GVariant *parameter, gpointer data)
 quality callback GTK4
 
GMenu * menu_quality (glwin *view, int popm)
 create the 'OpenGL -> Quality' menu item - GTK4
 

Detailed Description

Functions to create the 'OengGL -> Quality' 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_quality.c.

Function Documentation

◆ menu_quality()

GMenu * menu_quality ( glwin * view,
int popm )

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.

◆ set_quality()

void set_quality ( int q,
glwin * view )

set OpenGL quality

Parameters
qnew OpenGL quality
viewthe target glwin

Definition at line 59 of file m_quality.c.

◆ set_quality_spin()

G_MODULE_EXPORT void set_quality_spin ( GtkSpinButton * res,
gpointer data )

set quality spin button callback

Parameters
resthe GtkSpinButton sending the signal
datathe associated data pointer

Definition at line 79 of file m_quality.c.

◆ to_window_quality()

G_MODULE_EXPORT void to_window_quality ( GSimpleAction * action,
GVariant * parameter,
gpointer data )

quality callback GTK4

Parameters
actionthe GAction sending the signal
parameterGVariant parameter of the GAction, if any
datathe associated data pointer

Definition at line 154 of file m_quality.c.

◆ window_quality()

G_MODULE_EXPORT void window_quality ( GtkWidget * widg,
gpointer data )

adjust OpenGL quality - creating the dialog

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 94 of file m_quality.c.