GDS-Render v1.2.1
conv-settings-dialog.c File Reference

Implementation of the setting dialog. More...

#include <gds-render/widgets/conv-settings-dialog.h>
#include <glib/gi18n.h>
Include dependency graph for conv-settings-dialog.c:

Go to the source code of this file.

Data Structures

struct  _RendererSettingsDialog
 

Enumerations

enum  { PROP_CELL_NAME = 1 , PROP_COUNT }
 

Functions

static void renderer_settings_dialog_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
 
static void renderer_settings_dialog_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
 
static void renderer_settings_dialog_class_init (RendererSettingsDialogClass *klass)
 
static void show_tex_options (RendererSettingsDialog *self)
 
static void hide_tex_options (RendererSettingsDialog *self)
 
static void latex_render_callback (GtkToggleButton *radio, RendererSettingsDialog *dialog)
 
static gboolean shape_drawer_drawing_callback (GtkWidget *widget, cairo_t *cr, gpointer data)
 
static double convert_number_to_engineering (double input, const char **out_prefix)
 
static void renderer_settings_dialog_update_labels (RendererSettingsDialog *self)
 
static void scale_value_changed (GtkRange *range, gpointer user_data)
 
static void renderer_settings_dialog_init (RendererSettingsDialog *self)
 
RendererSettingsDialog * renderer_settings_dialog_new (GtkWindow *parent)
 Create a new RedererSettingsDialog GObject. More...
 
void renderer_settings_dialog_get_settings (RendererSettingsDialog *dialog, struct render_settings *settings)
 Get the settings configured in the dialog. More...
 
G_END_DECLS void renderer_settings_dialog_set_settings (RendererSettingsDialog *dialog, struct render_settings *settings)
 Apply settings to dialog. More...
 
void renderer_settings_dialog_set_cell_width (RendererSettingsDialog *dialog, unsigned int width)
 renderer_settings_dialog_set_cell_width Set width for rendered cell More...
 
void renderer_settings_dialog_set_cell_height (RendererSettingsDialog *dialog, unsigned int height)
 renderer_settings_dialog_set_cell_height Set height for rendered cell More...
 
void renderer_settings_dialog_set_database_unit_scale (RendererSettingsDialog *dialog, double unit_in_meters)
 renderer_settings_dialog_set_database_unit_scale Set database scale More...
 

Variables

static GParamSpec * properties [PROP_COUNT]
 

Detailed Description

Implementation of the setting dialog.

Author
Mario Hüttel mario.nosp@m..hue.nosp@m.ttel@.nosp@m.gmx..nosp@m.net

Definition in file conv-settings-dialog.c.