pcb 4.1.1
An interactive printed circuit board layout editor.
|
#include <locale.h>
#include "global.h"
#include "hid.h"
#include "hid_draw.h"
#include "hid/common/hid_resource.h"
#include "data.h"
#include "misc.h"
#include <sys/stat.h>
#include <gtk/gtk.h>
#include "ghid-coord-entry.h"
#include "ghid-main-menu.h"
#include "gui-pinout-preview.h"
Go to the source code of this file.
Data Structures | |
struct | GhidGui |
struct | view_data |
struct | GHidPort |
Defines | |
#define | LAYER_BUTTON_SILK (MAX_LAYER) |
#define | LAYER_BUTTON_RATS (MAX_LAYER + 1) |
#define | N_SELECTABLE_LAYER_BUTTONS (LAYER_BUTTON_RATS + 1) |
#define | LAYER_BUTTON_PINS (MAX_ALL_LAYER) |
#define | LAYER_BUTTON_VIAS (MAX_ALL_LAYER + 1) |
#define | LAYER_BUTTON_FARSIDE (MAX_ALL_LAYER + 2) |
#define | LAYER_BUTTON_MASK (MAX_ALL_LAYER + 3) |
#define | N_LAYER_BUTTONS (MAX_ALL_LAYER + 4) |
#define | FROM_PCB_UNITS(v) coord_to_unit (Settings.grid_unit, v) |
#define | TO_PCB_UNITS(v) unit_to_coord (Settings.grid_unit, v) |
#define | SIDE_X(x) ((gport->view.flip_x ? PCB->MaxWidth - (x) : (x))) |
#define | SIDE_Y(y) ((gport->view.flip_y ? PCB->MaxHeight - (y) : (y))) |
#define | DRAW_X(x) (gint)((SIDE_X(x) - gport->view.x0) / gport->view.coord_per_px) |
#define | DRAW_Y(y) (gint)((SIDE_Y(y) - gport->view.y0) / gport->view.coord_per_px) |
#define | EVENT_TO_PCB_X(x) SIDE_X((gint)((x) * gport->view.coord_per_px + gport->view.x0)) |
#define | EVENT_TO_PCB_Y(y) SIDE_Y((gint)((y) * gport->view.coord_per_px + gport->view.y0)) |
#define | GHID_KEY_ALT 0x80 |
#define | GHID_KEY_CONTROL 0x40 |
#define | GHID_KEY_SHIFT 0x20 |
#define | GHID_KEY_TAB 0x01 |
#define | GHID_KEY_UP 0x02 |
#define | GHID_KEY_DOWN 0x03 |
#define | GHID_KEY_LEFT 0x04 |
#define | GHID_KEY_RIGHT 0x05 |
#define | GUI_DIALOG_RESPONSE_ALL 1 |
#define | GUI_DIALOG_CLOSE_CONFIRM_CANCEL 0 |
#define | GUI_DIALOG_CLOSE_CONFIRM_NOSAVE 1 |
#define | GUI_DIALOG_CLOSE_CONFIRM_SAVE 2 |
Enumerations | |
enum | ModifierKeysState { NONE_PRESSED = 0, SHIFT_PRESSED = M_Shift, CONTROL_PRESSED = M_Ctrl, MOD1_PRESSED = M_Mod(1), SHIFT_CONTROL_PRESSED = M_Shift | M_Ctrl, SHIFT_MOD1_PRESSED = M_Shift | M_Mod(1), CONTROL_MOD1_PRESSED = M_Ctrl | M_Mod(1), SHIFT_CONTROL_MOD1_PRESSED = M_Shift | M_Ctrl | M_Mod(1) } |
enum | ButtonState { NO_BUTTON_PRESSED, BUTTON1_PRESSED, BUTTON2_PRESSED, BUTTON3_PRESSED } |
Functions | |
void | ghid_parse_arguments (gint *argc, gchar ***argv) |
void | ghid_do_export (HID_Attr_Val *options) |
void | ghid_create_pcb_widgets (void) |
void | ghid_window_set_name_label (gchar *name) |
Refreshes the window title bar and sets the PCB name to the window title bar or to a seperate label. | |
void | ghid_interface_set_sensitive (gboolean sensitive) |
We'll set the interface insensitive when a g_main_loop is running so the Gtk menus and buttons don't respond and interfere with the special entry the user needs to be doing. | |
void | ghid_interface_input_signals_connect (void) |
Connect just the signals a g_main_loop() will need. | |
void | ghid_interface_input_signals_disconnect (void) |
Disconnect just the signals a g_main_loop() will need. | |
void | ghid_pcb_saved_toggle_states_set (void) |
void | ghid_sync_with_new_layout (void) |
Sync toggle states that were saved with the layout and notify the config code to update Settings values it manages. | |
void | ghid_change_selected_update_menu_actions (void) |
void | ghid_config_window_show () |
void | ghid_config_handle_units_changed (void) |
void | ghid_config_start_backup_timer (void) |
void | ghid_config_text_scale_update (void) |
void | ghid_config_layer_name_update (gchar *name, gint layer) |
void | ghid_config_groups_changed (void) |
void | ghid_config_init (void) |
void | ghid_config_files_write (void) |
void | ghid_config_files_read (gint *argc, gchar ***argv) |
void | ghid_mode_buttons_update (void) |
void | ghid_pack_mode_buttons (void) |
void | ghid_layer_buttons_update (void) |
Synchronize layer selector widget with current PCB state. | |
void | ghid_layer_buttons_color_update (void) |
Update a layer selector's color scheme. | |
void | ghid_status_line_set_text (const gchar *text) |
void | ghid_cursor_position_label_set_text (gchar *text) |
void | ghid_cursor_position_relative_label_set_text (gchar *text) |
void | ghid_hand_cursor (void) |
void | ghid_point_cursor (void) |
void | ghid_watch_cursor (void) |
void | ghid_mode_cursor (gint mode) |
void | ghid_corner_cursor (void) |
void | ghid_restore_cursor (void) |
void | ghid_get_user_xy (const gchar *msg) |
void | ghid_create_abort_dialog (gchar *) |
gboolean | ghid_check_abort (void) |
void | ghid_end_abort (void) |
void | ghid_get_pointer (gint *, gint *) |
void | ghid_port_ranges_changed (void) |
void | ghid_port_ranges_scale (void) |
gboolean | ghid_note_event_location (GdkEventButton *ev) |
gboolean | ghid_port_key_press_cb (GtkWidget *drawing_area, GdkEventKey *kev, gpointer data) |
gboolean | ghid_port_key_release_cb (GtkWidget *drawing_area, GdkEventKey *kev, gpointer data) |
gboolean | ghid_port_button_press_cb (GtkWidget *drawing_area, GdkEventButton *ev, gpointer data) |
gboolean | ghid_port_button_release_cb (GtkWidget *drawing_area, GdkEventButton *ev, gpointer data) |
gint | ghid_port_window_enter_cb (GtkWidget *widget, GdkEventCrossing *ev, GHidPort *out) |
gint | ghid_port_window_leave_cb (GtkWidget *widget, GdkEventCrossing *ev, GHidPort *out) |
gint | ghid_port_window_motion_cb (GtkWidget *widget, GdkEventMotion *ev, GHidPort *out) |
gint | ghid_port_window_mouse_scroll_cb (GtkWidget *widget, GdkEventScroll *ev, GHidPort *out) |
gint | ghid_port_drawing_area_configure_event_cb (GtkWidget *widget, GdkEventConfigure *ev, GHidPort *out) |
gchar * | ghid_dialog_file_select_open (gchar *title, gchar **path, gchar *shortcuts) |
GSList * | ghid_dialog_file_select_multiple (gchar *title, gchar **path, gchar *shortcuts) |
gchar * | ghid_dialog_file_select_save (gchar *title, gchar **path, gchar *file, gchar *shortcuts) |
void | ghid_dialog_message (gchar *message) |
gboolean | ghid_dialog_confirm (gchar *message, gchar *cancelmsg, gchar *okmsg) |
int | ghid_dialog_close_confirm (void) |
gint | ghid_dialog_confirm_all (gchar *message) |
gchar * | ghid_dialog_input (const char *prompt, const char *initial) |
void | ghid_dialog_about (void) |
char * | ghid_fileselect (const char *, const char *, char *, char *, const char *, int) |
void | ghid_dialog_export (void) |
void | ghid_dialog_print (HID *) |
int | ghid_attribute_dialog (HID_Attribute *, int, HID_Attr_Val *, const char *, const char *) |
void | ghid_drc_window_show (gboolean raise) |
void | ghid_drc_window_reset_message (void) |
void | ghid_drc_window_append_violation (DrcViolationType *violation) |
void | ghid_drc_window_append_messagev (const char *fmt, va_list va) |
int | ghid_drc_window_throw_dialog (void) |
void | ghid_update_toggle_flags (void) |
sync the menu checkboxes with actual pcb state. | |
void | ghid_notify_save_pcb (const char *file, bool done) |
void | ghid_notify_filename_changed (void) |
void | ghid_install_accel_groups (GtkWindow *window, GhidGui *gui) |
Install menu bar and accelerator groups. | |
void | ghid_remove_accel_groups (GtkWindow *window, GhidGui *gui) |
Remove menu bar and accelerator groups. | |
void | make_route_style_buttons (GHidRouteStyleSelector *rss) |
Configure the route style selector. | |
void | layer_process (gchar **color_string, char **text, int *set, int i) |
Takes the index into the layers and produces the text string for the layer and if the layer is currently visible or not. | |
gboolean | dup_string (gchar **dst, const gchar *src) |
void | free_glist_and_data (GList **list_head) |
ModifierKeysState | ghid_modifier_keys_state (GdkModifierType *state) |
ButtonState | ghid_button_state (GdkModifierType *state) |
gboolean | ghid_is_modifier_key_sym (gint ksym) |
gboolean | ghid_control_is_pressed (void) |
gboolean | ghid_mod1_is_pressed (void) |
gboolean | ghid_shift_is_pressed (void) |
void | ghid_draw_area_update (GHidPort *out, GdkRectangle *rect) |
gchar * | ghid_get_color_name (GdkColor *color) |
void | ghid_map_color_string (gchar *color_string, GdkColor *color) |
gchar * | ghid_entry_get_text (GtkWidget *entry) |
void | ghid_check_button_connected (GtkWidget *box, GtkWidget **button, gboolean active, gboolean pack_start, gboolean expand, gboolean fill, gint pad, void(*cb_func)(GtkToggleButton *, gpointer), gpointer data, gchar *string) |
void | ghid_button_connected (GtkWidget *box, GtkWidget **button, gboolean pack_start, gboolean expand, gboolean fill, gint pad, void(*cb_func)(gpointer), gpointer data, gchar *string) |
void | ghid_coord_entry (GtkWidget *box, GtkWidget **coord_entry, Coord value, Coord low, Coord high, enum ce_step_size step_size, gint width, void(*cb_func)(GHidCoordEntry *, gpointer), gpointer data, gboolean right_align, gchar *string) |
void | ghid_spin_button (GtkWidget *box, GtkWidget **spin_button, gfloat value, gfloat low, gfloat high, gfloat step0, gfloat step1, gint digits, gint width, void(*cb_func)(GtkSpinButton *, gpointer), gpointer data, gboolean right_align, gchar *string) |
void | ghid_table_coord_entry (GtkWidget *table, gint row, gint column, GtkWidget **coord_entry, Coord value, Coord low, Coord high, enum ce_step_size, gint width, void(*cb_func)(GHidCoordEntry *, gpointer), gpointer data, gboolean right_align, gchar *string) |
void | ghid_table_spin_button (GtkWidget *box, gint row, gint column, GtkWidget **spin_button, gfloat value, gfloat low, gfloat high, gfloat step0, gfloat step1, gint digits, gint width, void(*cb_func)(GtkSpinButton *, gpointer), gpointer data, gboolean right_align, gchar *string) |
void | ghid_range_control (GtkWidget *box, GtkWidget **scale_res, gboolean horizontal, GtkPositionType pos, gboolean set_draw_value, gint digits, gboolean pack_start, gboolean expand, gboolean fill, guint pad, gfloat value, gfloat low, gfloat high, gfloat step0, gfloat step1, void(*cb_func)(), gpointer data) |
GtkWidget * | ghid_scrolled_vbox (GtkWidget *box, GtkWidget **scr, GtkPolicyType h_policy, GtkPolicyType v_policy) |
GtkWidget * | ghid_framed_vbox (GtkWidget *box, gchar *label, gint frame_border_width, gboolean frame_expand, gint vbox_pad, gint vbox_border_width) |
GtkWidget * | ghid_framed_vbox_end (GtkWidget *box, gchar *label, gint frame_border_width, gboolean frame_expand, gint vbox_pad, gint vbox_border_width) |
GtkWidget * | ghid_category_vbox (GtkWidget *box, const gchar *category_header, gint header_pad, gint box_pad, gboolean pack_start, gboolean bottom_pad) |
GtkWidget * | ghid_notebook_page (GtkWidget *tabs, const char *name, gint pad, gint border) |
GtkWidget * | ghid_framed_notebook_page (GtkWidget *tabs, char *name, gint border, gint frame_border, gint vbox_pad, gint vbox_border) |
GtkWidget * | ghid_scrolled_text_view (GtkWidget *box, GtkWidget **scr, GtkPolicyType h_policy, GtkPolicyType v_policy) |
void | ghid_text_view_append (GtkWidget *view, gchar *string) |
void | ghid_text_view_append_strings (GtkWidget *view, gchar **string, gint n_strings) |
GtkTreeSelection * | ghid_scrolled_selection (GtkTreeView *treeview, GtkWidget *box, GtkSelectionMode s_mode, GtkPolicyType h_policy, GtkPolicyType v_policy, void(*func_cb)(GtkTreeSelection *, gpointer), gpointer data) |
void | ghid_dialog_report (gchar *title, gchar *message) |
void | ghid_label_set_markup (GtkWidget *label, const gchar *text) |
void | ghid_set_cursor_position_labels (void) |
void | ghid_set_status_line_label (void) |
void | ghid_netlist_window_create (GHidPort *out) |
void | ghid_netlist_window_show (GHidPort *out, gboolean raise) |
void | ghid_netlist_window_update (gboolean init_nodes) |
LibraryMenuType * | ghid_get_net_from_node_name (gchar *name, gboolean) |
void | ghid_netlist_highlight_node (gchar *name) |
void | ghid_handle_user_command (gboolean raise) |
void | ghid_command_window_show (gboolean raise) |
If ghidgui->use_command_window is TRUE this will get called from ActionCommand() to show the command window. | |
gchar * | ghid_command_entry_get (gchar *prompt, gchar *command) |
This is the command entry function called from ActionCommand() when ghidgui->use_command_window is FALSE. | |
void | ghid_command_use_command_window_sync (void) |
If ghidgui->use_command_window toggles, the config code calls this to ensure the command_combo_box is set up for living in the right place. | |
void | ghid_keyref_window_show (gboolean raise) |
void | ghid_library_window_create (GHidPort *out) |
Creates a library dialog. | |
void | ghid_library_window_show (GHidPort *out, gboolean raise) |
Show the library dialog. | |
void | ghid_log_window_create () |
void | ghid_log_window_show (gboolean raise) |
void | ghid_log (const char *fmt,...) |
void | ghid_logv (const char *fmt, va_list args) |
void | ghid_pinout_window_show (GHidPort *out, ElementType *Element) |
int | ghid_set_layer (const char *name, int group, int empty) |
hidGC | ghid_make_gc (void) |
void | ghid_destroy_gc (hidGC) |
void | ghid_use_mask (enum mask_mode mode) |
void | ghid_set_color (hidGC gc, const char *name) |
void | ghid_set_line_cap (hidGC gc, EndCapStyle style) |
void | ghid_set_line_width (hidGC gc, Coord width) |
void | ghid_set_draw_xor (hidGC gc, int _xor) |
void | ghid_draw_grid (BoxType *region) |
Draw the grid on the 2D canvas. | |
void | ghid_draw_line (hidGC gc, Coord x1, Coord y1, Coord x2, Coord y2) |
void | ghid_draw_arc (hidGC gc, Coord cx, Coord cy, Coord xradius, Coord yradius, Angle start_angle, Angle delta_angle) |
void | ghid_draw_rect (hidGC gc, Coord x1, Coord y1, Coord x2, Coord y2) |
void | ghid_fill_circle (hidGC gc, Coord cx, Coord cy, Coord radius) |
void | ghid_fill_polygon (hidGC gc, int n_coords, Coord *x, Coord *y) |
void | ghid_fill_rect (hidGC gc, Coord x1, Coord y1, Coord x2, Coord y2) |
void | ghid_invalidate_lr (Coord left, Coord right, Coord top, Coord bottom) |
void | ghid_invalidate_all () |
void | ghid_notify_crosshair_change (bool changes_complete) |
void | ghid_notify_mark_change (bool changes_complete) |
void | ghid_init_renderer (int *, char ***, GHidPort *) |
void | ghid_shutdown_renderer (GHidPort *) |
void | ghid_init_drawing_widget (GtkWidget *widget, GHidPort *) |
void | ghid_drawing_area_configure_hook (GHidPort *port) |
void | ghid_screen_update (void) |
gboolean | ghid_drawing_area_expose_cb (GtkWidget *, GdkEventExpose *, GHidPort *) |
void | ghid_port_drawing_realize_cb (GtkWidget *, gpointer) |
gboolean | ghid_pinout_preview_expose (GtkWidget *widget, GdkEventExpose *ev) |
GdkPixmap * | ghid_render_pixmap (int cx, int cy, double zoom, int width, int height, int depth) |
HID_DRAW * | ghid_request_debug_draw (void) |
void | ghid_flush_debug_draw (void) |
void | ghid_finish_debug_draw (void) |
bool | ghid_event_to_pcb_coords (int event_x, int event_y, Coord *pcb_x, Coord *pcb_y) |
bool | ghid_pcb_to_event_coords (Coord pcb_x, Coord pcb_y, int *event_x, int *event_y) |
void | ghid_port_rotate (void *ball, float *quarternion, gpointer userdata) |
void | ghid_view_2d (void *ball, gboolean view_2d, gpointer userdata) |
void | ghid_lead_user_to_location (Coord x, Coord y) |
void | ghid_cancel_lead_user (void) |
void | ghid_pan_view_rel (Coord dx, Coord dy) |
void | ghid_get_coords (const char *msg, Coord *x, Coord *y) |
gint | PCBChanged (int argc, char **argv, Coord x, Coord y) |
static int | Vx (Coord x) |
static int | Vy (Coord y) |
static int | Vz (Coord z) |
static Coord | Px (int x) |
static Coord | Py (int y) |
static Coord | Pz (int z) |
Variables | |
GhidGui | _ghidgui |
GhidGui * | ghidgui |
GHidPort | ghid_port |
GHidPort * | gport |
GdkPixmap * | XC_hand_source |
GdkPixmap * | XC_hand_mask |
GdkPixmap * | XC_lock_source |
GdkPixmap * | XC_lock_mask |
GdkPixmap * | XC_clock_source |
GdkPixmap * | XC_clock_mask |
Definition at line 70 of file gui.h.
Referenced by draw_crosshair(), and ghid_pcb_to_event_coords().
Definition at line 71 of file gui.h.
Referenced by draw_crosshair(), and ghid_pcb_to_event_coords().
Definition at line 73 of file gui.h.
Referenced by ghid_event_to_pcb_coords().
Definition at line 74 of file gui.h.
Referenced by ghid_event_to_pcb_coords().
#define FROM_PCB_UNITS | ( | v | ) | coord_to_unit (Settings.grid_unit, v) |
#define GHID_KEY_ALT 0x80 |
Definition at line 84 of file gui.h.
Referenced by ghid_port_key_press_cb(), and REGISTER_ACTIONS().
#define GHID_KEY_CONTROL 0x40 |
Definition at line 85 of file gui.h.
Referenced by ghid_port_key_press_cb(), and REGISTER_ACTIONS().
#define GHID_KEY_DOWN 0x03 |
Definition at line 91 of file gui.h.
Referenced by ghid_port_key_press_cb(), and REGISTER_ACTIONS().
#define GHID_KEY_LEFT 0x04 |
Definition at line 92 of file gui.h.
Referenced by ghid_port_key_press_cb(), and REGISTER_ACTIONS().
#define GHID_KEY_RIGHT 0x05 |
Definition at line 93 of file gui.h.
Referenced by ghid_port_key_press_cb(), and REGISTER_ACTIONS().
#define GHID_KEY_SHIFT 0x20 |
Definition at line 86 of file gui.h.
Referenced by ghid_port_key_press_cb(), and REGISTER_ACTIONS().
#define GHID_KEY_TAB 0x01 |
Definition at line 89 of file gui.h.
Referenced by ghid_port_key_press_cb(), and REGISTER_ACTIONS().
#define GHID_KEY_UP 0x02 |
Definition at line 90 of file gui.h.
Referenced by ghid_port_key_press_cb(), and REGISTER_ACTIONS().
#define GUI_DIALOG_CLOSE_CONFIRM_CANCEL 0 |
Definition at line 325 of file gui.h.
Referenced by ghid_close_confirm_dialog(), and ghid_dialog_close_confirm().
#define GUI_DIALOG_CLOSE_CONFIRM_NOSAVE 1 |
Definition at line 326 of file gui.h.
Referenced by ghid_close_confirm_dialog(), and ghid_dialog_close_confirm().
#define GUI_DIALOG_CLOSE_CONFIRM_SAVE 2 |
Definition at line 327 of file gui.h.
Referenced by ghid_close_confirm_dialog(), and ghid_dialog_close_confirm().
#define GUI_DIALOG_RESPONSE_ALL 1 |
Definition at line 314 of file gui.h.
Referenced by ghid_dialog_confirm_all().
#define LAYER_BUTTON_FARSIDE (MAX_ALL_LAYER + 2) |
Definition at line 55 of file gui.h.
Referenced by layer_process(), layer_selector_toggle_callback(), make_virtual_layer_buttons(), and ToggleView().
#define LAYER_BUTTON_MASK (MAX_ALL_LAYER + 3) |
Definition at line 56 of file gui.h.
Referenced by layer_process(), layer_selector_toggle_callback(), make_virtual_layer_buttons(), and ToggleView().
#define LAYER_BUTTON_PINS (MAX_ALL_LAYER) |
Definition at line 53 of file gui.h.
Referenced by layer_process(), layer_selector_toggle_callback(), make_virtual_layer_buttons(), and ToggleView().
#define LAYER_BUTTON_RATS (MAX_LAYER + 1) |
Definition at line 50 of file gui.h.
Referenced by ghid_layer_buttons_update(), layer_process(), layer_selector_select_callback(), layer_selector_toggle_callback(), make_virtual_layer_buttons(), SelectLayer(), and ToggleView().
#define LAYER_BUTTON_SILK (MAX_LAYER) |
Definition at line 49 of file gui.h.
Referenced by ghid_layer_buttons_update(), layer_process(), layer_selector_select_callback(), layer_selector_toggle_callback(), make_virtual_layer_buttons(), SelectLayer(), SwapSides(), and ToggleView().
#define LAYER_BUTTON_VIAS (MAX_ALL_LAYER + 1) |
Definition at line 54 of file gui.h.
Referenced by layer_process(), layer_selector_toggle_callback(), make_virtual_layer_buttons(), and ToggleView().
Definition at line 67 of file gui.h.
Referenced by ghid_draw_arc(), ghid_draw_grid(), ghid_draw_rect(), ghid_fill_circle(), ghid_fill_rect(), ghid_pan_view_abs(), ghid_zoom_view_abs(), and ghid_zoom_view_fit().
Definition at line 68 of file gui.h.
Referenced by ghid_draw_arc(), ghid_draw_grid(), ghid_draw_rect(), ghid_fill_circle(), ghid_fill_rect(), ghid_pan_view_abs(), ghid_zoom_view_abs(), and ghid_zoom_view_fit().
#define TO_PCB_UNITS | ( | v | ) | unit_to_coord (Settings.grid_unit, v) |
Definition at line 65 of file gui.h.
Referenced by ghid_config_files_read().
enum ButtonState |
enum ModifierKeysState |
gboolean dup_string | ( | gchar ** | dst, |
const gchar * | src | ||
) |
Definition at line 43 of file gui-utils.c.
Referenced by config_color_defaults_cb(), config_color_load_cb(), config_color_save_cb(), config_file_open(), config_library_apply(), ghid_config_init(), ghid_dialog_file_select_multiple(), ghid_dialog_file_select_open(), ghid_dialog_file_select_save(), ghid_window_set_name_label(), node_selection_changed_cb(), and set_config_attribute().
void free_glist_and_data | ( | GList ** | list_head | ) |
Definition at line 58 of file gui-utils.c.
int ghid_attribute_dialog | ( | HID_Attribute * | , |
int | , | ||
HID_Attr_Val * | , | ||
const char * | , | ||
const char * | |||
) |
Definition at line 100 of file gui-dialog-print.c.
References _, __FUNCTION__, ATTR_UNDOCUMENTED, CE_SMALL, coordentry_changed_cb(), dblspinner_changed_cb(), HID_Attribute::default_val, entry_changed_cb(), enum_changed_cb(), FALSE, get_n_units(), get_unit_list(), ghid_category_vbox(), ghid_check_button_connected(), ghid_coord_entry_new(), ghid_port, ghid_spin_button(), SettingType::grid_unit, HID_Boolean, HID_Coord, HID_Enum, HID_Integer, HID_Label, HID_Mixed, HID_Path, HID_Real, HID_String, HID_Unit, HID_Attr_Val::int_value, intspinner_changed_cb(), HID_Attribute::max_val, HID_Attribute::min_val, n, HID_Attr_Val::real_value, set_flag_cb(), Settings, HID_Attr_Val::str_value, GHidPort::top_window, and TRUE.
Referenced by ghid_dialog_print(), and REGISTER_FLAGS().
void ghid_button_connected | ( | GtkWidget * | box, |
GtkWidget ** | button, | ||
gboolean | pack_start, | ||
gboolean | expand, | ||
gboolean | fill, | ||
gint | pad, | ||
void(*)(gpointer) | cb_func, | ||
gpointer | data, | ||
gchar * | string | ||
) |
Definition at line 233 of file gui-utils.c.
Referenced by config_colors_tab_create().
ButtonState ghid_button_state | ( | GdkModifierType * | state | ) |
Definition at line 121 of file gui-utils.c.
References BUTTON1_PRESSED, BUTTON2_PRESSED, BUTTON3_PRESSED, GHidPort::drawing_area, ghid_port, and NO_BUTTON_PRESSED.
void ghid_cancel_lead_user | ( | void | ) |
Definition at line 1429 of file gtkhid-gdk.c.
References ghid_invalidate_all(), gport, render_priv::lead_user, render_priv::lead_user_timeout, render_priv::lead_user_timer, and GHidPort::render_priv.
Referenced by ghid_lead_user_to_location(), ghid_shutdown_renderer(), netlist_close_cb(), and node_selection_changed_cb().
GtkWidget* ghid_category_vbox | ( | GtkWidget * | box, |
const gchar * | category_header, | ||
gint | header_pad, | ||
gint | box_pad, | ||
gboolean | pack_start, | ||
gboolean | bottom_pad | ||
) |
Definition at line 555 of file gui-utils.c.
References FALSE, s, and TRUE.
Referenced by config_colors_tab_create(), config_general_tab_create(), config_increments_tab_create(), config_layers_tab_create(), config_library_tab_create(), config_sizes_tab_create(), ghid_attribute_dialog(), and ghid_route_style_selector_edit_dialog().
void ghid_change_selected_update_menu_actions | ( | void | ) |
gboolean ghid_check_abort | ( | void | ) |
Definition at line 376 of file gui-misc.c.
References FALSE.
void ghid_check_button_connected | ( | GtkWidget * | box, |
GtkWidget ** | button, | ||
gboolean | active, | ||
gboolean | pack_start, | ||
gboolean | expand, | ||
gboolean | fill, | ||
gint | pad, | ||
void(*)(GtkToggleButton *, gpointer) | cb_func, | ||
gpointer | data, | ||
gchar * | string | ||
) |
Definition at line 205 of file gui-utils.c.
Referenced by config_general_tab_create(), config_increments_tab_create(), config_layers_tab_create(), config_sizes_tab_create(), ghid_attribute_dialog(), and ghid_netlist_window_create().
gchar* ghid_command_entry_get | ( | gchar * | prompt, |
gchar * | command | ||
) |
This is the command entry function called from ActionCommand() when ghidgui->use_command_window is FALSE.
The command_combo_box is already packed into the status line label hbox in this case.
Definition at line 431 of file gui-command-window.c.
References GhidGui::command_combo_box, command_combo_box_entry_create(), command_entered, GhidGui::command_entry, GhidGui::command_entry_status_line_active, command_escape_cb(), GHidPort::drawing_area, FALSE, ghid_install_accel_groups(), ghid_interface_input_signals_connect(), ghid_interface_input_signals_disconnect(), ghid_interface_set_sensitive(), ghid_port, ghid_remove_accel_groups(), ghid_status_line_set_text(), ghidgui, gport, loop, s, GhidGui::status_line_hbox, GHidPort::top_window, and TRUE.
Referenced by ghid_handle_user_command().
void ghid_command_use_command_window_sync | ( | void | ) |
If ghidgui->use_command_window toggles, the config code calls this to ensure the command_combo_box is set up for living in the right place.
Definition at line 332 of file gui-command-window.c.
References GhidGui::command_combo_box, command_window, command_window_close_cb(), FALSE, ghidgui, GhidGui::status_line_hbox, and GhidGui::use_command_window.
Referenced by config_command_window_toggle_cb().
void ghid_command_window_show | ( | gboolean | raise | ) |
If ghidgui->use_command_window is TRUE this will get called from ActionCommand() to show the command window.
Definition at line 362 of file gui-command-window.c.
References _, combo_vbox, GhidGui::command_combo_box, command_combo_box_entry_create(), command_destroy_cb(), command_escape_cb(), command_ref_text, command_window, command_window_close_cb(), command_window_delete_event_cb(), FALSE, ghid_scrolled_text_view(), ghid_text_view_append(), ghidgui, and TRUE.
Referenced by ghid_handle_user_command().
void ghid_config_files_read | ( | gint * | argc, |
gchar *** | argv | ||
) |
Definition at line 762 of file gui-config.c.
References _ghidgui, add_to_paths_list(), board_size_override, color_file, config_colors_read(), config_file_read(), expand_dir(), ghid_config_init(), ghidgui, lib_newlib_config, lib_newlib_list, SettingType::LibraryTree, load_rc_files(), SettingType::MaxHeight, SettingType::MaxWidth, parse_optionv(), Settings, TO_PCB_UNITS, and TRUE.
Referenced by ghid_parse_arguments().
void ghid_config_files_write | ( | void | ) |
Definition at line 799 of file gui-config.c.
References CONFIG_Boolean, CONFIG_Coord, config_file_open(), CONFIG_Integer, GhidGui::config_modified, CONFIG_Real, CONFIG_String, f, FALSE, ghidgui, ConfigAttribute::name, pcb_fprintf(), ConfigAttribute::type, and ConfigAttribute::value.
Referenced by config_general_apply(), delete_chart_cb(), ghid_do_export(), and route_styles_edited_cb().
void ghid_config_groups_changed | ( | void | ) |
Definition at line 1541 of file gui-config.c.
References _, bottom_silk_layer, config_groups_table, config_groups_vbox, config_groups_window, config_layer_group_button_state_update(), config_layer_groups_radio_button_cb(), PCBType::Data, FALSE, group_button, DataType::Layer, layer, layer_entry, layer_name_entry_cb(), PCBType::LayerGroups, max_copper_layer, max_group, LayerType::Name, PCB, SILK_LAYER, top_silk_layer, TRUE, and UNKNOWN.
Referenced by config_layers_tab_create(), and LayersChanged().
void ghid_config_handle_units_changed | ( | void | ) |
Definition at line 2078 of file gui-config.c.
References config_increments_tab_create(), config_increments_tab_vbox, config_increments_vbox, GhidGui::config_modified, config_sizes_tab_create(), config_sizes_tab_vbox, config_sizes_vbox, ghid_set_cursor_position_labels(), ghidgui, SettingType::grid_unit, GhidGui::grid_units_label, unit::in_suffix, pcb_g_strdup_printf(), Settings, and TRUE.
Referenced by ghid_sync_with_new_layout(), and SetUnits().
void ghid_config_init | ( | void | ) |
Definition at line 270 of file gui-config.c.
References ConfigColor::attributes, HID_AttrNode::attributes, color_file, CONFIG_Boolean, config_color_list, CONFIG_Coord, CONFIG_Integer, CONFIG_Real, CONFIG_String, CONFIG_Unused, HID_Attr_Val::coord_value, HID_Attribute::default_val, dup_string(), ghidgui, hid_attr_nodes, HID_Boolean, HID_Coord, HID_Enum, HID_Integer, HID_Label, HID_Mixed, HID_Path, HID_Real, HID_String, HID_Unit, GhidGui::history_size, HID_Attr_Val::int_value, LAYER_COLOR, LAYER_SELECTED_COLOR, len, lookup_config_attribute(), MISC_COLOR, MISC_SELECTED_COLOR, HID_AttrNode::n, GhidGui::n_mode_button_columns, HID_Attribute::name, HID_AttrNode::next, HID_Attr_Val::real_value, GhidGui::small_label_markup, HID_Attr_Val::str_value, TRUE, ConfigColor::type, HID_Attribute::type, ConfigAttribute::type, ConfigAttribute::value, and HID_Attribute::value.
Referenced by ghid_config_files_read().
void ghid_config_layer_name_update | ( | gchar * | name, |
gint | layer | ||
) |
Definition at line 1763 of file gui-config.c.
References config_layer_group_button_state_update(), config_window, FALSE, groups_modified, layer_entry, PCBType::LayerGroups, layers_applying, and PCB.
void ghid_config_start_backup_timer | ( | void | ) |
void ghid_config_text_scale_update | ( | void | ) |
Definition at line 2102 of file gui-config.c.
References config_text_spin_button, config_window, Settings, and SettingType::TextScale.
void ghid_config_window_show | ( | ) |
Definition at line 2155 of file gui-config.c.
References _, config_close_cb(), config_colors_tab_create(), config_destroy_cb(), config_general_tab_create(), config_increments_tab_create(), config_layers_tab_create(), config_library_tab_create(), CONFIG_NAME_COLUMN, config_notebook, config_page_create(), config_selection_changed_cb(), config_sizes_tab_create(), config_window, FALSE, N_CONFIG_COLUMNS, and TRUE.
Referenced by DoWindows().
gboolean ghid_control_is_pressed | ( | void | ) |
Definition at line 251 of file gtkhid-main.c.
References GHidPort::drawing_area, FALSE, ghid_port, ghidgui, GhidGui::is_up, and TRUE.
Referenced by REGISTER_FLAGS().
void ghid_coord_entry | ( | GtkWidget * | box, |
GtkWidget ** | coord_entry, | ||
Coord | value, | ||
Coord | low, | ||
Coord | high, | ||
enum ce_step_size | step_size, | ||
gint | width, | ||
void(*)(GHidCoordEntry *, gpointer) | cb_func, | ||
gpointer | data, | ||
gboolean | right_align, | ||
gchar * | string | ||
) |
Definition at line 255 of file gui-utils.c.
References FALSE, GHID_COORD_ENTRY, ghid_coord_entry_new(), SettingType::grid_unit, Settings, and TRUE.
void ghid_corner_cursor | ( | void | ) |
Definition at line 218 of file gui-misc.c.
References CrosshairType::AttachedBox, Crosshair, gport, gport_set_cursor(), AttachedBoxType::Point1, PointType::X, CrosshairType::X, GHidPort::X_cursor_shape, PointType::Y, and CrosshairType::Y.
void ghid_create_abort_dialog | ( | gchar * | ) |
void ghid_create_pcb_widgets | ( | void | ) |
Definition at line 1651 of file gui-top-window.c.
References ARROW_MODE, bg_image_file, GhidGui::bg_pixbuf, ghid_build_pcb_top_window(), ghid_init_icons(), ghid_install_accel_groups(), ghid_mode_buttons_update(), ghid_port, ghid_update_toggle_flags(), SetMode(), and GHidPort::top_window.
Referenced by ghid_do_export().
void ghid_cursor_position_label_set_text | ( | gchar * | text | ) |
Definition at line 68 of file gui-misc.c.
References GhidGui::cursor_position_absolute_label, ghid_label_set_markup(), and ghidgui.
Referenced by ghid_set_cursor_position_labels().
void ghid_cursor_position_relative_label_set_text | ( | gchar * | text | ) |
Definition at line 74 of file gui-misc.c.
References GhidGui::cursor_position_relative_label, ghid_label_set_markup(), and ghidgui.
Referenced by ghid_set_cursor_position_labels().
void ghid_destroy_gc | ( | hidGC | ) |
Definition at line 146 of file gtkhid-gdk.c.
References hid_gc_struct::gc.
Referenced by REGISTER_FLAGS().
void ghid_dialog_about | ( | void | ) |
Definition at line 92 of file gui-dialog.c.
References GetInfoString(), ghid_port, and GHidPort::top_window.
Referenced by About().
int ghid_dialog_close_confirm | ( | void | ) |
Definition at line 200 of file gui-dialog.c.
References _, PCBType::Filename, ghid_port, GUI_DIALOG_CLOSE_CONFIRM_CANCEL, GUI_DIALOG_CLOSE_CONFIRM_NOSAVE, GUI_DIALOG_CLOSE_CONFIRM_SAVE, PCB, and GHidPort::top_window.
Referenced by ghid_close_confirm_dialog().
gboolean ghid_dialog_confirm | ( | gchar * | message, |
gchar * | cancelmsg, | ||
gchar * | okmsg | ||
) |
Definition at line 158 of file gui-dialog.c.
References _, FALSE, ghid_port, GHidPort::top_window, TRUE, x, and y.
gint ghid_dialog_confirm_all | ( | gchar * | message | ) |
Definition at line 109 of file gui-dialog.c.
References _, FALSE, ghid_framed_vbox(), ghid_port, GUI_DIALOG_RESPONSE_ALL, and GHidPort::top_window.
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().
GSList* ghid_dialog_file_select_multiple | ( | gchar * | title, |
gchar ** | path, | ||
gchar * | shortcuts | ||
) |
Definition at line 375 of file gui-dialog.c.
References _, dup_string(), ghid_port, GHidPort::top_window, and TRUE.
Referenced by ImportGUI().
gchar* ghid_dialog_file_select_open | ( | gchar * | title, |
gchar ** | path, | ||
gchar * | shortcuts | ||
) |
Definition at line 268 of file gui-dialog.c.
References _, dup_string(), ghid_port, and GHidPort::top_window.
Referenced by config_color_load_cb(), and Load().
gchar* ghid_dialog_file_select_save | ( | gchar * | title, |
gchar ** | path, | ||
gchar * | file, | ||
gchar * | shortcuts | ||
) |
Definition at line 458 of file gui-dialog.c.
References dup_string(), ghid_port, GHidPort::top_window, and TRUE.
Referenced by config_color_save_cb(), and Save().
gchar* ghid_dialog_input | ( | const char * | prompt, |
const char * | initial | ||
) |
Definition at line 44 of file gui-dialog.c.
References _, FALSE, ghid_port, GHidPort::top_window, and TRUE.
Referenced by ghid_fileselect(), and ghid_prompt_for().
void ghid_dialog_message | ( | gchar * | message | ) |
Definition at line 141 of file gui-dialog.c.
References ghid_port, and GHidPort::top_window.
Referenced by config_color_save_cb().
void ghid_dialog_print | ( | 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().
void ghid_dialog_report | ( | gchar * | title, |
gchar * | message | ||
) |
Definition at line 647 of file gui-utils.c.
References FALSE, ghid_port, ghid_scrolled_vbox(), s, and GHidPort::top_window.
Referenced by ghid_report_dialog().
void ghid_do_export | ( | HID_Attr_Val * | options | ) |
Definition at line 1875 of file gui-top-window.c.
References ghid_config_files_write(), ghid_create_listener(), ghid_create_pcb_widgets(), ghid_layer_buttons_update(), GHID_MAIN_MENU, ghid_main_menu_install_route_style_selector(), ghid_notify_gui_is_up(), GHID_ROUTE_STYLE_SELECTOR, GhidGui::menu_bar, GhidGui::route_style_selector, and stdin_listen.
Referenced by REGISTER_FLAGS().
void ghid_draw_arc | ( | hidGC | gc, |
Coord | cx, | ||
Coord | cy, | ||
Coord | xradius, | ||
Coord | yradius, | ||
Angle | start_angle, | ||
Angle | delta_angle | ||
) |
Definition at line 578 of file gtkhid-gdk.c.
References view_data::coord_per_px, GHidPort::drawable, view_data::flip_x, view_data::flip_y, gport, GHidPort::height, hidgl_draw_arc(), NormalizeAngle(), GHidPort::render_priv, SIDE_X, SIDE_Y, start_angle, render_priv::u_gc, USE_GC, GHidPort::view, Vx(), Vy(), Vz(), hid_gc_struct::width, GHidPort::width, view_data::x0, and view_data::y0.
Referenced by REGISTER_FLAGS().
void ghid_draw_area_update | ( | GHidPort * | out, |
GdkRectangle * | rect | ||
) |
Definition at line 151 of file gui-utils.c.
References GHidPort::drawing_area, and FALSE.
Referenced by ghid_invalidate_all(), ghid_notify_crosshair_change(), and ghid_notify_mark_change().
void ghid_draw_grid | ( | BoxType * | region | ) |
Draw the grid on the 2D canvas.
Definition at line 186 of file gtkhid-gdk.c.
References GHidPort::bg_color, GHidPort::colormap, GHidPort::drawable, SettingType::DrawGrid, gport, PCBType::Grid, GHidPort::grid_color, render_priv::grid_gc, SettingType::GridColor, GridFit(), PCBType::GridOffsetX, PCBType::GridOffsetY, GHidPort::height, view_data::height, hidgl_draw_grid(), n, PCB, realloc(), GHidPort::render_priv, set_clip(), Settings, SIDE_X, SIDE_Y, GHidPort::view, Vx(), Vy(), Vz(), GHidPort::width, view_data::width, x, view_data::x0, y, and view_data::y0.
Referenced by REGISTER_FLAGS().
Definition at line 559 of file gtkhid-gdk.c.
References hid_gc_struct::cap, ClipLine(), view_data::coord_per_px, GHidPort::drawable, gport, GHidPort::height, hidgl_draw_line(), GHidPort::render_priv, render_priv::u_gc, USE_GC, GHidPort::view, Vx(), Vy(), hid_gc_struct::width, and GHidPort::width.
Referenced by REGISTER_FLAGS().
Definition at line 618 of file gtkhid-gdk.c.
References view_data::coord_per_px, GHidPort::drawable, FALSE, gport, GHidPort::height, hidgl_draw_rect(), GHidPort::render_priv, SIDE_X, SIDE_Y, render_priv::u_gc, USE_GC, GHidPort::view, Vx(), Vy(), GHidPort::width, hid_gc_struct::width, view_data::x0, and view_data::y0.
Referenced by REGISTER_FLAGS().
void ghid_drawing_area_configure_hook | ( | GHidPort * | port | ) |
Definition at line 1117 of file gtkhid-gdk.c.
References GHidPort::bg_color, render_priv::bg_gc, GHidPort::drawable, GHidPort::height, GHidPort::mask, GHidPort::offlimits_color, render_priv::offlimits_gc, GHidPort::render_priv, and GHidPort::width.
Referenced by ghid_port_drawing_area_configure_event_cb().
gboolean ghid_drawing_area_expose_cb | ( | GtkWidget * | , |
GdkEventExpose * | , | ||
GHidPort * | |||
) |
Definition at line 1156 of file gtkhid-gdk.c.
References GHidPort::bg_color, render_priv::bg_gc, buffer, common_fill_pcb_polygon(), view_data::coord_per_px, render_priv::crosshair_gc, draw_crosshair(), hid_draw_st::draw_grid, draw_lead_user(), DrawAttached(), GHidPort::drawing_area, DrawMark(), FALSE, hid_draw_st::fill_pcb_polygon, view_data::flip_x, view_data::flip_y, ghid_draw_bg_image(), ghid_end_drawing(), ghid_invalidate_current_gc(), ghid_start_drawing(), ghid_unproject_to_z_plane(), gport, hid_expose_callback(), hidgl_finish_render(), hidgl_flush_triangles(), hidgl_reset_stencil_usage(), hidgl_start_render(), hidgl_stencil_bits(), last_modelview_matrix, MAX, PCBType::MaxHeight, PCBType::MaxWidth, MIN, GHidPort::offlimits_color, PCB, GHidPort::pixmap, region, GHidPort::render_priv, render_priv::time_since_expose, GHidPort::view, view_matrix, window, view_data::x0, BoxType::X1, BoxType::X2, view_data::y0, BoxType::Y1, and BoxType::Y2.
Referenced by ghid_build_pcb_top_window().
void ghid_drc_window_append_messagev | ( | const char * | fmt, |
va_list | va | ||
) |
void ghid_drc_window_append_violation | ( | DrcViolationType * | violation | ) |
Definition at line 847 of file gui-drc-window.c.
References drc_list_model, DRC_VIOLATION_NUM_COL, DRC_VIOLATION_OBJ_COL, FALSE, ghid_drc_violation_new(), ghid_drc_window_show(), and num_violations.
void ghid_drc_window_reset_message | ( | void | ) |
Definition at line 868 of file gui-drc-window.c.
References drc_list_model, and num_violations.
void ghid_drc_window_show | ( | gboolean | raise | ) |
Definition at line 757 of file gui-drc-window.c.
References _, SettingType::AutoPlace, drc_close_cb(), drc_destroy_cb(), drc_list, drc_list_model, drc_refresh_cb(), DRC_VIOLATION_NUM_COL, DRC_VIOLATION_OBJ_COL, drc_window, drc_window_configure_event_cb(), GhidGui::drc_window_height, GhidGui::drc_window_width, FALSE, ghid_violation_renderer_new(), ghidgui, NUM_DRC_COLUMNS, row_activated_cb(), selection_changed_cb(), Settings, and TRUE.
Referenced by DoWindows(), ghid_drc_window_append_violation(), and ghid_drc_window_throw_dialog().
int ghid_drc_window_throw_dialog | ( | void | ) |
Definition at line 875 of file gui-drc-window.c.
References ghid_drc_window_show(), and TRUE.
void ghid_end_abort | ( | void | ) |
Definition at line 382 of file gui-misc.c.
gchar* ghid_entry_get_text | ( | GtkWidget * | entry | ) |
Definition at line 191 of file gui-utils.c.
References s.
Referenced by command_entry_activate_cb(), config_layers_apply(), config_library_apply(), and layer_name_entry_cb().
Definition at line 1313 of file gtkhid-gdk.c.
References EVENT_TO_PCB_X, EVENT_TO_PCB_Y, and ghid_unproject_to_z_plane().
Referenced by ghid_note_event_location(), and ghid_set_crosshair().
char* ghid_fileselect | ( | const char * | , |
const char * | , | ||
char * | , | ||
char * | , | ||
const char * | , | ||
int | |||
) |
Definition at line 661 of file gtkhid-main.c.
References __FUNCTION__, ghid_dialog_input(), ghid_port, HID_FILESELECT_READ, ghid_file_history_struct::history, ghid_file_history_struct::id, n_recent_dirs, NHIST, realloc(), and GHidPort::top_window.
Referenced by REGISTER_FLAGS().
Definition at line 662 of file gtkhid-gdk.c.
References view_data::coord_per_px, GHidPort::drawable, gport, GHidPort::height, hidgl_fill_circle(), GHidPort::render_priv, SIDE_X, SIDE_Y, TRUE, render_priv::u_gc, USE_GC, GHidPort::view, Vx(), Vy(), Vz(), GHidPort::width, view_data::x0, and view_data::y0.
Referenced by REGISTER_FLAGS().
Definition at line 682 of file gtkhid-gdk.c.
References GHidPort::drawable, gport, hidgl_fill_polygon(), realloc(), GHidPort::render_priv, render_priv::u_gc, USE_GC, Vx(), and Vy().
Referenced by REGISTER_FLAGS().
Definition at line 704 of file gtkhid-gdk.c.
References view_data::coord_per_px, GHidPort::drawable, gport, GHidPort::height, hidgl_fill_rect(), GHidPort::render_priv, SIDE_X, SIDE_Y, TRUE, render_priv::u_gc, USE_GC, GHidPort::view, Vx(), Vy(), GHidPort::width, hid_gc_struct::width, view_data::x0, and view_data::y0.
Referenced by REGISTER_FLAGS().
void ghid_finish_debug_draw | ( | void | ) |
Definition at line 1305 of file gtkhid-gdk.c.
References buffer, GHidPort::drawing_area, ghid_end_drawing(), ghid_flush_debug_draw(), gport, hidgl_finish_render(), and hidgl_flush_triangles().
Referenced by REGISTER_FLAGS().
void ghid_flush_debug_draw | ( | void | ) |
Definition at line 1298 of file gtkhid-gdk.c.
References buffer, GHidPort::drawing_area, ghid_screen_update(), gport, and hidgl_flush_triangles().
Referenced by ghid_finish_debug_draw(), and REGISTER_FLAGS().
GtkWidget* ghid_framed_notebook_page | ( | GtkWidget * | tabs, |
char * | name, | ||
gint | border, | ||
gint | frame_border, | ||
gint | vbox_pad, | ||
gint | vbox_border | ||
) |
Definition at line 635 of file gui-utils.c.
References ghid_framed_vbox(), ghid_notebook_page(), and TRUE.
GtkWidget* ghid_framed_vbox | ( | GtkWidget * | box, |
gchar * | label, | ||
gint | frame_border_width, | ||
gboolean | frame_expand, | ||
gint | vbox_pad, | ||
gint | vbox_border_width | ||
) |
Definition at line 521 of file gui-utils.c.
References FALSE.
Referenced by ghid_dialog_confirm_all(), and ghid_framed_notebook_page().
GtkWidget* ghid_framed_vbox_end | ( | GtkWidget * | box, |
gchar * | label, | ||
gint | frame_border_width, | ||
gboolean | frame_expand, | ||
gint | vbox_pad, | ||
gint | vbox_border_width | ||
) |
Definition at line 538 of file gui-utils.c.
References FALSE.
gchar* ghid_get_color_name | ( | GdkColor * | color | ) |
Definition at line 159 of file gui-utils.c.
Referenced by config_color_set_cb().
Definition at line 111 of file gui-output-events.c.
References ghid_get_user_xy(), ghid_port, gport, GHidPort::has_entered, GHidPort::pcb_x, and GHidPort::pcb_y.
Referenced by REGISTER_FLAGS().
LibraryMenuType* ghid_get_net_from_node_name | ( | gchar * | name, |
gboolean | |||
) |
Definition at line 889 of file gui-netlist-window.c.
References ggnfnn_task::enabled_only, FALSE, ggnfnn_task::found_net, ghid_netlist_window_create(), gport, hunt_named_node(), ggnfnn_task::iter, net_model, net_treeview, netlist_window, ggnfnn_task::node_name, selection_holdoff, and TRUE.
Referenced by ghid_netlist_highlight_node().
void ghid_get_pointer | ( | gint * | , |
gint * | |||
) |
void ghid_get_user_xy | ( | const gchar * | msg | ) |
void ghid_hand_cursor | ( | void | ) |
Definition at line 131 of file gui-misc.c.
References gport_set_cursor(), and oldCursor.
Referenced by run_get_location_loop().
void ghid_handle_user_command | ( | gboolean | raise | ) |
Definition at line 501 of file gui-command-window.c.
References _, command, ghid_command_entry_get(), ghid_command_window_show(), ghid_set_status_line_label(), ghid_window_set_name_label(), ghidgui, hid_parse_command(), PCBType::Name, PCB, SettingType::SaveLastCommand, Settings, and GhidGui::use_command_window.
Referenced by Command().
void ghid_init_drawing_widget | ( | GtkWidget * | widget, |
GHidPort * | |||
) |
Definition at line 1112 of file gtkhid-gdk.c.
References render_priv::glconfig, GHidPort::render_priv, and TRUE.
Referenced by ghid_build_pcb_top_window(), and ghid_pinout_preview_constructed().
void ghid_init_renderer | ( | int * | , |
char *** | , | ||
GHidPort * | |||
) |
Definition at line 1093 of file gtkhid-gdk.c.
References render_priv::crosshair_gc, hid_st::end_layer, hid_draw_st::fill_pcb_polygon, ghid_end_layer(), ghid_fill_pcb_polygon(), ghid_thindraw_pcb_polygon(), render_priv::glconfig, hid_st::graphics, gui, hid_draw_st::make_gc, GHidPort::render_priv, hid_draw_st::thindraw_pcb_polygon, and render_priv::time_since_expose.
Referenced by ghid_parse_arguments().
void ghid_install_accel_groups | ( | GtkWindow * | window, |
GhidGui * | gui | ||
) |
Install menu bar and accelerator groups.
Definition at line 657 of file gui-top-window.c.
References GHID_LAYER_SELECTOR, ghid_layer_selector_get_accel_group(), GHID_MAIN_MENU, ghid_main_menu_get_accel_group(), GHID_ROUTE_STYLE_SELECTOR, ghid_route_style_selector_get_accel_group(), GhidGui::layer_selector, GhidGui::menu_bar, and GhidGui::route_style_selector.
Referenced by ghid_command_entry_get(), ghid_create_pcb_widgets(), layer_name_edited_cb(), and layer_name_editing_canceled_cb().
void ghid_interface_input_signals_connect | ( | void | ) |
Connect just the signals a g_main_loop() will need.
Cursor and motion events still need to be handled by the top level loop, so don't connect/reconnect these. A g_main_loop will be running when PCB wants the user to select a location or if command entry is needed in the status line hbox. During these times normal button/key presses are intercepted, either by new signal handlers or the command_combo_box entry.
Definition at line 1545 of file gui-top-window.c.
References button_press_handler, button_release_handler, GHidPort::drawing_area, ghid_port_button_press_cb(), ghid_port_button_release_cb(), ghid_port_key_press_cb(), ghid_port_key_release_cb(), ghid_port_window_mouse_scroll_cb(), key_press_handler, key_release_handler, and scroll_event_handler.
Referenced by ghid_build_pcb_top_window(), ghid_command_entry_get(), and run_get_location_loop().
void ghid_interface_input_signals_disconnect | ( | void | ) |
Disconnect just the signals a g_main_loop() will need.
Cursor and motion events still need to be handled by the top level loop, so don't disconnect these. A g_main_loop will be running when PCB wants the user to select a location or if command entry is needed in the status line hbox. During these times normal button/key presses are intercepted, either by new signal handlers or the command_combo_box entry.
Definition at line 1579 of file gui-top-window.c.
References button_press_handler, button_release_handler, GHidPort::drawing_area, key_press_handler, key_release_handler, and scroll_event_handler.
Referenced by ghid_command_entry_get(), and run_get_location_loop().
void ghid_interface_set_sensitive | ( | gboolean | sensitive | ) |
We'll set the interface insensitive when a g_main_loop is running so the Gtk menus and buttons don't respond and interfere with the special entry the user needs to be doing.
Definition at line 1610 of file gui-top-window.c.
References GhidGui::left_toolbar, and GhidGui::menu_hbox.
Referenced by ghid_command_entry_get(), and run_get_location_loop().
void ghid_invalidate_all | ( | ) |
Definition at line 891 of file gtkhid-gdk.c.
References ghid_draw_area_update(), ghid_screen_update(), gport, MAX_ELAPSED, redraw_region(), GHidPort::render_priv, and render_priv::time_since_expose.
Referenced by Benchmark(), config_color_defaults_cb(), config_color_load_cb(), config_color_set_cb(), config_layers_apply(), ghid_cancel_lead_user(), ghid_flip_view(), ghid_invalidate_lr(), ghid_menu_cb(), ghid_notify_crosshair_change(), ghid_notify_mark_change(), ghid_port_button_press_cb(), ghid_port_button_release_cb(), ghid_port_drawing_area_configure_event_cb(), ghid_port_key_release_cb(), ghid_port_ranges_changed(), ghid_port_rotate(), ghid_view_2d(), layer_selector_select_callback(), layer_selector_toggle_callback(), lead_user_cb(), node_selection_changed_cb(), and REGISTER_FLAGS().
Definition at line 864 of file gtkhid-gdk.c.
References ghid_invalidate_all(), ghid_screen_update(), MAX, maxx, maxy, MIN, minx, miny, redraw_region(), Vx(), and Vy().
Referenced by REGISTER_FLAGS().
gboolean ghid_is_modifier_key_sym | ( | gint | ksym | ) |
Definition at line 73 of file gui-utils.c.
Referenced by ghid_port_key_press_cb(), ghid_port_key_release_cb(), and loop_key_press_cb().
void ghid_keyref_window_show | ( | gboolean | raise | ) |
Definition at line 337 of file gui-keyref-window.c.
References _, FALSE, ghid_scrolled_text_view(), ghid_text_view_append(), ghidgui, key_ref_text, keyref_close_cb(), keyref_destroy_cb(), keyref_window, keyref_window_configure_event_cb(), GhidGui::keyref_window_height, GhidGui::keyref_window_width, and TRUE.
void ghid_label_set_markup | ( | GtkWidget * | label, |
const gchar * | text | ||
) |
Definition at line 699 of file gui-utils.c.
Referenced by ghid_cursor_position_label_set_text(), ghid_cursor_position_relative_label_set_text(), and ghid_status_line_set_text().
void ghid_layer_buttons_color_update | ( | void | ) |
Update a layer selector's color scheme.
Definition at line 849 of file gui-top-window.c.
References get_layer_color(), GHID_LAYER_SELECTOR, ghid_layer_selector_update_colors(), GhidGui::layer_selector, PCB, and pcb_colors_from_settings().
Referenced by config_color_defaults_cb(), config_color_load_cb(), and config_color_set_cb().
void ghid_layer_buttons_update | ( | void | ) |
Synchronize layer selector widget with current PCB state.
Called when user toggles layer visibility or changes drawing layer, or when layer visibility is changed programatically.
Definition at line 892 of file gui-top-window.c.
References get_layer_delete(), GHID_LAYER_SELECTOR, ghid_layer_selector_delete_layers(), ghid_layer_selector_select_layer(), GHID_MAIN_MENU, ghid_main_menu_install_layer_selector(), ignore_layer_update, layer, LAYER_BUTTON_RATS, LAYER_BUTTON_SILK, GhidGui::layer_selector, LayerStack, make_layer_buttons(), make_virtual_layer_buttons(), GhidGui::menu_bar, PCB, PCBType::RatDraw, and PCBType::SilkActive.
Referenced by config_layers_apply(), ghid_do_export(), layer_name_entry_cb(), layer_selector_rename_callback(), and LayersChanged().
Definition at line 1414 of file gtkhid-gdk.c.
References ghid_cancel_lead_user(), gport, render_priv::lead_user, lead_user_cb(), LEAD_USER_INITIAL_RADIUS, LEAD_USER_PERIOD, render_priv::lead_user_radius, render_priv::lead_user_timeout, render_priv::lead_user_timer, render_priv::lead_user_x, render_priv::lead_user_y, MM_TO_COORD, GHidPort::render_priv, x, and y.
Referenced by node_selection_changed_cb().
void ghid_library_window_create | ( | GHidPort * | out | ) |
Creates a library dialog.
Definition at line 152 of file gui-library-window.c.
References _, SettingType::AutoPlace, GHID_LIBRARY_WINDOW, GHID_TYPE_LIBRARY_WINDOW, ghidgui, library_window, library_window_callback_response(), library_window_configure_event_cb(), GhidGui::library_window_height, GhidGui::library_window_width, and Settings.
Referenced by ghid_library_window_show().
void ghid_library_window_show | ( | GHidPort * | out, |
gboolean | raise | ||
) |
Show the library dialog.
Definition at line 204 of file gui-library-window.c.
References ghid_library_window_create(), and library_window.
Referenced by DoWindows().
void ghid_log | ( | const char * | fmt, |
... | |||
) |
Definition at line 132 of file gui-log-window.c.
References ghid_logv().
Referenced by REGISTER_FLAGS().
void ghid_log_window_create | ( | ) |
Definition at line 73 of file gui-log-window.c.
References _, SettingType::AutoPlace, FALSE, ghid_scrolled_text_view(), ghidgui, log_close_cb(), log_destroy_cb(), log_text, log_window, log_window_configure_event_cb(), GhidGui::log_window_height, GhidGui::log_window_width, Settings, and TRUE.
Referenced by ghid_log_append_string(), and ghid_log_window_show().
void ghid_log_window_show | ( | gboolean | raise | ) |
Definition at line 113 of file gui-log-window.c.
References ghid_log_window_create(), and log_window.
Referenced by DoWindows(), and ghid_log_append_string().
void ghid_logv | ( | const char * | fmt, |
va_list | args | ||
) |
Definition at line 141 of file gui-log-window.c.
References ghid_log_append_string(), and pcb_vprintf().
Referenced by ghid_log(), and REGISTER_FLAGS().
hidGC ghid_make_gc | ( | void | ) |
Definition at line 154 of file gtkhid-gdk.c.
References hid_gc_struct::alpha_mult, SettingType::BackgroundColor, hid_gc_struct::colorname, hid_gc_struct::me_pointer, and Settings.
Referenced by REGISTER_FLAGS().
void ghid_map_color_string | ( | gchar * | color_string, |
GdkColor * | color | ||
) |
gboolean ghid_mod1_is_pressed | ( | void | ) |
Definition at line 265 of file gtkhid-main.c.
References GHidPort::drawing_area, FALSE, ghid_port, ghidgui, GhidGui::is_up, and TRUE.
Referenced by REGISTER_FLAGS().
void ghid_mode_buttons_update | ( | void | ) |
Definition at line 1059 of file gui-top-window.c.
References ModeButton::button, ModeButton::button_cb_id, ModeButton::mode, SettingType::Mode, n_mode_buttons, Settings, ModeButton::toolbar_button, ModeButton::toolbar_button_cb_id, and TRUE.
Referenced by ghid_create_pcb_widgets(), ghid_idle_cb(), and ghid_menu_cb().
void ghid_mode_cursor | ( | gint | mode | ) |
ModifierKeysState ghid_modifier_keys_state | ( | GdkModifierType * | state | ) |
Definition at line 83 of file gui-utils.c.
References CONTROL_MOD1_PRESSED, CONTROL_PRESSED, GHidPort::drawing_area, ghid_port, MOD1_PRESSED, NONE_PRESSED, SHIFT_CONTROL_MOD1_PRESSED, SHIFT_CONTROL_PRESSED, SHIFT_MOD1_PRESSED, and SHIFT_PRESSED.
Referenced by ghid_port_button_press_cb(), ghid_port_button_release_cb(), ghid_port_key_press_cb(), and ghid_port_window_mouse_scroll_cb().
void ghid_netlist_highlight_node | ( | gchar * | name | ) |
Definition at line 937 of file gui-netlist-window.c.
References FALSE, ghid_get_net_from_node_name(), ggnfnn_task::iter, node_model, node_model_update(), NODE_NAME_COLUMN, node_treeview, selection_holdoff, and TRUE.
Referenced by GhidNetlistShow().
void ghid_netlist_window_create | ( | GHidPort * | out | ) |
Definition at line 695 of file gui-netlist-window.c.
References _, SettingType::AutoPlace, C_, disable_all_button, FALSE, ghid_check_button_connected(), ghid_scrolled_selection(), ghidgui, NET_ENABLED_COLUMN, net_model, net_model_create(), NET_NAME_COLUMN, net_selection_changed_cb(), net_selection_double_click_cb(), net_treeview, netlist_close_cb(), netlist_destroy_cb(), netlist_disable_all_cb(), netlist_find_cb(), netlist_rip_up_cb(), netlist_select_cb(), netlist_window, netlist_window_configure_event_cb(), GhidGui::netlist_window_height, GhidGui::netlist_window_width, NODE_NAME_COLUMN, node_selection_changed_cb(), node_treeview, Settings, and TRUE.
Referenced by ghid_get_net_from_node_name(), ghid_netlist_window_show(), ghid_netlist_window_update(), GhidNetlistShow(), and node_get_node_from_name().
void ghid_netlist_window_show | ( | GHidPort * | out, |
gboolean | raise | ||
) |
Definition at line 836 of file gui-netlist-window.c.
References ghid_netlist_window_create(), ghid_netlist_window_update(), netlist_window, and TRUE.
Referenced by DoWindows(), and GhidNetlistPresent().
void ghid_netlist_window_update | ( | gboolean | init_nodes | ) |
Definition at line 981 of file gui-netlist-window.c.
References ghid_netlist_window_create(), gport, net_model, net_model_create(), NET_NAME_COLUMN, net_treeview, PCBType::NetlistLib, node_model_update(), and PCB.
Referenced by ghid_netlist_window_show(), and GhidNetlistChanged().
gboolean ghid_note_event_location | ( | GdkEventButton * | ev | ) |
Definition at line 123 of file gui-output-events.c.
References AdjustAttachedObjects(), GHidPort::drawing_area, ghid_event_to_pcb_coords(), ghid_port, ghid_set_cursor_position_labels(), gport, MoveCrosshairAbsolute(), notify_crosshair_change(), GHidPort::pcb_x, and GHidPort::pcb_y.
Referenced by ghid_port_button_press_cb(), ghid_port_button_release_cb(), ghid_port_key_press_cb(), ghid_port_key_release_cb(), ghid_port_window_motion_cb(), and loop_button_press_cb().
GtkWidget* ghid_notebook_page | ( | GtkWidget * | tabs, |
const char * | name, | ||
gint | pad, | ||
gint | border | ||
) |
Definition at line 620 of file gui-utils.c.
References FALSE.
Referenced by config_layers_tab_create(), and ghid_framed_notebook_page().
void ghid_notify_crosshair_change | ( | bool | changes_complete | ) |
Definition at line 898 of file gtkhid-gdk.c.
References render_priv::attached_invalidate_depth, render_priv::crosshair_gc, DrawAttached(), GHidPort::drawing_area, ghid_draw_area_update(), ghid_invalidate_all(), gport, and GHidPort::render_priv.
Referenced by REGISTER_FLAGS().
void ghid_notify_filename_changed | ( | void | ) |
Definition at line 455 of file gui-top-window.c.
References update_board_mtime_from_disk().
Referenced by REGISTER_FLAGS().
void ghid_notify_mark_change | ( | bool | changes_complete | ) |
Definition at line 936 of file gtkhid-gdk.c.
References render_priv::crosshair_gc, GHidPort::drawing_area, DrawMark(), ghid_draw_area_update(), ghid_invalidate_all(), gport, render_priv::mark_invalidate_depth, and GHidPort::render_priv.
Referenced by REGISTER_FLAGS().
void ghid_notify_save_pcb | ( | const char * | file, |
bool | done | ||
) |
Definition at line 443 of file gui-top-window.c.
References PCBType::Filename, PCB, and update_board_mtime_from_disk().
Referenced by REGISTER_FLAGS().
void ghid_pack_mode_buttons | ( | void | ) |
Definition at line 1082 of file gui-top-window.c.
References GhidGui::compact_vertical, GhidGui::mode_buttons_frame, and GhidGui::mode_toolbar.
Referenced by config_compact_vertical_toggle_cb(), and ghid_build_pcb_top_window().
Definition at line 54 of file gtkhid-main.c.
References gport, pan_common(), GHidPort::view, view_data::x0, and view_data::y0.
Referenced by ghid_port_window_motion_cb(), and ScrollAction().
void ghid_parse_arguments | ( | gint * | argc, |
gchar *** | argv | ||
) |
void ghid_pcb_saved_toggle_states_set | ( | void | ) |
Definition at line 1322 of file gtkhid-gdk.c.
References DRAW_X, DRAW_Y, and last_modelview_matrix.
Referenced by Center(), ghid_flip_view(), and ghid_set_crosshair().
gboolean ghid_pinout_preview_expose | ( | GtkWidget * | widget, |
GdkEventExpose * | ev | ||
) |
Definition at line 1176 of file gtkhid-gdk.c.
References GHidPort::bg_color, render_priv::bg_gc, buffer, view_data::coord_per_px, GHidPort::drawable, _GhidPinoutPreview::element, f, FALSE, view_data::flip_x, view_data::flip_y, ghid_end_drawing(), ghid_invalidate_current_gc(), GHID_PINOUT_PREVIEW, ghid_start_drawing(), gport, view_data::height, GHidPort::height, hid_expose_callback(), hidgl_finish_render(), hidgl_flush_triangles(), hidgl_reset_stencil_usage(), hidgl_start_render(), PCBType::MaxHeight, PCBType::MaxWidth, PCB, pinout, GHidPort::render_priv, TRUE, GHidPort::view, view_data::width, GHidPort::width, window, view_data::x0, _GhidPinoutPreview::x_max, view_data::y0, _GhidPinoutPreview::y_max, and Z_NEAR.
Referenced by ghid_pinout_preview_class_init().
void ghid_pinout_window_show | ( | GHidPort * | out, |
ElementType * | Element | ||
) |
Definition at line 58 of file gui-pinout-window.c.
References SettingType::AutoPlace, DESCRIPTION_NAME, FALSE, GHID_PINOUT_PREVIEW, ghid_pinout_preview_get_natural_size(), ghid_pinout_preview_new(), NAMEONPCB_NAME, pinout_close_cb(), Settings, TRUE, UNKNOWN, and VALUE_NAME.
Referenced by ghid_show_item().
void ghid_point_cursor | ( | void | ) |
Definition at line 125 of file gui-misc.c.
References gport_set_cursor(), and oldCursor.
Referenced by PointCursor().
gboolean ghid_port_button_press_cb | ( | GtkWidget * | drawing_area, |
GdkEventButton * | ev, | ||
gpointer | data | ||
) |
Definition at line 301 of file gui-output-events.c.
References do_mouse_action(), ghid_idle_cb(), ghid_invalidate_all(), ghid_modifier_keys_state(), ghid_note_event_location(), ghid_set_status_line_label(), ghid_window_set_name_label(), gport, PCBType::Name, GHidPort::panning, PCB, and TRUE.
Referenced by ghid_interface_input_signals_connect().
gboolean ghid_port_button_release_cb | ( | GtkWidget * | drawing_area, |
GdkEventButton * | ev, | ||
gpointer | data | ||
) |
Definition at line 326 of file gui-output-events.c.
References AdjustAttachedObjects(), do_mouse_action(), ghid_idle_cb(), ghid_invalidate_all(), ghid_modifier_keys_state(), ghid_note_event_location(), ghid_set_status_line_label(), ghid_window_set_name_label(), M_Release, PCBType::Name, PCB, and TRUE.
Referenced by ghid_interface_input_signals_connect().
gint ghid_port_drawing_area_configure_event_cb | ( | GtkWidget * | widget, |
GdkEventConfigure * | ev, | ||
GHidPort * | out | ||
) |
Definition at line 349 of file gui-output-events.c.
References SettingType::BackgroundColor, GHidPort::bg_color, GHidPort::colormap, GHidPort::drawable, ghid_drawing_area_configure_hook(), ghid_invalidate_all(), ghid_port_ranges_scale(), gport, GHidPort::height, SettingType::OffLimitColor, GHidPort::offlimits_color, PCBChanged(), GHidPort::pixmap, Settings, GHidPort::top_window, TRUE, and GHidPort::width.
Referenced by ghid_build_pcb_top_window().
void ghid_port_drawing_realize_cb | ( | GtkWidget * | , |
gpointer | |||
) |
Definition at line 1171 of file gtkhid-gdk.c.
Referenced by ghid_build_pcb_top_window().
gboolean ghid_port_key_press_cb | ( | GtkWidget * | drawing_area, |
GdkEventKey * | kev, | ||
gpointer | data | ||
) |
Definition at line 194 of file gui-output-events.c.
References CONTROL_PRESSED, FALSE, ghid_hotkey_cb(), ghid_is_modifier_key_sym(), GHID_KEY_ALT, GHID_KEY_CONTROL, GHID_KEY_DOWN, GHID_KEY_LEFT, GHID_KEY_RIGHT, GHID_KEY_SHIFT, GHID_KEY_TAB, GHID_KEY_UP, ghid_modifier_keys_state(), ghid_note_event_location(), MOD1_PRESSED, NONE_PRESSED, SHIFT_CONTROL_PRESSED, SHIFT_MOD1_PRESSED, SHIFT_PRESSED, and TRUE.
Referenced by ghid_interface_input_signals_connect().
gboolean ghid_port_key_release_cb | ( | GtkWidget * | drawing_area, |
GdkEventKey * | kev, | ||
gpointer | data | ||
) |
Definition at line 168 of file gui-output-events.c.
References AdjustAttachedObjects(), FALSE, ghid_idle_cb(), ghid_invalidate_all(), ghid_is_modifier_key_sym(), and ghid_note_event_location().
Referenced by ghid_interface_input_signals_connect().
void ghid_port_ranges_changed | ( | void | ) |
Definition at line 56 of file gui-output-events.c.
References ghid_invalidate_all(), ghidgui, gport, GhidGui::h_range, GhidGui::v_range, GHidPort::view, view_data::x0, and view_data::y0.
Referenced by h_adjustment_changed_cb(), pan_common(), and v_adjustment_changed_cb().
void ghid_port_ranges_scale | ( | void | ) |
Definition at line 72 of file gui-output-events.c.
References view_data::coord_per_px, ghidgui, gport, GhidGui::h_range, GHidPort::height, view_data::height, PCBType::MaxHeight, PCBType::MaxWidth, MIN, PCB, GhidGui::v_range, GHidPort::view, GHidPort::width, and view_data::width.
Referenced by ghid_port_drawing_area_configure_event_cb(), ghid_zoom_view_abs(), and PCBChanged().
void ghid_port_rotate | ( | void * | ball, |
float * | quarternion, | ||
gpointer | userdata | ||
) |
Definition at line 1571 of file gtkhid-gl.c.
References build_rotmatrix(), ghid_invalidate_all(), and view_matrix.
Referenced by ghid_build_pcb_top_window().
gint ghid_port_window_enter_cb | ( | GtkWidget * | widget, |
GdkEventCrossing * | ev, | ||
GHidPort * | out | ||
) |
Definition at line 537 of file gui-output-events.c.
References GhidGui::command_entry_status_line_active, GHidPort::drawing_area, FALSE, ghid_screen_update(), ghidgui, GHidPort::has_entered, GhidGui::in_popup, and TRUE.
Referenced by ghid_build_pcb_top_window().
gint ghid_port_window_leave_cb | ( | GtkWidget * | widget, |
GdkEventCrossing * | ev, | ||
GHidPort * | out | ||
) |
Definition at line 570 of file gui-output-events.c.
References FALSE, ghid_screen_update(), and GHidPort::has_entered.
Referenced by ghid_build_pcb_top_window().
gint ghid_port_window_motion_cb | ( | GtkWidget * | widget, |
GdkEventMotion * | ev, | ||
GHidPort * | out | ||
) |
Definition at line 510 of file gui-output-events.c.
References view_data::coord_per_px, FALSE, ghid_note_event_location(), ghid_pan_view_rel(), gport, GHidPort::panning, queue_tooltip_update(), and GHidPort::view.
Referenced by ghid_build_pcb_top_window().
gint ghid_port_window_mouse_scroll_cb | ( | GtkWidget * | widget, |
GdkEventScroll * | ev, | ||
GHidPort * | out | ||
) |
Definition at line 598 of file gui-output-events.c.
References do_mouse_action(), ghid_modifier_keys_state(), and TRUE.
Referenced by ghid_interface_input_signals_connect().
void ghid_range_control | ( | GtkWidget * | box, |
GtkWidget ** | scale_res, | ||
gboolean | horizontal, | ||
GtkPositionType | pos, | ||
gboolean | set_draw_value, | ||
gint | digits, | ||
gboolean | pack_start, | ||
gboolean | expand, | ||
gboolean | fill, | ||
guint | pad, | ||
gfloat | value, | ||
gfloat | low, | ||
gfloat | high, | ||
gfloat | step0, | ||
gfloat | step1, | ||
void(*)() | cb_func, | ||
gpointer | data | ||
) |
Definition at line 458 of file gui-utils.c.
References scale.
void ghid_remove_accel_groups | ( | GtkWindow * | window, |
GhidGui * | gui | ||
) |
Remove menu bar and accelerator groups.
Definition at line 674 of file gui-top-window.c.
References GHID_LAYER_SELECTOR, ghid_layer_selector_get_accel_group(), GHID_MAIN_MENU, ghid_main_menu_get_accel_group(), GHID_ROUTE_STYLE_SELECTOR, ghid_route_style_selector_get_accel_group(), GhidGui::layer_selector, GhidGui::menu_bar, and GhidGui::route_style_selector.
Referenced by ghid_command_entry_get(), and layer_name_editing_started_cb().
GdkPixmap* ghid_render_pixmap | ( | int | cx, |
int | cy, | ||
double | zoom, | ||
int | width, | ||
int | height, | ||
int | depth | ||
) |
Definition at line 1235 of file gtkhid-gdk.c.
References GHidPort::bg_color, render_priv::bg_gc, buffer, view_data::coord_per_px, cx, cy, GHidPort::drawable, f, view_data::flip_x, view_data::flip_y, ghid_invalidate_current_gc(), gport, view_data::height, GHidPort::height, hid_expose_callback(), hidgl_finish_render(), hidgl_flush_triangles(), hidgl_reset_stencil_usage(), hidgl_start_render(), render_priv::in_context, MAX, PCBType::MaxHeight, PCBType::MaxWidth, MIN, PCB, pixmap, Px(), Py(), region, GHidPort::render_priv, TRUE, GHidPort::view, view_data::width, GHidPort::width, view_data::x0, BoxType::X1, BoxType::X2, view_data::y0, BoxType::Y1, BoxType::Y2, and Z_NEAR.
Referenced by ghid_violation_renderer_render().
HID_DRAW* ghid_request_debug_draw | ( | void | ) |
Definition at line 1290 of file gtkhid-gdk.c.
References view_data::coord_per_px, GHidPort::drawing_area, f, view_data::flip_x, view_data::flip_y, ghid_invalidate_current_gc(), ghid_start_drawing(), gport, hid_st::graphics, hidgl_start_render(), PCBType::MaxHeight, PCBType::MaxWidth, PCB, GHidPort::view, view_data::x0, view_data::y0, and Z_NEAR.
Referenced by REGISTER_FLAGS().
void ghid_restore_cursor | ( | void | ) |
Definition at line 233 of file gui-misc.c.
References gport_set_cursor(), and oldCursor.
Referenced by run_get_location_loop().
void ghid_screen_update | ( | void | ) |
Definition at line 1142 of file gtkhid-gdk.c.
References render_priv::bg_gc, draw_crosshair(), GHidPort::drawing_area, gport, GHidPort::height, GHidPort::pixmap, GHidPort::render_priv, GHidPort::width, and window.
Referenced by ghid_flush_debug_draw(), ghid_invalidate_all(), ghid_invalidate_lr(), ghid_port_window_enter_cb(), and ghid_port_window_leave_cb().
GtkTreeSelection* ghid_scrolled_selection | ( | GtkTreeView * | treeview, |
GtkWidget * | box, | ||
GtkSelectionMode | s_mode, | ||
GtkPolicyType | h_policy, | ||
GtkPolicyType | v_policy, | ||
void(*)(GtkTreeSelection *, gpointer) | func_cb, | ||
gpointer | data | ||
) |
Definition at line 595 of file gui-utils.c.
References TRUE.
Referenced by ghid_netlist_window_create().
GtkWidget* ghid_scrolled_text_view | ( | GtkWidget * | box, |
GtkWidget ** | scr, | ||
GtkPolicyType | h_policy, | ||
GtkPolicyType | v_policy | ||
) |
Definition at line 801 of file gui-utils.c.
References buffer, FALSE, and TRUE.
Referenced by config_layers_tab_create(), ghid_command_window_show(), ghid_keyref_window_show(), and ghid_log_window_create().
GtkWidget* ghid_scrolled_vbox | ( | GtkWidget * | box, |
GtkWidget ** | scr, | ||
GtkPolicyType | h_policy, | ||
GtkPolicyType | v_policy | ||
) |
Definition at line 499 of file gui-utils.c.
Referenced by config_colors_tab_create(), ghid_build_pcb_top_window(), and ghid_dialog_report().
void ghid_set_color | ( | hidGC | gc, |
const char * | name | ||
) |
Definition at line 411 of file gtkhid-gdk.c.
References __FUNCTION__, GHidPort::bg_color, GHidPort::colormap, hid_gc_struct::colorname, hid_gc_struct::gc, gport, hid_cache_color(), malloc(), GHidPort::offlimits_color, hidval::ptr, set_gl_color_for_gc(), GHidPort::top_window, and hid_gc_struct::xor_mask.
Referenced by ghid_set_draw_xor(), REGISTER_FLAGS(), and use_gc().
void ghid_set_cursor_position_labels | ( | void | ) |
Definition at line 440 of file gui-misc.c.
References _, unit::allow, Crosshair, Distance(), ghid_cursor_position_label_set_text(), ghid_cursor_position_relative_label_set_text(), SettingType::grid_unit, Marked, pcb_g_strdup_printf(), RAD_TO_DEG, Settings, MarkType::status, MarkType::X, CrosshairType::X, MarkType::Y, and CrosshairType::Y.
Referenced by ghid_config_handle_units_changed(), ghid_note_event_location(), and ghid_set_crosshair().
void ghid_set_draw_xor | ( | hidGC | gc, |
int | _xor | ||
) |
Definition at line 514 of file gtkhid-gdk.c.
References hid_gc_struct::colorname, hid_gc_struct::gc, ghid_set_color(), and hid_gc_struct::xor_mask.
Referenced by REGISTER_FLAGS(), and use_gc().
int ghid_set_layer | ( | const char * | name, |
int | group, | ||
int | empty | ||
) |
Definition at line 101 of file gtkhid-gdk.c.
References PCBType::Data, PCBType::ElementOn, end_subcomposite(), LayerGroupType::Entries, gport, PCBType::InvisibleObjectsOn, DataType::Layer, PCBType::LayerGroups, max_copper_layer, max_group, n, LayerGroupType::Number, LayerType::On, PCB, PCBType::RatOn, GHidPort::render_priv, SILK_LAYER, SL_ASSY, SL_INVISIBLE, SL_MASK, SL_MYSIDE, SL_PDRILL, SL_RATS, SL_SILK, SL_TYPE, SL_UDRILL, start_subcomposite(), TEST_FLAG, and render_priv::trans_lines.
Referenced by REGISTER_FLAGS().
void ghid_set_line_cap | ( | hidGC | gc, |
EndCapStyle | style | ||
) |
Definition at line 478 of file gtkhid-gdk.c.
References Beveled_Cap, hid_gc_struct::cap, hid_gc_struct::gc, gport, hid_gc_struct::join, GHidPort::render_priv, Round_Cap, Square_Cap, style, Trace_Cap, Vz(), WHICH_GC, and hid_gc_struct::width.
Referenced by REGISTER_FLAGS(), and use_gc().
Definition at line 502 of file gtkhid-gdk.c.
References hid_gc_struct::cap, hid_gc_struct::gc, gport, hid_gc_struct::join, GHidPort::render_priv, Vz(), WHICH_GC, and hid_gc_struct::width.
Referenced by REGISTER_FLAGS(), and use_gc().
void ghid_set_status_line_label | ( | void | ) |
Definition at line 403 of file gui-misc.c.
References _, unit::allow, SettingType::BufferNumber, C_, PCBType::Clipping, GhidGui::compact_horizontal, ghid_status_line_set_text(), ghidgui, PCBType::Grid, SettingType::grid_unit, SettingType::Keepaway, SettingType::LineThickness, PCB, pcb_g_strdup_printf(), Settings, SettingType::ShowBottomSide, TEST_FLAG, SettingType::TextScale, SettingType::ViaDrillingHole, and SettingType::ViaThickness.
Referenced by config_compact_horizontal_toggle_cb(), ghid_handle_user_command(), ghid_menu_cb(), ghid_port_button_press_cb(), ghid_port_button_release_cb(), ghid_sync_with_new_layout(), ghid_zoom_view_abs(), route_style_changed_cb(), run_get_location_loop(), SetUnits(), and text_spin_button_cb().
gboolean ghid_shift_is_pressed | ( | void | ) |
Definition at line 237 of file gtkhid-main.c.
References GHidPort::drawing_area, FALSE, ghid_port, ghidgui, GhidGui::is_up, and TRUE.
Referenced by ghid_mode_cursor(), and REGISTER_FLAGS().
void ghid_shutdown_renderer | ( | GHidPort * | ) |
Definition at line 1101 of file gtkhid-gdk.c.
References render_priv::crosshair_gc, hid_draw_st::destroy_gc, ghid_cancel_lead_user(), hid_st::graphics, gui, and GHidPort::render_priv.
Referenced by destroy_chart_cb().
void ghid_spin_button | ( | GtkWidget * | box, |
GtkWidget ** | spin_button, | ||
gfloat | value, | ||
gfloat | low, | ||
gfloat | high, | ||
gfloat | step0, | ||
gfloat | step1, | ||
gint | digits, | ||
gint | width, | ||
void(*)(GtkSpinButton *, gpointer) | cb_func, | ||
gpointer | data, | ||
gboolean | right_align, | ||
gchar * | string | ||
) |
Definition at line 300 of file gui-utils.c.
Referenced by config_general_tab_create(), and ghid_attribute_dialog().
void ghid_status_line_set_text | ( | const gchar * | text | ) |
Definition at line 59 of file gui-misc.c.
References GhidGui::command_entry_status_line_active, ghid_label_set_markup(), ghidgui, and GhidGui::status_line_label.
Referenced by ghid_command_entry_get(), ghid_set_status_line_label(), and run_get_location_loop().
void ghid_sync_with_new_layout | ( | void | ) |
Sync toggle states that were saved with the layout and notify the config code to update Settings values it manages.
Definition at line 427 of file gui-top-window.c.
References close_file_modified_externally_prompt(), ghid_config_handle_units_changed(), GHID_ROUTE_STYLE_SELECTOR, ghid_route_style_selector_select_style(), ghid_set_status_line_label(), ghid_window_set_name_label(), PCBType::Name, PCB, pcb_use_route_style(), GhidGui::route_style_selector, PCBType::RouteStyle, and update_board_mtime_from_disk().
Referenced by PCBChanged().
void ghid_table_coord_entry | ( | GtkWidget * | table, |
gint | row, | ||
gint | column, | ||
GtkWidget ** | coord_entry, | ||
Coord | value, | ||
Coord | low, | ||
Coord | high, | ||
enum | ce_step_size, | ||
gint | width, | ||
void(*)(GHidCoordEntry *, gpointer) | cb_func, | ||
gpointer | data, | ||
gboolean | right_align, | ||
gchar * | string | ||
) |
Definition at line 349 of file gui-utils.c.
References GHID_COORD_ENTRY, ghid_coord_entry_new(), SettingType::grid_unit, and Settings.
Referenced by config_sizes_tab_create().
void ghid_table_spin_button | ( | GtkWidget * | box, |
gint | row, | ||
gint | column, | ||
GtkWidget ** | spin_button, | ||
gfloat | value, | ||
gfloat | low, | ||
gfloat | high, | ||
gfloat | step0, | ||
gfloat | step1, | ||
gint | digits, | ||
gint | width, | ||
void(*)(GtkSpinButton *, gpointer) | cb_func, | ||
gpointer | data, | ||
gboolean | right_align, | ||
gchar * | string | ||
) |
Definition at line 401 of file gui-utils.c.
References TRUE.
Referenced by config_sizes_tab_create().
void ghid_text_view_append | ( | GtkWidget * | view, |
gchar * | string | ||
) |
Definition at line 742 of file gui-utils.c.
References s, and text_view_append().
Referenced by config_layers_tab_create(), ghid_command_window_show(), ghid_keyref_window_show(), and ghid_log_append_string().
void ghid_text_view_append_strings | ( | GtkWidget * | view, |
gchar ** | string, | ||
gint | n_strings | ||
) |
Definition at line 768 of file gui-utils.c.
References _, s, and text_view_append().
void ghid_update_toggle_flags | ( | void | ) |
sync the menu checkboxes with actual pcb state.
Definition at line 162 of file gui-top-window.c.
References GHID_MAIN_MENU, ghid_main_menu_update_toggle_state(), GhidGui::menu_bar, and menu_toggle_update_cb().
Referenced by ghid_create_pcb_widgets(), ghid_idle_cb(), and ghid_menu_cb().
void ghid_use_mask | ( | enum mask_mode | mode | ) |
Definition at line 304 of file gtkhid-gdk.c.
References buffer, cur_mask, GHidPort::drawable, gport, GHidPort::height, HID_MASK_AFTER, HID_MASK_BEFORE, HID_MASK_CLEAR, HID_MASK_OFF, hidgl_assign_clear_stencil_bit(), hidgl_flush_triangles(), hidgl_return_stencil_bit(), GHidPort::mask, render_priv::mask_gc, mask_seq, GHidPort::pixmap, GHidPort::render_priv, set_clip(), TRUE, and GHidPort::width.
Referenced by REGISTER_FLAGS().
void ghid_view_2d | ( | void * | ball, |
gboolean | view_2d, | ||
gpointer | userdata | ||
) |
Definition at line 1564 of file gtkhid-gl.c.
References ghid_invalidate_all(), and global_view_2d.
Referenced by ghid_build_pcb_top_window().
void ghid_watch_cursor | ( | void | ) |
Definition at line 137 of file gui-misc.c.
References gport_set_cursor(), and oldCursor.
Referenced by Busy().
void ghid_window_set_name_label | ( | gchar * | name | ) |
Refreshes the window title bar and sets the PCB name to the window title bar or to a seperate label.
Definition at line 692 of file gui-top-window.c.
References _, PCBType::Changed, dup_string(), PCBType::Filename, filename, GhidGui::name_label_string, PCB, and GHidPort::top_window.
Referenced by ghid_handle_user_command(), ghid_menu_cb(), ghid_port_button_press_cb(), ghid_port_button_release_cb(), ghid_sync_with_new_layout(), layer_selector_rename_callback(), and PCBChanged().
void layer_process | ( | gchar ** | color_string, |
char ** | text, | ||
int * | set, | ||
int | i | ||
) |
Takes the index into the layers and produces the text string for the layer and if the layer is currently visible or not.
This is used by a couple of functions.
Definition at line 469 of file gui-top-window.c.
References _, bottom_silk_layer, PCBType::Data, SettingType::ElementColor, PCBType::ElementOn, SettingType::InvisibleObjectsColor, PCBType::InvisibleObjectsOn, DataType::Layer, LAYER_BUTTON_FARSIDE, LAYER_BUTTON_MASK, LAYER_BUTTON_PINS, LAYER_BUTTON_RATS, LAYER_BUTTON_SILK, LAYER_BUTTON_VIAS, SettingType::LayerColor, SettingType::MaskColor, LayerType::Name, LayerType::On, PCB, SettingType::PinColor, PCBType::PinOn, SettingType::RatColor, PCBType::RatOn, Settings, SettingType::ShowBottomSide, TEST_FLAG, top_silk_layer, UNKNOWN, SettingType::ViaColor, and PCBType::ViaOn.
Referenced by get_layer_color(), get_layer_visible_cb(), layer_selector_toggle_callback(), make_layer_buttons(), make_virtual_layer_buttons(), and SwapSides().
void make_route_style_buttons | ( | GHidRouteStyleSelector * | rss | ) |
Configure the route style selector.
Definition at line 954 of file gui-top-window.c.
References GHID_MAIN_MENU, ghid_main_menu_install_route_style_selector(), GHID_ROUTE_STYLE_SELECTOR, ghid_route_style_selector_add_route_style(), GhidGui::menu_bar, PCB, route_style_changed_cb(), GhidGui::route_style_selector, route_styles_edited_cb(), and PCBType::RouteStyle.
Referenced by ghid_build_pcb_top_window(), and PCBChanged().
Definition at line 1210 of file gtkhid-main.c.
References crosshair_update_range(), ghid_port_ranges_scale(), GHID_ROUTE_STYLE_SELECTOR, ghid_route_style_selector_empty(), ghid_sync_with_new_layout(), ghid_window_set_name_label(), ghid_zoom_view_fit(), ghidgui, gport, make_route_style_buttons(), PCBType::Name, PCB, GHidPort::pixmap, GhidGui::route_style_selector, and RouteStylesChanged().
static Coord Px | ( | int | x | ) | [inline, static] |
Definition at line 567 of file gui.h.
References view_data::coord_per_px, view_data::flip_x, PCBType::MaxWidth, PCB, GHidPort::view, and view_data::x0.
Referenced by find_pair(), ghid_render_pixmap(), and redraw_region().
static Coord Py | ( | int | y | ) | [inline, static] |
Definition at line 576 of file gui.h.
References view_data::coord_per_px, view_data::flip_y, PCBType::MaxHeight, PCB, GHidPort::view, and view_data::y0.
Referenced by find_pair(), ghid_render_pixmap(), and redraw_region().
static Coord Pz | ( | int | z | ) | [inline, static] |
Definition at line 585 of file gui.h.
References view_data::coord_per_px, and GHidPort::view.
static int Vx | ( | Coord | x | ) | [inline, static] |
Definition at line 539 of file gui.h.
References view_data::coord_per_px, view_data::flip_x, PCBType::MaxWidth, PCB, GHidPort::view, and view_data::x0.
Referenced by Center(), draw_lead_user(), ghid_draw_arc(), ghid_draw_grid(), ghid_draw_line(), ghid_draw_rect(), ghid_fill_circle(), ghid_fill_polygon(), ghid_fill_rect(), ghid_invalidate_lr(), idle_proc(), lesstif_draw_arc(), lesstif_draw_grid(), lesstif_draw_line(), lesstif_draw_rect(), lesstif_fill_circle(), lesstif_fill_polygon(), lesstif_fill_rect(), lesstif_set_crosshair(), lesstif_show_crosshair(), PanAction(), redraw_region(), and ZoomAction().
static int Vy | ( | Coord | y | ) | [inline, static] |
Definition at line 550 of file gui.h.
References view_data::coord_per_px, view_data::flip_y, PCBType::MaxHeight, PCB, GHidPort::view, and view_data::y0.
Referenced by draw_lead_user(), ghid_draw_arc(), ghid_draw_grid(), ghid_draw_line(), ghid_draw_rect(), ghid_fill_circle(), ghid_fill_polygon(), ghid_fill_rect(), ghid_invalidate_lr(), and redraw_region().
static int Vz | ( | Coord | z | ) | [inline, static] |
Definition at line 561 of file gui.h.
References view_data::coord_per_px, and GHidPort::view.
Referenced by draw_lead_user(), ghid_draw_arc(), ghid_draw_grid(), ghid_fill_circle(), ghid_set_line_cap(), and ghid_set_line_width().
Definition at line 128 of file gui-top-window.c.
Referenced by ghid_config_files_read().
Definition at line 130 of file gui-top-window.c.
Referenced by ghid_attribute_dialog(), ghid_attributes(), ghid_build_pcb_top_window(), ghid_button_state(), ghid_command_entry_get(), ghid_confirm_dialog(), ghid_control_is_pressed(), ghid_create_pcb_widgets(), ghid_dialog_about(), ghid_dialog_close_confirm(), ghid_dialog_confirm(), ghid_dialog_confirm_all(), ghid_dialog_export(), ghid_dialog_file_select_multiple(), ghid_dialog_file_select_open(), ghid_dialog_file_select_save(), ghid_dialog_input(), ghid_dialog_message(), ghid_dialog_report(), ghid_fileselect(), ghid_get_coords(), ghid_map_color_string(), ghid_mod1_is_pressed(), ghid_modifier_keys_state(), ghid_note_event_location(), ghid_parse_arguments(), ghid_shift_is_pressed(), ghid_show_item(), and Popup().
Definition at line 128 of file gui-top-window.c.
Referenced by command_combo_box_entry_create(), command_entry_activate_cb(), command_history_add(), command_window_disconnect_combobox(), config_backup_spin_button_cb(), config_color_defaults_cb(), config_color_load_cb(), config_color_save_cb(), config_command_window_toggle_cb(), config_compact_horizontal_toggle_cb(), config_compact_vertical_toggle_cb(), config_general_tab_create(), config_general_toggle_cb(), config_history_spin_button_cb(), config_layer_groups_radio_button_cb(), config_layers_apply(), config_library_apply(), config_sizes_apply(), coord_entry_cb(), draw_crosshair(), drc_window_configure_event_cb(), ghid_command_entry_get(), ghid_command_use_command_window_sync(), ghid_command_window_show(), ghid_config_files_read(), ghid_config_files_write(), ghid_config_handle_units_changed(), ghid_config_init(), ghid_control_is_pressed(), ghid_cursor_position_label_set_text(), ghid_cursor_position_relative_label_set_text(), ghid_draw_bg_image(), ghid_drc_window_show(), ghid_handle_user_command(), ghid_idle_cb(), ghid_keyref_window_show(), ghid_library_window_create(), ghid_log_window_create(), ghid_mod1_is_pressed(), ghid_netlist_window_create(), ghid_notify_gui_is_up(), ghid_port_ranges_changed(), ghid_port_ranges_scale(), ghid_port_window_enter_cb(), ghid_set_status_line_label(), ghid_shift_is_pressed(), ghid_status_line_set_text(), GhidNetlistChanged(), increment_spin_button_cb(), keyref_window_configure_event_cb(), layer_name_edited_cb(), layer_name_editing_canceled_cb(), layer_name_editing_started_cb(), library_window_configure_event_cb(), log_window_configure_event_cb(), netlist_window_configure_event_cb(), pan_common(), PanAction(), PCBChanged(), PointCursor(), Popup(), RouteStylesChanged(), ScrollAction(), and text_spin_button_cb().
Definition at line 130 of file gui-top-window.c.
Referenced by Benchmark(), Center(), CursorAction(), DoWindows(), draw_crosshair(), draw_dozen_cross(), draw_lead_user(), draw_right_cross(), draw_slanted_cross(), end_subcomposite(), flag_flipy(), ghid_cancel_lead_user(), ghid_command_entry_get(), ghid_corner_cursor(), ghid_draw_arc(), ghid_draw_bg_image(), ghid_draw_grid(), ghid_draw_line(), ghid_draw_rect(), ghid_drawing_area_expose_cb(), ghid_fill_circle(), ghid_fill_pcb_polygon(), ghid_fill_polygon(), ghid_fill_rect(), ghid_finish_debug_draw(), ghid_flip_view(), ghid_flush_debug_draw(), ghid_get_coords(), ghid_get_net_from_node_name(), ghid_get_pointer(), ghid_invalidate_all(), ghid_lead_user_to_location(), ghid_netlist_window_update(), ghid_note_event_location(), ghid_notify_crosshair_change(), ghid_notify_mark_change(), ghid_pan_view_abs(), ghid_pan_view_rel(), ghid_pinout_preview_constructed(), ghid_pinout_preview_expose(), ghid_port_button_press_cb(), ghid_port_drawing_area_configure_event_cb(), ghid_port_ranges_changed(), ghid_port_ranges_scale(), ghid_port_window_motion_cb(), ghid_render_pixmap(), ghid_request_debug_draw(), ghid_screen_update(), ghid_set_color(), ghid_set_crosshair(), ghid_set_layer(), ghid_set_line_cap(), ghid_set_line_width(), ghid_set_special_colors(), ghid_use_mask(), ghid_zoom_view_abs(), ghid_zoom_view_fit(), ghid_zoom_view_rel(), GhidNetlistPresent(), GhidNetlistShow(), gport_set_cursor(), layer_name_edited_cb(), layer_name_editing_canceled_cb(), layer_name_editing_started_cb(), make_progress_dialog(), node_get_node_from_name(), PanAction(), PCBChanged(), redraw_region(), REGISTER_ACTIONS(), row_activated_cb(), run_get_location_loop(), ScrollAction(), set_gl_color_for_gc(), set_special_grid_color(), start_subcomposite(), SwapSides(), and use_gc().
GdkPixmap * XC_clock_mask |
Definition at line 52 of file gui-misc.c.
Referenced by ghid_init_icons(), and gport_set_cursor().
GdkPixmap* XC_clock_source |
Definition at line 52 of file gui-misc.c.
Referenced by ghid_init_icons(), and gport_set_cursor().
GdkPixmap * XC_hand_mask |
Definition at line 52 of file gui-misc.c.
Referenced by ghid_init_icons(), and gport_set_cursor().
GdkPixmap* XC_hand_source |
Definition at line 52 of file gui-misc.c.
Referenced by ghid_init_icons(), and gport_set_cursor().
GdkPixmap * XC_lock_mask |
Definition at line 52 of file gui-misc.c.
Referenced by ghid_init_icons(), and gport_set_cursor().
GdkPixmap* XC_lock_source |
Definition at line 52 of file gui-misc.c.
Referenced by ghid_init_icons(), and gport_set_cursor().