|
atomes 1.2.1
atomes: an atomic scale modeling tool box
|
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 "preferences.h"
Include dependency graph for w_colors.c:Go to the source code of this file.
Functions | |
| void | update_gradient_widgets (gradient_edition *gradient_win, background *back) |
| update the widgets of the gradient window | |
| 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) |
| 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 | set_gradient_color (GtkColorChooser *colob, gpointer data) |
| change background color | |
| G_MODULE_EXPORT void | set_gradient_parameter (GtkWidget *widg, gpointer data) |
| set gradient parameter callback | |
| void | back_position_has_changed (gpointer data, GLfloat v) |
| change gradient mixed position | |
| G_MODULE_EXPORT gboolean | scroll_set_back_position (GtkRange *range, GtkScrollType scroll, gdouble value, gpointer data) |
| set gradient mixed position - scroll callback | |
| G_MODULE_EXPORT void | set_back_position (GtkRange *range, gpointer data) |
| set gradient mixed position - range callback | |
| G_MODULE_EXPORT gboolean | on_gradient_delete (GtkWidget *widg, GdkEvent *event, gpointer data) |
| gradient window delete event - GTK3 | |
| G_MODULE_EXPORT void | gradient_advanced (GtkWidget *widg, gpointer data) |
| Background configuration window. | |
| 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 |
Functions to create the color selection dialogs.
Definition in file w_colors.c.
| void back_position_has_changed | ( | gpointer | data, |
| GLfloat | v ) |
change gradient mixed position
| data | the associated data pointer |
| v | the new position value |
Definition at line 351 of file w_colors.c.
| G_MODULE_EXPORT void gradient_advanced | ( | GtkWidget * | widg, |
| gpointer | data ) |
Background configuration window.
| widg | the widget sending the signal, if any |
| the | associated data pointer |
Definition at line 434 of file w_colors.c.
| G_MODULE_EXPORT gboolean on_gradient_delete | ( | GtkWidget * | widg, |
| GdkEvent * | event, | ||
| gpointer | data ) |
gradient window delete event - GTK3
| widg | the GtkWidget sending the signal |
| event | the GdkEvent triggering the signal |
| data | the associated data pointer |
Definition at line 416 of file w_colors.c.
| G_MODULE_EXPORT void run_window_color | ( | GtkDialog * | win, |
| gint | response_id, | ||
| gpointer | data ) |
window color chooser - running the dialog
| win | the GtkDialog sending the signal |
| response_id | the response id |
| data | the associated data pointer |
Definition at line 125 of file w_colors.c.
| G_MODULE_EXPORT void run_window_color_coord | ( | GtkDialog * | win, |
| gint | response_id, | ||
| gpointer | data ) |
window to select a color - running the dialog
| win | the GtkDialog sending the signal |
| response_id | the response id |
| data | the associated data pointer |
Definition at line 638 of file w_colors.c.
| G_MODULE_EXPORT gboolean scroll_set_back_position | ( | GtkRange * | range, |
| GtkScrollType | scroll, | ||
| gdouble | value, | ||
| gpointer | data ) |
set gradient mixed position - scroll callback
| range | the GtkRange sending the signal |
| scroll | the associated scroll type |
| value | the range value |
| data | the associated data pointer |
Definition at line 377 of file w_colors.c.
| G_MODULE_EXPORT void set_back_position | ( | GtkRange * | range, |
| gpointer | data ) |
set gradient mixed position - range callback
| range | the GtkRange sending the signal |
| data | the associated data pointer |
Definition at line 391 of file w_colors.c.
| G_MODULE_EXPORT void set_gradient_color | ( | GtkColorChooser * | colob, |
| gpointer | data ) |
change background color
| colob | the GtkColorChooser sending the signal |
| data | the associated data pointer |
Definition at line 240 of file w_colors.c.
| G_MODULE_EXPORT void set_gradient_parameter | ( | GtkWidget * | widg, |
| gpointer | data ) |
set gradient parameter callback
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 288 of file w_colors.c.
| G_MODULE_EXPORT void to_run_atom_color_window | ( | GtkWidget * | widg, |
| gpointer | data ) |
to run atom color selection window callback GTK3
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 615 of file w_colors.c.
| G_MODULE_EXPORT void to_run_back_color_window | ( | GtkWidget * | widg, |
| gpointer | data ) |
to run background color selection window callback GTK3
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 223 of file w_colors.c.
| G_MODULE_EXPORT void to_run_box_color_window | ( | GtkWidget * | widg, |
| gpointer | data ) |
to run box color selection window callback GTK3
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 585 of file w_colors.c.
| void update_gradient_widgets | ( | gradient_edition * | gradient_win, |
| background * | back ) |
update the widgets of the gradient window
| gradient_win | the target gradient edition |
| back | the target background information |
Definition at line 84 of file w_colors.c.
window color chooser - creating the dialog
| this_proj | the target project |
| view | the target glwin |
Definition at line 169 of file w_colors.c.
| G_MODULE_EXPORT void window_color_coord | ( | GtkWidget * | widg, |
| gpointer | data ) |
create a window to select a color callback GTK3
| widg | the GtkWidget sending the signal |
| data | the associated data pointer |
Definition at line 677 of file w_colors.c.
| int wc_cid |
Definition at line 73 of file w_colors.c.