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

Functions to create the color selection dialogs. More...

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

Go to the source code of this file.

Functions

G_MODULE_EXPORT void run_window_color (GtkDialog *win, gint response_id, gpointer data)
 window color chooser - running the dialog
 
void window_color (project *this_proj, glwin *view, int wc_cid)
 window color chooser - creating the dialog
 
G_MODULE_EXPORT void to_run_back_color_window (GtkWidget *widg, gpointer data)
 to run background color selection window callback GTK3
 
G_MODULE_EXPORT void to_run_box_color_window (GtkWidget *widg, gpointer data)
 to run box color selection window callback GTK3
 
G_MODULE_EXPORT void to_run_atom_color_window (GtkWidget *widg, gpointer data)
 to run atom color selection window callback GTK3
 
G_MODULE_EXPORT void run_window_color_coord (GtkDialog *win, gint response_id, gpointer data)
 window to select a color - running the dialog
 
G_MODULE_EXPORT void window_color_coord (GtkWidget *widg, gpointer data)
 create a window to select a color callback GTK3
 

Variables

int wc_cid
 

Detailed Description

Functions to create the color selection dialogs.

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 w_colors.c.

Function Documentation

◆ run_window_color()

G_MODULE_EXPORT void run_window_color ( GtkDialog * win,
gint response_id,
gpointer data )

window color chooser - running the dialog

Parameters
winthe GtkDialog sending the signal
response_idthe response id
datathe associated data pointer

Definition at line 66 of file w_colors.c.

◆ run_window_color_coord()

G_MODULE_EXPORT void run_window_color_coord ( GtkDialog * win,
gint response_id,
gpointer data )

window to select a color - running the dialog

Parameters
winthe GtkDialog sending the signal
response_idthe response id
datathe associated data pointer

Definition at line 238 of file w_colors.c.

◆ to_run_atom_color_window()

G_MODULE_EXPORT void to_run_atom_color_window ( GtkWidget * widg,
gpointer data )

to run atom color selection window callback GTK3

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 216 of file w_colors.c.

◆ to_run_back_color_window()

G_MODULE_EXPORT void to_run_back_color_window ( GtkWidget * widg,
gpointer data )

to run background color selection window callback GTK3

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 159 of file w_colors.c.

◆ to_run_box_color_window()

G_MODULE_EXPORT void to_run_box_color_window ( GtkWidget * widg,
gpointer data )

to run box color selection window callback GTK3

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 187 of file w_colors.c.

◆ window_color()

void window_color ( project * this_proj,
glwin * view,
int wc_cid )

window color chooser - creating the dialog

Parameters
this_projthe target project
viewthe target glwin
wc_cidthe object to change color

Definition at line 105 of file w_colors.c.

◆ window_color_coord()

G_MODULE_EXPORT void window_color_coord ( GtkWidget * widg,
gpointer data )

create a window to select a color callback GTK3

Parameters
widgthe GtkWidget sending the signal
datathe associated data pointer

Definition at line 277 of file w_colors.c.

Variable Documentation

◆ wc_cid

int wc_cid

Definition at line 55 of file w_colors.c.