3rd tab of the curve layout edition dialog
More...
#include <gtk/gtk.h>
#include <cairo.h>
#include <cairo-pdf.h>
#include <cairo-svg.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include "global.h"
#include "interface.h"
#include "callbacks.h"
#include "project.h"
#include "curve.h"
#include "cedit.h"
Go to the source code of this file.
|
| cairo_surface_t * | draw_legend_surface (int da, double ti, ColRGBA dcol, ColRGBA bcol) |
| | draw legend preview
|
| |
| G_MODULE_EXPORT void | show_data_legend (GtkToggleButton *leg, gpointer data) |
| | show / hide legend toggle callback GTK3
|
| |
| void | set_legend_box_style (gpointer data) |
| | update legend style widgets
|
| |
| G_MODULE_EXPORT void | show_data_legend_box (GtkToggleButton *bleg, gpointer data) |
| | show / hide legend box toggle callback GTK3
|
| |
| G_MODULE_EXPORT void | set_legend_font (GtkFontButton *fontb, gpointer data) |
| | change legend font
|
| |
| G_MODULE_EXPORT void | set_legend_color (GtkColorChooser *colob, gpointer data) |
| | change legend color
|
| |
| G_MODULE_EXPORT void | set_legend_pos (GtkEntry *entry, gpointer data) |
| | set the legend position entry callback
|
| |
| G_MODULE_EXPORT void | set_legend_box_line (GtkComboBox *fbox, gpointer data) |
| | change the legend box line type
|
| |
| G_MODULE_EXPORT void | set_legend_box_thickness (GtkEntry *entry, gpointer data) |
| | set legend box thickness entry callback
|
| |
| G_MODULE_EXPORT void | set_legend_box_color (GtkColorChooser *colob, gpointer data) |
| | set legend color
|
| |
| GtkWidget * | create_tab_3 (gpointer data) |
| | handle the creation of the 3rd tab of the curve edition dialog
|
| |
◆ create_tab_3()
| GtkWidget * create_tab_3 |
( |
gpointer | data | ) |
|
handle the creation of the 3rd tab of the curve edition dialog
- Parameters
-
| data | the associated data pointer |
Definition at line 357 of file tab-3.c.
◆ draw_legend_surface()
| cairo_surface_t * draw_legend_surface |
( |
int | da, |
|
|
double | ti, |
|
|
ColRGBA | dcol, |
|
|
ColRGBA | bcol ) |
draw legend preview
- Parameters
-
| da | the dash type |
| ti | the thickness |
| dcol | the legend color |
| bcol | the background color |
Definition at line 87 of file tab-3.c.
◆ set_legend_box_color()
| G_MODULE_EXPORT void set_legend_box_color |
( |
GtkColorChooser * | colob, |
|
|
gpointer | data ) |
set legend color
- Parameters
-
| colob | the GtkColorChooser sending the signal |
| data | the associated data pointer |
Definition at line 340 of file tab-3.c.
◆ set_legend_box_line()
| G_MODULE_EXPORT void set_legend_box_line |
( |
GtkComboBox * | fbox, |
|
|
gpointer | data ) |
change the legend box line type
- Parameters
-
| fbox | the GtkComboBox sending the signal |
| data | the associated data pointer |
Definition at line 298 of file tab-3.c.
◆ set_legend_box_style()
| void set_legend_box_style |
( |
gpointer | data | ) |
|
update legend style widgets
- Parameters
-
| data | the associated data pointer |
Definition at line 158 of file tab-3.c.
◆ set_legend_box_thickness()
| G_MODULE_EXPORT void set_legend_box_thickness |
( |
GtkEntry * | entry, |
|
|
gpointer | data ) |
set legend box thickness entry callback
- Parameters
-
| entry | the GtkEntry sending the signal |
| data | the associated data pointer |
Definition at line 317 of file tab-3.c.
◆ set_legend_color()
| G_MODULE_EXPORT void set_legend_color |
( |
GtkColorChooser * | colob, |
|
|
gpointer | data ) |
change legend color
- Parameters
-
| colob | the GtkColorChooser sending the signal |
| data | the associated data pointer |
Definition at line 242 of file tab-3.c.
◆ set_legend_font()
| G_MODULE_EXPORT void set_legend_font |
( |
GtkFontButton * | fontb, |
|
|
gpointer | data ) |
change legend font
- Parameters
-
| fontb | the GtkFontButton sending the signal |
| data | the associated data pointer |
Definition at line 222 of file tab-3.c.
◆ set_legend_pos()
| G_MODULE_EXPORT void set_legend_pos |
( |
GtkEntry * | entry, |
|
|
gpointer | data ) |
set the legend position entry callback
- Parameters
-
| entry | the GtkEntry sending the signal |
| data | the associated data pointer |
Definition at line 261 of file tab-3.c.
◆ show_data_legend()
| G_MODULE_EXPORT void show_data_legend |
( |
GtkToggleButton * | leg, |
|
|
gpointer | data ) |
show / hide legend toggle callback GTK3
- Parameters
-
| leg | the GtkToggleButton sending the signal |
| data | the associated data pointer |
Definition at line 130 of file tab-3.c.
◆ show_data_legend_box()
| G_MODULE_EXPORT void show_data_legend_box |
( |
GtkToggleButton * | bleg, |
|
|
gpointer | data ) |
show / hide legend box toggle callback GTK3
- Parameters
-
| bleg | the GtkToggleButton sending the signal |
| data | the associated data pointer |
Definition at line 201 of file tab-3.c.
◆ ctext
◆ dataxe
◆ legend_box
| GtkWidget* legend_box = NULL |
◆ legend_box_style
| GtkWidget* legend_box_style = NULL |
◆ legend_style_area
| GtkWidget* legend_style_area = NULL |