pcb 4.1.1
An interactive printed circuit board layout editor.

gui-dialog-print.c File Reference

#include "gui.h"
#include "pcb-printf.h"
Include dependency graph for gui-dialog-print.c:

Go to the source code of this file.

Functions

static void set_flag_cb (GtkToggleButton *button, void *flag)
static void intspinner_changed_cb (GtkSpinButton *spin_button, gpointer data)
static void coordentry_changed_cb (GtkEntry *entry, Coord *res)
static void dblspinner_changed_cb (GtkSpinButton *spin_button, gpointer data)
static void entry_changed_cb (GtkEntry *entry, char **str)
static void enum_changed_cb (GtkWidget *combo_box, int *val)
int ghid_attribute_dialog (HID_Attribute *attrs, int n_attrs, HID_Attr_Val *results, const char *title, const char *descr)
static void exporter_clicked_cb (GtkButton *button, HID *exporter)
void ghid_dialog_print (HID *hid)
void ghid_dialog_export (void)

Variables

static GtkWidget * export_dialog = NULL

Function Documentation

static void coordentry_changed_cb ( GtkEntry *  entry,
Coord res 
) [static]

Definition at line 62 of file gui-dialog-print.c.

References GetValue(), and s.

Referenced by ghid_attribute_dialog().

Here is the call graph for this function:

static void dblspinner_changed_cb ( GtkSpinButton *  spin_button,
gpointer  data 
) [static]

Definition at line 69 of file gui-dialog-print.c.

Referenced by ghid_attribute_dialog().

static void entry_changed_cb ( GtkEntry *  entry,
char **  str 
) [static]

Definition at line 78 of file gui-dialog-print.c.

References s.

Referenced by ghid_attribute_dialog().

static void enum_changed_cb ( GtkWidget *  combo_box,
int *  val 
) [static]

Definition at line 90 of file gui-dialog-print.c.

Referenced by ghid_attribute_dialog().

static void exporter_clicked_cb ( GtkButton *  button,
HID exporter 
) [static]

Definition at line 357 of file gui-dialog-print.c.

References ghid_dialog_print().

Referenced by ghid_dialog_export().

Here is the call graph for this function:

void ghid_dialog_export ( void  )

Definition at line 408 of file gui-dialog-print.c.

References _, export_dialog, exporter, exporter_clicked_cb(), FALSE, ghid_port, gui, hid_enumerate(), hid_st::log, GHidPort::top_window, and TRUE.

Referenced by Export().

Here is the call graph for this function:

void ghid_dialog_print ( HID hid)

Definition at line 363 of file gui-dialog-print.c.

References _, __FUNCTION__, hid_st::description, hid_st::do_export, export_dialog, exporter, hid_st::get_export_options, ghid_attribute_dialog(), malloc(), and n.

Referenced by exporter_clicked_cb(), and Print().

Here is the call graph for this function:

static void intspinner_changed_cb ( GtkSpinButton *  spin_button,
gpointer  data 
) [static]

Definition at line 54 of file gui-dialog-print.c.

Referenced by ghid_attribute_dialog().

static void set_flag_cb ( GtkToggleButton *  button,
void *  flag 
) [static]

Definition at line 47 of file gui-dialog-print.c.

Referenced by ghid_attribute_dialog().


Variable Documentation

GtkWidget* export_dialog = NULL [static]

Definition at line 44 of file gui-dialog-print.c.

Referenced by ghid_dialog_export(), and ghid_dialog_print().