gschem
|
Go to the source code of this file.
Typedefs | |
typedef void(* | gschem_atexit_func )(gpointer data) |
Functions | |
GSCHEM_TOPLEVEL * | gschem_toplevel_new () |
void | gschem_toplevel_alloc_libgeda_toplevel (GSCHEM_TOPLEVEL *w_current) |
void | a_pan_general (GSCHEM_TOPLEVEL *w_current, double world_cx, double world_cy, double relativ_zoom_factor, int flags) |
void | a_pan (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | a_pan_mouse (GSCHEM_TOPLEVEL *w_current, int diff_x, int diff_y) |
void | a_zoom (GSCHEM_TOPLEVEL *w_current, int dir, int selected_from, int pan_flags) |
void | a_zoom_extents (GSCHEM_TOPLEVEL *w_current, const GList *list, int pan_flags) |
void | a_zoom_box (GSCHEM_TOPLEVEL *w_current, int pan_flags) |
void | a_zoom_box_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | a_zoom_box_end (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | a_zoom_box_motion (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | a_zoom_box_invalidate_rubber (GSCHEM_TOPLEVEL *w_current) |
void | a_zoom_box_draw_rubber (GSCHEM_TOPLEVEL *w_current) |
void | correct_aspect (GSCHEM_TOPLEVEL *w_current) |
void | g_init_attrib () |
Initialise the gschem attribute procedures. | |
SCM | g_funcs_print (SCM filename) |
SCM | g_funcs_postscript (SCM filename) |
SCM | g_funcs_image (SCM filename) |
SCM | g_funcs_exit (void) |
SCM | g_funcs_log (SCM msg) |
SCM | g_funcs_msg (SCM msg) |
SCM | g_funcs_confirm (SCM msg) |
SCM | g_funcs_filesel (SCM msg, SCM templ, SCM flags) |
SCM | g_funcs_use_rc_values (void) |
SCM | get_selected_component_attributes (GSCHEM_TOPLEVEL *w_current) |
void | g_init_hook () |
Initialise the gschem hooks. | |
void | g_run_hook_object (GSCHEM_TOPLEVEL *w_current, const char *name, OBJECT *obj) |
Runs a object hook with a single OBJECT. | |
void | g_run_hook_object_list (GSCHEM_TOPLEVEL *w_current, const char *name, GList *obj_lst) |
Runs a object hook for a list of objects. | |
void | g_run_hook_page (GSCHEM_TOPLEVEL *w_current, const char *name, PAGE *page) |
Runs a page hook. | |
void | g_keys_reset (GSCHEM_TOPLEVEL *w_current) |
Reset the current key sequence. | |
int | g_keys_execute (GSCHEM_TOPLEVEL *w_current, GdkEventKey *event) |
Evaluate a user keystroke. | |
GtkListStore * | g_keys_to_list_store (void) |
Exports the keymap in Scheme to a GtkListStore. | |
SCM | g_keys_file_new (SCM rest) |
test-comment test-comment | |
SCM | g_keys_file_new_window (SCM rest) |
SCM | g_keys_file_open (SCM rest) |
SCM | g_keys_file_script (SCM rest) |
SCM | g_keys_file_save (SCM rest) |
SCM | g_keys_file_save_as (SCM rest) |
SCM | g_keys_file_save_all (SCM rest) |
SCM | g_keys_file_print (SCM rest) |
SCM | g_keys_file_write_png (SCM rest) |
SCM | g_keys_file_close (SCM rest) |
SCM | g_keys_file_quit (SCM rest) |
SCM | g_keys_edit_undo (SCM rest) |
SCM | g_keys_edit_redo (SCM rest) |
SCM | g_keys_edit_select (SCM rest) |
SCM | g_keys_edit_select_all (SCM rest) |
SCM | g_keys_edit_deselect (SCM rest) |
SCM | g_keys_edit_copy (SCM rest) |
SCM | g_keys_edit_copy_hotkey (SCM rest) |
SCM | g_keys_edit_mcopy (SCM rest) |
SCM | g_keys_edit_mcopy_hotkey (SCM rest) |
SCM | g_keys_edit_move (SCM rest) |
SCM | g_keys_edit_move_hotkey (SCM rest) |
SCM | g_keys_edit_delete (SCM rest) |
SCM | g_keys_edit_rotate_90 (SCM rest) |
SCM | g_keys_edit_rotate_90_hotkey (SCM rest) |
SCM | g_keys_edit_mirror (SCM rest) |
SCM | g_keys_edit_mirror_hotkey (SCM rest) |
SCM | g_keys_edit_slot (SCM rest) |
SCM | g_keys_edit_color (SCM rest) |
SCM | g_keys_edit_edit (SCM rest) |
SCM | g_keys_edit_pin_type (SCM rest) |
SCM | g_keys_edit_text (SCM rest) |
SCM | g_keys_edit_lock (SCM rest) |
SCM | g_keys_edit_unlock (SCM rest) |
SCM | g_keys_edit_linetype (SCM rest) |
SCM | g_keys_edit_filltype (SCM rest) |
SCM | g_keys_edit_translate (SCM rest) |
SCM | g_keys_edit_invoke_macro (SCM rest) |
SCM | g_keys_edit_embed (SCM rest) |
SCM | g_keys_edit_unembed (SCM rest) |
SCM | g_keys_edit_update (SCM rest) |
SCM | g_keys_edit_show_hidden (SCM rest) |
SCM | g_keys_edit_find (SCM rest) |
SCM | g_keys_edit_show_text (SCM rest) |
SCM | g_keys_edit_hide_text (SCM rest) |
SCM | g_keys_edit_autonumber_text (SCM rest) |
SCM | g_keys_clipboard_copy (SCM rest) |
SCM | g_keys_clipboard_cut (SCM rest) |
SCM | g_keys_clipboard_paste (SCM rest) |
SCM | g_keys_clipboard_paste_hotkey (SCM rest) |
SCM | g_keys_buffer_copy1 (SCM rest) |
SCM | g_keys_buffer_copy2 (SCM rest) |
SCM | g_keys_buffer_copy3 (SCM rest) |
SCM | g_keys_buffer_copy4 (SCM rest) |
SCM | g_keys_buffer_copy5 (SCM rest) |
SCM | g_keys_buffer_cut1 (SCM rest) |
SCM | g_keys_buffer_cut2 (SCM rest) |
SCM | g_keys_buffer_cut3 (SCM rest) |
SCM | g_keys_buffer_cut4 (SCM rest) |
SCM | g_keys_buffer_cut5 (SCM rest) |
SCM | g_keys_buffer_paste1 (SCM rest) |
SCM | g_keys_buffer_paste2 (SCM rest) |
SCM | g_keys_buffer_paste3 (SCM rest) |
SCM | g_keys_buffer_paste4 (SCM rest) |
SCM | g_keys_buffer_paste5 (SCM rest) |
SCM | g_keys_buffer_paste1_hotkey (SCM rest) |
SCM | g_keys_buffer_paste2_hotkey (SCM rest) |
SCM | g_keys_buffer_paste3_hotkey (SCM rest) |
SCM | g_keys_buffer_paste4_hotkey (SCM rest) |
SCM | g_keys_buffer_paste5_hotkey (SCM rest) |
SCM | g_keys_view_redraw (SCM rest) |
SCM | g_keys_view_zoom_full (SCM rest) |
SCM | g_keys_view_zoom_extents (SCM rest) |
SCM | g_keys_view_zoom_in (SCM rest) |
SCM | g_keys_view_zoom_out (SCM rest) |
SCM | g_keys_view_zoom_in_hotkey (SCM rest) |
SCM | g_keys_view_zoom_out_hotkey (SCM rest) |
SCM | g_keys_view_zoom_box (SCM rest) |
SCM | g_keys_view_zoom_box_hotkey (SCM rest) |
SCM | g_keys_view_pan (SCM rest) |
SCM | g_keys_view_pan_left (SCM rest) |
SCM | g_keys_view_pan_right (SCM rest) |
SCM | g_keys_view_pan_up (SCM rest) |
SCM | g_keys_view_pan_down (SCM rest) |
SCM | g_keys_view_pan_hotkey (SCM rest) |
SCM | g_keys_view_dark_colors (SCM rest) |
SCM | g_keys_view_light_colors (SCM rest) |
SCM | g_keys_view_bw_colors (SCM rest) |
SCM | g_keys_page_manager (SCM rest) |
SCM | g_keys_page_next (SCM rest) |
SCM | g_keys_page_prev (SCM rest) |
SCM | g_keys_page_new (SCM rest) |
SCM | g_keys_page_close (SCM rest) |
SCM | g_keys_page_revert (SCM rest) |
SCM | g_keys_page_discard (SCM rest) |
SCM | g_keys_page_print (SCM rest) |
SCM | g_keys_add_component (SCM rest) |
SCM | g_keys_add_attribute (SCM rest) |
SCM | g_keys_add_attribute_hotkey (SCM rest) |
SCM | g_keys_add_net (SCM rest) |
SCM | g_keys_add_net_hotkey (SCM rest) |
SCM | g_keys_add_bus (SCM rest) |
SCM | g_keys_add_bus_hotkey (SCM rest) |
SCM | g_keys_add_text (SCM rest) |
SCM | g_keys_add_line (SCM rest) |
SCM | g_keys_add_line_hotkey (SCM rest) |
SCM | g_keys_add_box (SCM rest) |
SCM | g_keys_add_box_hotkey (SCM rest) |
SCM | g_keys_add_picture (SCM rest) |
SCM | g_keys_add_picture_hotkey (SCM rest) |
SCM | g_keys_add_circle (SCM rest) |
SCM | g_keys_add_circle_hotkey (SCM rest) |
SCM | g_keys_add_arc (SCM rest) |
SCM | g_keys_add_arc_hotkey (SCM rest) |
SCM | g_keys_add_pin (SCM rest) |
SCM | g_keys_add_pin_hotkey (SCM rest) |
SCM | g_keys_hierarchy_down_schematic (SCM rest) |
SCM | g_keys_hierarchy_down_symbol (SCM rest) |
SCM | g_keys_hierarchy_up (SCM rest) |
SCM | g_keys_attributes_attach (SCM rest) |
SCM | g_keys_attributes_detach (SCM rest) |
SCM | g_keys_attributes_show_name (SCM rest) |
SCM | g_keys_attributes_show_value (SCM rest) |
SCM | g_keys_attributes_show_both (SCM rest) |
SCM | g_keys_attributes_visibility_toggle (SCM rest) |
SCM | g_keys_script_console (SCM rest) |
SCM | g_keys_options_text_size (SCM rest) |
SCM | g_keys_options_afeedback (SCM rest) |
SCM | g_keys_options_grid (SCM rest) |
SCM | g_keys_options_snap (SCM rest) |
SCM | g_keys_options_snap_size (SCM rest) |
SCM | g_keys_options_scale_up_snap_size (SCM rest) |
SCM | g_keys_options_scale_down_snap_size (SCM rest) |
SCM | g_keys_options_rubberband (SCM rest) |
SCM | g_keys_options_magneticnet (SCM rest) |
SCM | g_keys_options_show_log_window (SCM rest) |
SCM | g_keys_options_show_coord_window (SCM rest) |
SCM | g_keys_misc (SCM rest) |
SCM | g_keys_misc2 (SCM rest) |
SCM | g_keys_misc3 (SCM rest) |
SCM | g_keys_help_about (SCM rest) |
SCM | g_keys_help_hotkeys (SCM rest) |
SCM | g_keys_cancel (SCM rest) |
void | g_init_keys () |
Initialise the key combination procedures. | |
void | g_rc_parse_gtkrc () |
SCM | g_rc_gschem_version (SCM version) |
Verify the version of the RC file under evaluation. | |
SCM | g_rc_net_endpoint_mode (SCM mode) |
SCM | g_rc_net_midpoint_mode (SCM mode) |
SCM | g_rc_net_direction_mode (SCM mode) |
SCM | g_rc_net_selection_mode (SCM mode) |
SCM | g_rc_net_style (SCM mode) |
SCM | g_rc_bus_style (SCM mode) |
SCM | g_rc_pin_style (SCM mode) |
SCM | g_rc_line_style (SCM mode) |
SCM | g_rc_action_feedback_mode (SCM mode) |
SCM | g_rc_zoom_with_pan (SCM mode) |
SCM | g_rc_text_feedback (SCM mode) |
SCM | g_rc_text_display_zoomfactor (SCM zoomfactor) |
SCM | g_rc_scrollbar_update (SCM mode) |
SCM | g_rc_object_clipping (SCM mode) |
SCM | g_rc_logging (SCM mode) |
SCM | g_rc_embed_components (SCM mode) |
SCM | g_rc_component_dialog_attributes (SCM stringlist) |
read the configuration string list for the component dialog | |
SCM | g_rc_text_size (SCM size) |
SCM | g_rc_text_caps_style (SCM mode) |
SCM | g_rc_snap_size (SCM size) |
SCM | g_rc_logging_destination (SCM mode) |
SCM | g_rc_attribute_name (SCM path) |
SCM | g_rc_scrollbars (SCM mode) |
SCM | g_rc_paper_size (SCM width, SCM height) |
SCM | g_rc_paper_sizes (SCM papername, SCM scm_width, SCM scm_height) |
SCM | g_rc_output_type (SCM mode) |
SCM | g_rc_output_orientation (SCM mode) |
SCM | g_rc_image_color (SCM mode) |
SCM | g_rc_image_size (SCM width, SCM height) |
SCM | g_rc_output_color (SCM mode) |
SCM | g_rc_output_capstyle (SCM mode) |
SCM | g_rc_log_window (SCM mode) |
SCM | g_rc_log_window_type (SCM mode) |
SCM | g_rc_third_button (SCM mode) |
SCM | g_rc_middle_button (SCM mode) |
SCM | g_rc_scroll_wheel (SCM mode) |
SCM | g_rc_net_consolidate (SCM mode) |
SCM | g_rc_file_preview (SCM mode) |
SCM | g_rc_enforce_hierarchy (SCM mode) |
SCM | g_rc_text_origin_marker (SCM mode) |
SCM | g_rc_fast_mousepan (SCM mode) |
SCM | g_rc_raise_dialog_boxes_on_expose (SCM mode) |
SCM | g_rc_continue_component_place (SCM mode) |
SCM | g_rc_undo_levels (SCM levels) |
SCM | g_rc_undo_control (SCM mode) |
SCM | g_rc_undo_type (SCM mode) |
SCM | g_rc_undo_panzoom (SCM mode) |
SCM | g_rc_draw_grips (SCM mode) |
SCM | g_rc_netconn_rubberband (SCM mode) |
SCM | g_rc_magnetic_net_mode (SCM mode) |
SCM | g_rc_sort_component_library (SCM mode) |
SCM | g_rc_add_menu (SCM menu_name, SCM menu_items) |
SCM | g_rc_window_size (SCM width, SCM height) |
SCM | g_rc_warp_cursor (SCM mode) |
SCM | g_rc_toolbars (SCM mode) |
SCM | g_rc_handleboxes (SCM mode) |
SCM | g_rc_setpagedevice_orientation (SCM mode) |
SCM | g_rc_setpagedevice_pagesize (SCM mode) |
SCM | g_rc_bus_ripper_size (SCM size) |
SCM | g_rc_bus_ripper_type (SCM mode) |
SCM | g_rc_bus_ripper_rotation (SCM mode) |
SCM | g_rc_force_boundingbox (SCM mode) |
SCM | g_rc_dots_grid_dot_size (SCM dotsize) |
SCM | g_rc_dots_grid_mode (SCM mode) |
SCM | g_rc_dots_grid_fixed_threshold (SCM spacing) |
SCM | g_rc_mesh_grid_display_threshold (SCM spacing) |
SCM | g_rc_add_attribute_offset (SCM offset) |
SCM | g_rc_auto_save_interval (SCM seconds) |
SCM | g_rc_mousepan_gain (SCM mode) |
SCM | g_rc_keyboardpan_gain (SCM mode) |
Scheme function for setting the step for keyboard pan. | |
SCM | g_rc_print_command (SCM mode) |
SCM | g_rc_select_slack_pixels (SCM pixels) |
SCM | g_rc_zoom_gain (SCM gain) |
SCM | g_rc_scrollpan_steps (SCM steps) |
SCM | g_rc_display_color_map (SCM scm_map) |
SCM | g_rc_display_outline_color_map (SCM scm_map) |
void | g_register_funcs (void) |
Register function with Scheme. | |
void | g_init_select () |
Initialise the selection manipulation procedures. | |
void | g_init_util () |
Initialise miscellaneous gschem utility procedures. | |
GSCHEM_TOPLEVEL * | g_current_window () |
Get the value of the GSCHEM_TOPLEVEL fluid. | |
void | g_dynwind_window (GSCHEM_TOPLEVEL *w_current) |
Set the GSCHEM_TOPLEVEL fluid in the current dynamic context. | |
void | g_init_window () |
Initialise the GSCHEM_TOPLEVEL manipulation procedures. | |
void | gschem_atexit (gschem_atexit_func func, gpointer data) |
Register a function to be called on program exit. | |
void | gschem_quit (void) |
Cleanup gSchem on exit. | |
void | main_prog (void *closure, int argc, char *argv[]) |
Main Scheme(GUILE) program function. | |
int | main (int argc, char *argv[]) |
Main executable entrance point. | |
void | gschem_cairo_line (GSCHEM_TOPLEVEL *w_current, int line_end, int line_width, int x1, int y1, int x2, int y2) |
void | gschem_cairo_box (GSCHEM_TOPLEVEL *w_current, int line_width, int x1, int y1, int x2, int y2) |
void | gschem_cairo_center_box (GSCHEM_TOPLEVEL *w_current, int center_width, int line_width, int x1, int y1, int x2, int y2) |
void | gschem_cairo_arc (GSCHEM_TOPLEVEL *w_current, int line_width, int x, int y, int radius, int start_angle, int end_angle) |
void | gschem_cairo_center_arc (GSCHEM_TOPLEVEL *w_current, int center_width, int line_width, int x, int y, int radius, int start_angle, int end_angle) |
void | gschem_cairo_stroke (GSCHEM_TOPLEVEL *w_current, int line_type, int line_end, int width, int length, int space) |
void | gschem_cairo_set_source_color (GSCHEM_TOPLEVEL *w_current, COLOR *color) |
void | i_show_state (GSCHEM_TOPLEVEL *w_current, const char *message) |
Show state field. | |
void | i_set_state (GSCHEM_TOPLEVEL *w_current, enum x_states newstate) |
Set new state, then show state field. | |
void | i_set_state_msg (GSCHEM_TOPLEVEL *w_current, enum x_states newstate, const char *message) |
Set new state, then show state field including some message. | |
void | i_update_middle_button (GSCHEM_TOPLEVEL *w_current, void(*func_ptr)(), const char *string) |
void | i_update_toolbar (GSCHEM_TOPLEVEL *w_current) |
void | i_update_menus (GSCHEM_TOPLEVEL *w_current) |
Update sensitivity of relevant menu items. | |
void | i_set_filename (GSCHEM_TOPLEVEL *w_current, const gchar *string) |
Set filename as gschem window title. | |
void | i_update_grid_info (GSCHEM_TOPLEVEL *w_current) |
Write the grid settings to the gschem status bar. | |
void | i_callback_file_new (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_toolbar_file_new (GtkWidget *widget, gpointer data) |
void | i_callback_file_new_window (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_file_open (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_toolbar_file_open (GtkWidget *widget, gpointer data) |
void | i_callback_file_script (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_file_save (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_toolbar_file_save (GtkWidget *widget, gpointer data) |
void | i_callback_file_save_all (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_file_save_as (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_file_print (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_file_write_png (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_file_close (gpointer data, guint callback_action, GtkWidget *widget) |
int | i_callback_close (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_file_quit (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_undo (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_toolbar_edit_undo (GtkWidget *widget, gpointer data) |
void | i_callback_edit_redo (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_toolbar_edit_redo (GtkWidget *widget, gpointer data) |
void | i_callback_edit_select (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_toolbar_edit_select (GtkWidget *widget, gpointer data) |
void | i_callback_edit_select_all (gpointer data, guint callback_action, GtkWidget *widget) |
Select all objects on page. | |
void | i_callback_edit_deselect (gpointer data, guint callback_action, GtkWidget *widget) |
Deselect all objects on page. | |
void | i_callback_edit_copy (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_copy_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_mcopy (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_mcopy_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_move (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_move_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_delete (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_edit (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_pin_type (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_text (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_slot (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_color (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_rotate_90 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_rotate_90_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_mirror (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_mirror_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_lock (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_unlock (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_translate (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_invoke_macro (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_embed (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_unembed (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_update (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_show_hidden (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_find (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_hide_text (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_show_text (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_autonumber_text (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_linetype (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_edit_filltype (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_view_redraw (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_view_zoom_full (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_view_zoom_extents (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_view_zoom_box (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_view_zoom_box_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_view_zoom_in (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_view_zoom_out (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_view_zoom_in_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_view_zoom_out_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_view_pan (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_view_pan_left (gpointer data, guint callback_action, GtkWidget *widget) |
Scheme callback function that moves the viewport to the left. | |
void | i_callback_view_pan_right (gpointer data, guint callback_action, GtkWidget *widget) |
Scheme callback function that moves the viewport to the right. | |
void | i_callback_view_pan_up (gpointer data, guint callback_action, GtkWidget *widget) |
Scheme callback function that moves the viewport up. | |
void | i_callback_view_pan_down (gpointer data, guint callback_action, GtkWidget *widget) |
Scheme callback function that moves the viewport down. | |
void | i_callback_view_pan_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_view_dark_colors (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_view_light_colors (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_view_bw_colors (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_page_manager (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_page_next (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_page_prev (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_page_new (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_page_close (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_page_revert (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_page_discard (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_page_print (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_clipboard_copy (gpointer data, guint callback_action, GtkWidget *widget) |
Copy selection to clipboard. | |
void | i_callback_clipboard_cut (gpointer data, guint callback_action, GtkWidget *widget) |
Cut selection to clipboard. | |
void | i_callback_clipboard_paste (gpointer data, guint callback_action, GtkWidget *widget) |
Start pasting clipboard contents. | |
void | i_callback_clipboard_paste_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
Start pasting clipboard contents (hotkey version) | |
void | i_callback_buffer_copy1 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_copy2 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_copy3 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_copy4 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_copy5 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_cut1 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_cut2 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_cut3 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_cut4 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_cut5 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_paste1 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_paste2 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_paste3 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_paste4 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_paste5 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_paste1_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_paste2_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_paste3_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_paste4_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_buffer_paste5_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_component (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_toolbar_add_component (GtkWidget *widget, gpointer data) |
void | i_callback_add_attribute (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_attribute_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_net (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_net_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_toolbar_add_net (GtkWidget *widget, gpointer data) |
void | i_callback_add_bus (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_bus_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_toolbar_add_bus (GtkWidget *widget, gpointer data) |
void | i_callback_add_text (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_toolbar_add_text (GtkWidget *widget, gpointer data) |
void | i_callback_add_line (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_line_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_box (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_box_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_picture (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_picture_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_circle (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_circle_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_arc (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_arc_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_pin (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_add_pin_hotkey (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_hierarchy_down_schematic (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_hierarchy_down_symbol (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_hierarchy_up (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_attributes_attach (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_attributes_detach (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_attributes_show_name (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_attributes_show_value (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_attributes_show_both (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_attributes_visibility_toggle (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_script_console (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_options_text_size (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_options_snap_size (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_options_scale_up_snap_size (gpointer data, guint callback_action, GtkWidget *widget) |
Multiply by two the snap grid size. | |
void | i_callback_options_scale_down_snap_size (gpointer data, guint callback_action, GtkWidget *widget) |
Divide by two the snap grid size. | |
void | i_callback_options_afeedback (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_options_grid (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_options_snap (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_options_rubberband (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_options_magneticnet (gpointer data, guint callback_action, GtkWidget *widget) |
callback function for setting the magnetic net option | |
void | i_callback_options_show_log_window (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_misc (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_misc2 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_misc3 (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_cancel (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_help_about (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_help_hotkeys (gpointer data, guint callback_action, GtkWidget *widget) |
void | i_callback_options_show_coord_window (gpointer data, guint callback_action, GtkWidget *widget) |
gboolean | i_callback_close_wm (GtkWidget *widget, GdkEvent *event, gpointer data) |
void | i_vars_set (GSCHEM_TOPLEVEL *w_current) |
void | i_vars_freenames () |
Free default names. | |
int | mil_x (GSCHEM_TOPLEVEL *w_current, int val) |
Convert a x coordinate to mils. | |
int | mil_y (GSCHEM_TOPLEVEL *w_current, int val) |
Convert a y coordinate to mils. | |
int | pix_x (GSCHEM_TOPLEVEL *w_current, int val) |
Convert a x coordinate to pixels. | |
int | pix_y (GSCHEM_TOPLEVEL *w_current, int val) |
Convert a y coordinate to pixels. | |
void | WORLDtoSCREEN (GSCHEM_TOPLEVEL *w_current, int x, int y, int *px, int *py) |
Transform WORLD coordinates to SCREEN coordinates. | |
void | SCREENtoWORLD (GSCHEM_TOPLEVEL *w_current, int mx, int my, int *x, int *y) |
Transform WORLD coordinates to WORLD coordinates. | |
int | snap_grid (GSCHEM_TOPLEVEL *w_current, int input) |
Find the closest grid coordinate. | |
int | SCREENabs (GSCHEM_TOPLEVEL *w_current, int val) |
Get absolute SCREEN coordinate. | |
int | WORLDabs (GSCHEM_TOPLEVEL *w_current, int val) |
Get absolute WORLD coordinate. | |
int | WORLDclip_change (GSCHEM_TOPLEVEL *w_current, int *x1, int *y1, int *x2, int *y2) |
Calculate the cliping region for a set of coordinates. | |
int | clip_nochange (GSCHEM_TOPLEVEL *w_current, int x1, int y1, int x2, int y2) |
Check if a set of coordinates are within a clipping region. | |
int | visible (GSCHEM_TOPLEVEL *w_current, int wleft, int wtop, int wright, int wbottom) |
Check if a bounding box is visible on the screen. | |
double | round_5_2_1 (double unrounded) |
Rounds numbers by a power of 10. | |
void | o_arc_draw (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Draw an arc on the screen. | |
void | o_arc_invalidate_rubber (GSCHEM_TOPLEVEL *w_current) |
void | o_arc_draw_place (GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current) |
Draw an arc described by OBJECT with translation. | |
void | o_arc_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Start process to input a new arc. | |
void | o_arc_end1 (GSCHEM_TOPLEVEL *w_current, int x, int y) |
End the input of an arc. | |
void | o_arc_end4 (GSCHEM_TOPLEVEL *w_current, int radius, int start_angle, int end_angle) |
Ends the process of arc input. | |
void | o_arc_motion (GSCHEM_TOPLEVEL *w_current, int x, int y, int whichone) |
Draw an arc using one angle modification. | |
void | o_arc_draw_rubber (GSCHEM_TOPLEVEL *w_current) |
Draw arc from GSCHEM_TOPLEVEL object. | |
void | o_arc_draw_grips (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Draw grip marks on arc. | |
void | o_attrib_add_selected (GSCHEM_TOPLEVEL *w_current, SELECTION *selection, OBJECT *selected) |
void | o_attrib_deselect_invisible (GSCHEM_TOPLEVEL *w_current, SELECTION *selection, OBJECT *selected) |
Remove invisible attributes of an object from the selection list. | |
void | o_attrib_select_invisible (GSCHEM_TOPLEVEL *w_current, SELECTION *selection, OBJECT *selected) |
Add invisible attributes of an object to the selection list. | |
void | o_attrib_toggle_visibility (GSCHEM_TOPLEVEL *w_current, OBJECT *object) |
Change visibility status of attribute object. | |
void | o_attrib_toggle_show_name_value (GSCHEM_TOPLEVEL *w_current, OBJECT *object, int new_show_name_value) |
Set what part of an attribute is shown. | |
OBJECT * | o_attrib_add_attrib (GSCHEM_TOPLEVEL *w_current, const char *text_string, int visibility, int show_name_value, OBJECT *object) |
void | o_redraw_rects (GSCHEM_TOPLEVEL *w_current, GdkRectangle *rectangles, int n_rectangles) |
void | o_redraw (GSCHEM_TOPLEVEL *w_current, GList *object_list, gboolean draw_selected) |
void | o_redraw_single (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Redraw an object on the screen. | |
int | o_invalidate_rubber (GSCHEM_TOPLEVEL *w_current) |
int | o_redraw_cleanstates (GSCHEM_TOPLEVEL *w_current) |
void | o_draw_place (GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *object) |
void | o_glist_draw_place (GSCHEM_TOPLEVEL *w_current, int dx, int dy, GList *list) |
void | o_invalidate_rect (GSCHEM_TOPLEVEL *w_current, int x1, int y1, int x2, int y2) |
Invalidates a rectangular region of the on screen drawing area. | |
void | o_invalidate_all (GSCHEM_TOPLEVEL *w_current) |
Invalidate the whole on-screen area. | |
void | o_invalidate (GSCHEM_TOPLEVEL *w_current, OBJECT *object) |
Invalidate on-screen area for an object. | |
void | o_invalidate_glist (GSCHEM_TOPLEVEL *w_current, GList *list) |
Invalidate on-screen area for a GList of objects. | |
COLOR * | o_drawing_color (GSCHEM_TOPLEVEL *w_current, OBJECT *object) |
Returns the color an object should be drawn in. | |
void | o_box_draw (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Draw a box on the screen. | |
void | o_box_invalidate_rubber (GSCHEM_TOPLEVEL *w_current) |
void | o_box_draw_place (GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current) |
Draw a box described by OBJECT with translation. | |
void | o_box_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Start process to input a new box. | |
void | o_box_end (GSCHEM_TOPLEVEL *w_current, int x, int y) |
End the input of a box. | |
void | o_box_motion (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Draw temporary box while dragging edge. | |
void | o_box_draw_rubber (GSCHEM_TOPLEVEL *w_current) |
Draw box from GSCHEM_TOPLEVEL object. | |
void | o_box_draw_grips (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Draw grip marks on box. | |
void | o_buffer_copy (GSCHEM_TOPLEVEL *w_current, int buf_num) |
void | o_buffer_cut (GSCHEM_TOPLEVEL *w_current, int buf_num) |
void | o_buffer_paste_start (GSCHEM_TOPLEVEL *w_current, int x, int y, int buf_num) |
void | o_buffer_init (void) |
void | o_buffer_free (GSCHEM_TOPLEVEL *w_current) |
void | o_bus_draw (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
void | o_bus_draw_place (GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current) |
void | o_bus_draw_stretch (GSCHEM_TOPLEVEL *w_current, int dx, int dy, int whichone, OBJECT *o_current) |
void | o_bus_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
set the start point of a new bus | |
int | o_bus_end (GSCHEM_TOPLEVEL *w_current, int x, int y) |
finish a bus drawing action | |
void | o_bus_motion (GSCHEM_TOPLEVEL *w_current, int x, int y) |
draw the bus rubber when creating a bus | |
void | o_bus_draw_rubber (GSCHEM_TOPLEVEL *w_current) |
draw a rubberbus segment | |
void | o_bus_invalidate_rubber (GSCHEM_TOPLEVEL *w_current) |
void | o_circle_draw (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Draw a circle on the screen. | |
void | o_circle_invalidate_rubber (GSCHEM_TOPLEVEL *w_current) |
void | o_circle_draw_place (GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current) |
Draw a circle described by OBJECT with translation. | |
void | o_circle_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Start process to input a new circle. | |
void | o_circle_end (GSCHEM_TOPLEVEL *w_current, int x, int y) |
End the input of a circle. | |
void | o_circle_motion (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Draw temporary circle while dragging edge. | |
void | o_circle_draw_rubber (GSCHEM_TOPLEVEL *w_current) |
Draw circle from GSCHEM_TOPLEVEL object. | |
void | o_circle_draw_grips (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Draw grip marks on circle. | |
void | o_complex_draw (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
void | o_complex_draw_place (GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *complex) |
void | o_complex_prepare_place (GSCHEM_TOPLEVEL *w_current, const CLibSymbol *sym) |
void | o_complex_place_changed_run_hook (GSCHEM_TOPLEVEL *w_current) |
Run the complex place list changed hook. | |
void | o_complex_translate_all (GSCHEM_TOPLEVEL *w_current, int offset) |
void | o_copy_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | o_copy_end (GSCHEM_TOPLEVEL *w_current) |
void | o_copy_multiple_end (GSCHEM_TOPLEVEL *w_current) |
void | o_cue_redraw_all (GSCHEM_TOPLEVEL *w_current, GList *list, gboolean draw_selected) |
void | o_cue_draw_lowlevel (GSCHEM_TOPLEVEL *w_current, OBJECT *object, int whichone) |
void | o_cue_draw_lowlevel_midpoints (GSCHEM_TOPLEVEL *w_current, OBJECT *object) |
void | o_cue_draw_single (GSCHEM_TOPLEVEL *w_current, OBJECT *object) |
void | o_cue_draw_list (GSCHEM_TOPLEVEL *w_current, GList *object_list) |
void | o_delete (GSCHEM_TOPLEVEL *w_current, OBJECT *object) |
Delete an object. | |
void | o_delete_selected (GSCHEM_TOPLEVEL *w_current) |
Delete objects from the selection. | |
gboolean | o_find_object (GSCHEM_TOPLEVEL *w_current, int x, int y, gboolean deselect_afterwards) |
Find an OBJECT at a given set of coordinates. | |
gboolean | o_find_selected_object (GSCHEM_TOPLEVEL *w_current, int x, int y) |
OBJECT * | o_grips_search_world (GSCHEM_TOPLEVEL *w_current, int x, int y, int *whichone) |
Check if point is inside grip. | |
OBJECT * | o_grips_search_arc_world (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int x, int y, int size, int *whichone) |
Check if pointer is inside arc grip. | |
OBJECT * | o_grips_search_box_world (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int x, int y, int size, int *whichone) |
Check if pointer is inside box grip. | |
OBJECT * | o_grips_search_path_world (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int x, int y, int size, int *whichone) |
Check if pointer is inside path grip. | |
OBJECT * | o_grips_search_picture_world (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int x, int y, int size, int *whichone) |
Check if pointer is inside picture grip. | |
OBJECT * | o_grips_search_circle_world (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int x, int y, int size, int *whichone) |
Check if pointer is inside circle grip. | |
OBJECT * | o_grips_search_line_world (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int x, int y, int size, int *whichone) |
Check if pointer is inside line grip. | |
int | o_grips_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Start process of modifiying one grip. | |
void | o_grips_motion (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Modify previously selected object according to mouse position. | |
void | o_grips_end (GSCHEM_TOPLEVEL *w_current) |
End process of modifying object with grip. | |
void | o_grips_cancel (GSCHEM_TOPLEVEL *w_current) |
Cancel process of modifying object with grip. | |
int | o_grips_size (GSCHEM_TOPLEVEL *w_current) |
Get half the width and height of grip in screen units. | |
void | o_grips_draw (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Draw grip centered at x, y | |
void | o_grips_draw_rubber (GSCHEM_TOPLEVEL *w_current) |
Draw objects being grip maniuplated from GSCHEM_TOPLEVEL object. | |
void | o_line_draw (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Draw a line on screen. | |
void | o_line_invalidate_rubber (GSCHEM_TOPLEVEL *w_current) |
void | o_line_draw_place (GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current) |
Draw a line object after applying translation. | |
void | o_line_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Start process to input a new line. | |
void | o_line_end (GSCHEM_TOPLEVEL *w_current, int x, int y) |
End the input of a line. | |
void | o_line_motion (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Draw temporary line while dragging end. | |
void | o_line_draw_rubber (GSCHEM_TOPLEVEL *w_current) |
Draw line from GSCHEM_TOPLEVEL object. | |
void | o_line_draw_grips (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Draw grip marks on line. | |
int | o_line_visible (GSCHEM_TOPLEVEL *w_current, LINE *line, int *x1, int *y1, int *x2, int *y2) |
void | o_edit (GSCHEM_TOPLEVEL *w_current, GList *list) |
void | o_lock (GSCHEM_TOPLEVEL *w_current) |
void | o_unlock (GSCHEM_TOPLEVEL *w_current) |
void | o_rotate_world_update (GSCHEM_TOPLEVEL *w_current, int centerx, int centery, int angle, GList *list) |
Rotate all objects in list. | |
void | o_mirror_world_update (GSCHEM_TOPLEVEL *w_current, int centerx, int centery, GList *list) |
void | o_edit_show_hidden_lowlevel (GSCHEM_TOPLEVEL *w_current, const GList *o_list) |
void | o_edit_show_hidden (GSCHEM_TOPLEVEL *w_current, const GList *o_list) |
int | o_edit_find_text (GSCHEM_TOPLEVEL *w_current, const GList *o_list, char *stext, int descend, int skip) |
void | o_edit_hide_specific_text (GSCHEM_TOPLEVEL *w_current, const GList *o_list, char *stext) |
void | o_edit_show_specific_text (GSCHEM_TOPLEVEL *w_current, const GList *o_list, char *stext) |
OBJECT * | o_update_component (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Update a component. | |
void | o_autosave_backups (GSCHEM_TOPLEVEL *w_current) |
Do autosave on all pages that are marked. | |
void | o_move_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | o_move_end_lowlevel (GSCHEM_TOPLEVEL *w_current, OBJECT *object, int diff_x, int diff_y) |
void | o_move_end (GSCHEM_TOPLEVEL *w_current) |
void | o_move_cancel (GSCHEM_TOPLEVEL *w_current) |
void | o_move_motion (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | o_move_invalidate_rubber (GSCHEM_TOPLEVEL *w_current, int drawing) |
void | o_move_draw_rubber (GSCHEM_TOPLEVEL *w_current, int drawing) |
int | o_move_return_whichone (OBJECT *object, int x, int y) |
void | o_move_check_endpoint (GSCHEM_TOPLEVEL *w_current, OBJECT *object) |
void | o_move_prep_rubberband (GSCHEM_TOPLEVEL *w_current) |
int | o_move_zero_length (OBJECT *object) |
void | o_move_end_rubberband (GSCHEM_TOPLEVEL *w_current, int world_diff_x, int world_diff_y, GList **objects) |
void | o_net_reset (GSCHEM_TOPLEVEL *w_current) |
Reset all variables used for net drawing. | |
void | o_net_draw (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
void | o_net_draw_place (GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current) |
void | o_net_draw_stretch (GSCHEM_TOPLEVEL *w_current, int dx, int dy, int whichone, OBJECT *o_current) |
void | o_net_guess_direction (GSCHEM_TOPLEVEL *w_current, int x, int y) |
guess the best direction for the next net drawing action | |
void | o_net_find_magnetic (GSCHEM_TOPLEVEL *w_current, int event_x, int event_y) |
find the closest possible location to connect to | |
void | o_net_finishmagnetic (GSCHEM_TOPLEVEL *w_current) |
calcutates the net route to the magnetic marker | |
void | o_net_start_magnetic (GSCHEM_TOPLEVEL *w_current, int x, int y) |
callback function to draw a net marker in magnetic mode | |
void | o_net_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
set the start point of a new net | |
int | o_net_end (GSCHEM_TOPLEVEL *w_current, int x, int y) |
finish a net drawing action | |
void | o_net_motion (GSCHEM_TOPLEVEL *w_current, int x, int y) |
erase and redraw the rubber lines when drawing a net | |
void | o_net_draw_rubber (GSCHEM_TOPLEVEL *w_current) |
draw rubbernet lines to the gc | |
void | o_net_invalidate_rubber (GSCHEM_TOPLEVEL *w_current) |
int | o_net_add_busrippers (GSCHEM_TOPLEVEL *w_current, OBJECT *net_obj, GList *other_objects) |
void | o_picture_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Start process to input a new picture. | |
void | o_picture_end (GSCHEM_TOPLEVEL *w_current, int x, int y) |
End the input of a circle. | |
void | o_picture_motion (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Draw temporary picture while dragging edge. | |
void | picture_selection_dialog (GSCHEM_TOPLEVEL *w_current) |
Creates the add image dialog. | |
void | o_picture_invalidate_rubber (GSCHEM_TOPLEVEL *w_current) |
void | o_picture_draw_rubber (GSCHEM_TOPLEVEL *w_current) |
Draw picture from GSCHEM_TOPLEVEL object. | |
void | o_picture_draw (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Draw a picture on the screen. | |
void | o_picture_draw_grips (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Draw grip marks on picture. | |
void | o_picture_draw_place (GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current) |
Draw a picture described by OBJECT with translation. | |
gboolean | o_picture_exchange (GSCHEM_TOPLEVEL *w_current, const gchar *filename, GError **error) |
Replace all selected pictures with a new picture. | |
void | picture_change_filename_dialog (GSCHEM_TOPLEVEL *w_current) |
Create dialog to exchange picture objects. | |
void | o_picture_set_pixbuf (GSCHEM_TOPLEVEL *w_current, GdkPixbuf *pixbuf, char *filename) |
void | o_path_draw (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Draw a path on screen. | |
void | o_path_invalidate_rubber (GSCHEM_TOPLEVEL *w_current) |
void | o_path_draw_place (GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current) |
Draw a path object after applying translation. | |
void | o_path_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Start process to input a new path. | |
void | o_path_end (GSCHEM_TOPLEVEL *w_current, int x, int y) |
End the input of a path. | |
void | o_path_motion (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Draw temporary path while dragging end. | |
void | o_path_draw_rubber (GSCHEM_TOPLEVEL *w_current) |
Draw path from GSCHEM_TOPLEVEL object. | |
void | o_path_draw_grips (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Draw grip marks on path. | |
void | o_pin_draw (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
void | o_pin_draw_place (GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current) |
void | o_pin_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | o_pin_end (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | o_pin_motion (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | o_pin_draw_rubber (GSCHEM_TOPLEVEL *w_current) |
void | o_pin_invalidate_rubber (GSCHEM_TOPLEVEL *w_current) |
void | o_place_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | o_place_end (GSCHEM_TOPLEVEL *w_current, int x, int y, int continue_placing, GList **ret_new_objects, const char *hook_name) |
void | o_place_motion (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | o_place_invalidate_rubber (GSCHEM_TOPLEVEL *w_current, int drawing) |
Invalidate bounding box or outline for OBJECT placement. | |
void | o_place_draw_rubber (GSCHEM_TOPLEVEL *w_current, int drawing) |
Draw a bounding box or outline for OBJECT placement. | |
void | o_place_rotate (GSCHEM_TOPLEVEL *w_current) |
void | o_select_run_hooks (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int flag) |
void | o_select_object (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current, int type, int count) |
int | o_select_box_start (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | o_select_box_end (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | o_select_box_motion (GSCHEM_TOPLEVEL *w_current, int x, int y) |
void | o_select_box_invalidate_rubber (GSCHEM_TOPLEVEL *w_current) |
void | o_select_box_draw_rubber (GSCHEM_TOPLEVEL *w_current) |
void | o_select_box_search (GSCHEM_TOPLEVEL *w_current) |
void | o_select_connected_nets (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
Select all nets connected to the current net. | |
OBJECT * | o_select_return_first_object (GSCHEM_TOPLEVEL *w_current) |
int | o_select_selected (GSCHEM_TOPLEVEL *w_current) |
void | o_select_unselect_all (GSCHEM_TOPLEVEL *w_current) |
void | o_select_visible_unlocked (GSCHEM_TOPLEVEL *w_current) |
Selects all visible objects on the current page. | |
void | o_select_move_to_place_list (GSCHEM_TOPLEVEL *w_current) |
void | o_slot_start (GSCHEM_TOPLEVEL *w_current, OBJECT *object) |
Change slot of selected component. | |
void | o_slot_end (GSCHEM_TOPLEVEL *w_current, OBJECT *object, const char *string) |
int | o_text_get_rendered_bounds (void *user_data, OBJECT *object, int *min_x, int *min_y, int *max_x, int *max_y) |
void | o_text_draw (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
void | o_text_draw_place (GSCHEM_TOPLEVEL *w_current, int dx, int dy, OBJECT *o_current) |
void | o_text_prepare_place (GSCHEM_TOPLEVEL *w_current, char *text) |
void | o_text_edit (GSCHEM_TOPLEVEL *w_current, OBJECT *o_current) |
void | o_text_edit_end (GSCHEM_TOPLEVEL *w_current, char *string, int len, int text_size, int text_alignment) |
void | o_text_change (GSCHEM_TOPLEVEL *w_current, OBJECT *object, char *string, int visibility, int show) |
void | o_undo_init (void) |
void | o_undo_savestate (GSCHEM_TOPLEVEL *w_current, int flag) |
char * | o_undo_find_prev_filename (UNDO *start) |
GList * | o_undo_find_prev_object_head (UNDO *start) |
void | o_undo_callback (GSCHEM_TOPLEVEL *w_current, int type) |
void | o_undo_cleanup (void) |
void | o_undo_remove_last_undo (GSCHEM_TOPLEVEL *w_current) |
int | parse_commandline (int argc, char *argv[]) |
Parse gschem command-line options. | |
GList * | s_stretch_add (GList *list, OBJECT *object, int whichone) |
GList * | s_stretch_remove (GList *list, OBJECT *object) |
void | s_stretch_print_all (GList *list) |
void | s_stretch_destroy_all (GList *list) |
gint | option_menu_get_history (GtkOptionMenu *option_menu) |
void | attrib_edit_dialog_ok (GtkWidget *w, GSCHEM_TOPLEVEL *w_current) |
void | attrib_edit_dialog (GSCHEM_TOPLEVEL *w_current, OBJECT *attr_obj, int flag) |
Create the attribute add/edit dialog. | |
void | autonumber_text_dialog (GSCHEM_TOPLEVEL *w_current) |
Create or restore the autonumber text dialog. | |
void | x_repaint_background_region (GSCHEM_TOPLEVEL *w_current, int x, int y, int width, int height) |
void | x_hscrollbar_set_ranges (GSCHEM_TOPLEVEL *w_current) |
void | x_hscrollbar_update (GSCHEM_TOPLEVEL *w_current) |
void | x_vscrollbar_set_ranges (GSCHEM_TOPLEVEL *w_current) |
void | x_vscrollbar_update (GSCHEM_TOPLEVEL *w_current) |
void | x_scrollbars_update (GSCHEM_TOPLEVEL *w_current) |
void | x_basic_warp_cursor (GtkWidget *widget, gint x, gint y) |
void | x_clipboard_init (GSCHEM_TOPLEVEL *w_current) |
void | x_clipboard_finish (GSCHEM_TOPLEVEL *w_current) |
void | x_clipboard_query_usable (GSCHEM_TOPLEVEL *w_current, void(*callback)(int, void *), void *userdata) |
gboolean | x_clipboard_set (GSCHEM_TOPLEVEL *w_current, const GList *object_list) |
GList * | x_clipboard_get (GSCHEM_TOPLEVEL *w_current) |
void | x_color_init (void) |
Initializes the color system for the application. | |
void | x_color_free (void) |
Frees memory used by the color system. | |
void | x_color_allocate (void) |
GdkColor * | x_get_color (int color) |
GdkColor * | x_get_darkcolor (int color) |
COLOR * | x_color_lookup (int color) |
COLOR * | x_color_lookup_dark (int color) |
gchar * | x_color_get_name (int index) |
gboolean | x_color_display_enabled (int index) |
int | text_view_calculate_real_tab_width (GtkTextView *textview, int tab_size) |
void | select_all_text_in_textview (GtkTextView *textview) |
Selects all text in a TextView widget. | |
void | destroy_window (GtkWidget *widget, GtkWidget **window) |
void | text_input_dialog_apply (GtkWidget *w, GSCHEM_TOPLEVEL *w_current) |
worker function for the text entry dialog | |
void | text_input_dialog (GSCHEM_TOPLEVEL *w_current) |
create or present the text entry dialog | |
gint | change_alignment (GtkComboBox *w, GSCHEM_TOPLEVEL *w_current) |
CAllback for a text aligment change. | |
void | text_edit_dialog_ok (GtkWidget *w, GSCHEM_TOPLEVEL *w_current) |
Apply the settings from the text property dialog. | |
void | text_edit_dialog (GSCHEM_TOPLEVEL *w_current, const char *string, int text_size, int text_alignment) |
Create the edit text properties dialog. | |
void | line_type_dialog (GSCHEM_TOPLEVEL *w_current) |
Creates the line type and width dialog. | |
void | fill_type_dialog (GSCHEM_TOPLEVEL *w_current) |
Creates the fill type dialog. | |
void | arc_angle_dialog (GSCHEM_TOPLEVEL *w_current, OBJECT *arc_object) |
Creates the arc angle dialog. | |
void | translate_dialog (GSCHEM_TOPLEVEL *w_current) |
Create the translate dialog. | |
void | text_size_dialog (GSCHEM_TOPLEVEL *w_current) |
Create the text size dialog. | |
void | snap_size_dialog (GSCHEM_TOPLEVEL *w_current) |
Create the snap size dialog. | |
void | slot_edit_dialog (GSCHEM_TOPLEVEL *w_current, const char *string) |
Create the slot entry dialog. | |
void | about_dialog (GSCHEM_TOPLEVEL *w_current) |
Create the about dialog and show it. | |
void | coord_display_update (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Update the coordinates in the coord dialog box. | |
void | coord_dialog (GSCHEM_TOPLEVEL *w_current, int x, int y) |
Create the coord dialog. | |
gint | color_set (GtkWidget *w, gpointer data) |
char * | index2functionstring (int index) |
void | color_edit_dialog_apply (GtkWidget *w, GSCHEM_TOPLEVEL *w_current) |
Apply a color change to selected objects. | |
void | color_edit_dialog (GSCHEM_TOPLEVEL *w_current) |
Create the color edit dialog. | |
void | x_dialog_hotkeys (GSCHEM_TOPLEVEL *w_current) |
Creates the hotkeys dialog. | |
void | x_dialog_raise_all (GSCHEM_TOPLEVEL *w_current) |
void | generic_msg_dialog (const char *) |
int | generic_confirm_dialog (const char *) |
char * | generic_filesel_dialog (const char *, const char *, gint) |
void | find_text_dialog (GSCHEM_TOPLEVEL *w_current) |
Create the text find dialog. | |
void | hide_text_dialog (GSCHEM_TOPLEVEL *w_current) |
Creates the hide text dialog. | |
void | show_text_dialog (GSCHEM_TOPLEVEL *w_current) |
Create the show text dialog. | |
void | major_changed_dialog (GSCHEM_TOPLEVEL *w_current) |
void | x_dialog_close_changed_page (GSCHEM_TOPLEVEL *w_current, PAGE *page) |
Asks for confirmation before closing a changed page. | |
gboolean | x_dialog_close_window (GSCHEM_TOPLEVEL *w_current) |
Asks for confirmation before closing a window. | |
int | x_dialog_validate_attribute (GtkWindow *parent, char *attribute) |
Validate the input attribute. | |
void | x_dialog_edit_pin_type (GSCHEM_TOPLEVEL *w_current, const GList *obj_list) |
Edit the type of a pin (bus or net) | |
gint | x_event_expose (GtkWidget *widget, GdkEventExpose *event, GSCHEM_TOPLEVEL *w_current) |
gint | x_event_button_pressed (GtkWidget *widget, GdkEventButton *event, GSCHEM_TOPLEVEL *w_current) |
gint | x_event_button_released (GtkWidget *widget, GdkEventButton *event, GSCHEM_TOPLEVEL *w_current) |
gint | x_event_motion (GtkWidget *widget, GdkEventMotion *event, GSCHEM_TOPLEVEL *w_current) |
gboolean | x_event_configure (GtkWidget *widget, GdkEventConfigure *event, gpointer user_data) |
Updates the GSCHEM_TOPLEVEL and display when drawing area is configured. | |
void | x_manual_resize (GSCHEM_TOPLEVEL *w_current) |
void | x_event_hschanged (GtkAdjustment *adj, GSCHEM_TOPLEVEL *w_current) |
void | x_event_vschanged (GtkAdjustment *adj, GSCHEM_TOPLEVEL *w_current) |
gint | x_event_enter (GtkWidget *widget, GdkEventCrossing *event, GSCHEM_TOPLEVEL *w_current) |
gboolean | x_event_key (GtkWidget *widget, GdkEventKey *event, GSCHEM_TOPLEVEL *w_current) |
gint | x_event_scroll (GtkWidget *widget, GdkEventScroll *event, GSCHEM_TOPLEVEL *w_current) |
gboolean | x_event_get_pointer_position (GSCHEM_TOPLEVEL *w_current, gboolean snapped, gint *wx, gint *wy) |
get the pointer position of a given GSCHEM_TOPLEVEL | |
void | x_compselect_open (GSCHEM_TOPLEVEL *w_current) |
Opens a component selection dialog. | |
void | x_compselect_close (GSCHEM_TOPLEVEL *w_current) |
Closes the component selection dialog. | |
void | x_compselect_deselect (GSCHEM_TOPLEVEL *w_current) |
void | x_fileselect_open (GSCHEM_TOPLEVEL *w_current) |
Opens a file chooser for opening one or more schematics. | |
void | x_fileselect_save (GSCHEM_TOPLEVEL *w_current) |
Opens a file chooser for saving the current page. | |
int | x_fileselect_load_backup (void *user_data, GString *message) |
Load/Backup selection dialog. | |
void | x_grid_draw_region (GSCHEM_TOPLEVEL *w_current, int x, int y, int width, int height) |
Draw an area of the screen with the current grid pattern. | |
int | x_grid_query_drawn_spacing (GSCHEM_TOPLEVEL *w_current) |
Query the spacing in world coordinates at which the grid is drawn. | |
void | x_draw_tiles (GSCHEM_TOPLEVEL *w_current) |
void | x_image_lowlevel (GSCHEM_TOPLEVEL *w_current, const char *filename, int desired_width, int desired_height, char *filetype) |
Write the image file, with the desired options. | |
void | x_image_setup (GSCHEM_TOPLEVEL *w_current) |
Display the image file selection dialog. | |
GdkPixbuf * | x_image_get_pixbuf (GSCHEM_TOPLEVEL *w_current) |
void | x_log_open () |
Open the Log window. | |
void | x_log_close () |
Close the Log window. | |
void | x_log_message (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message) |
Add a message to the Log window. | |
gboolean | x_show_uri (GSCHEM_TOPLEVEL *w_current, const gchar *buf, GError **err) |
Launch default application for a URI. | |
GtkWidget * | get_main_menu (GSCHEM_TOPLEVEL *w_current) |
GtkWidget * | get_main_popup (GSCHEM_TOPLEVEL *w_current) |
gint | do_popup (GSCHEM_TOPLEVEL *w_current, GdkEventButton *event) |
void | x_menus_sensitivity (GSCHEM_TOPLEVEL *w_current, const char *buf, int flag) |
void | x_menus_popup_sensitivity (GSCHEM_TOPLEVEL *w_current, const char *buf, int flag) |
void | x_menu_attach_recent_files_submenu (GSCHEM_TOPLEVEL *w_current) |
Attach a submenu with filenames to the 'Open Recent' menu item. | |
void | x_multiattrib_open (GSCHEM_TOPLEVEL *w_current) |
Open multiple attribute editor dialog. | |
void | x_multiattrib_close (GSCHEM_TOPLEVEL *w_current) |
Close the multiattrib dialog. | |
void | x_multiattrib_update (GSCHEM_TOPLEVEL *w_current) |
Update the multiattrib editor dialog for a GSCHEM_TOPLEVEL. | |
void | x_pagesel_open (GSCHEM_TOPLEVEL *w_current) |
Open the page manager dialog. | |
void | x_pagesel_close (GSCHEM_TOPLEVEL *w_current) |
Close the page manager dialog. | |
void | x_pagesel_update (GSCHEM_TOPLEVEL *w_current) |
Update the list and status of toplevel's pages. | |
void | x_print_setup (GSCHEM_TOPLEVEL *w_current, char *filename) |
void | x_rc_parse_gschem (GSCHEM_TOPLEVEL *w_current, const gchar *rcfile) |
Load gschem configuration files and display error dialogs. | |
void | setup_script_selector (GSCHEM_TOPLEVEL *w_current) |
Select a script and execute it. | |
void | x_stroke_init (void) |
void | x_stroke_free (void) |
void | x_stroke_record (GSCHEM_TOPLEVEL *w_current, gint x, gint y) |
gint | x_stroke_translate_and_execute (GSCHEM_TOPLEVEL *w_current) |
void | x_window_setup (GSCHEM_TOPLEVEL *w_current) |
void | x_window_setup_gc (GSCHEM_TOPLEVEL *w_current) |
void | x_window_free_gc (GSCHEM_TOPLEVEL *w_current) |
void | x_window_create_drawing (GtkWidget *drawbox, GSCHEM_TOPLEVEL *w_current) |
void | x_window_setup_draw_events (GSCHEM_TOPLEVEL *w_current) |
void | x_window_create_main (GSCHEM_TOPLEVEL *w_current) |
void | x_window_close (GSCHEM_TOPLEVEL *w_current) |
void | x_window_close_all (GSCHEM_TOPLEVEL *w_current) |
PAGE * | x_window_open_page (GSCHEM_TOPLEVEL *w_current, const gchar *filename) |
Opens a new page from a file. | |
void | x_window_set_current_page (GSCHEM_TOPLEVEL *w_current, PAGE *page) |
Changes the current page. | |
gint | x_window_save_page (GSCHEM_TOPLEVEL *w_current, PAGE *page, const gchar *filename) |
Saves a page to a file. | |
void | x_window_close_page (GSCHEM_TOPLEVEL *w_current, PAGE *page) |
Closes a page. | |
void | x_window_set_default_icon (void) |
Setup default icon for GTK windows. |
typedef void(* gschem_atexit_func)(gpointer data) |
Definition at line 279 of file prototype.h.
GSCHEM_TOPLEVEL* gschem_toplevel_new | ( | ) |
Definition at line 24 of file gschem_toplevel.c.
void gschem_toplevel_alloc_libgeda_toplevel | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void a_pan_general | ( | GSCHEM_TOPLEVEL * | w_current, |
double | world_cx, | ||
double | world_cy, | ||
double | relativ_zoom_factor, | ||
int | flags | ||
) |
void a_pan | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
Definition at line 175 of file a_pan.c.
void a_pan_mouse | ( | GSCHEM_TOPLEVEL * | w_current, |
int | diff_x, | ||
int | diff_y | ||
) |
void a_zoom | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dir, | ||
int | selected_from, | ||
int | pan_flags | ||
) |
void a_zoom_extents | ( | GSCHEM_TOPLEVEL * | w_current, |
const GList * | list, | ||
int | pan_flags | ||
) |
Definition at line 149 of file a_zoom.c.
void a_zoom_box | ( | GSCHEM_TOPLEVEL * | w_current, |
int | pan_flags | ||
) |
void a_zoom_box_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
void a_zoom_box_end | ( | GSCHEM_TOPLEVEL * | w_current, |
int | x, | ||
int | y | ||
) |
void a_zoom_box_motion | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
void a_zoom_box_invalidate_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void a_zoom_box_draw_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void correct_aspect | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void g_init_attrib | ( | ) |
Registers some Scheme procedures for working with attributes. Should only be called by main_prog().
Definition at line 161 of file g_attrib.c.
SCM g_funcs_print | ( | SCM | scm_filename | ) |
SCM g_funcs_postscript | ( | SCM | scm_filename | ) |
SCM g_funcs_image | ( | SCM | scm_filename | ) |
SCM g_funcs_exit | ( | void | ) |
SCM g_funcs_log | ( | SCM | scm_msg | ) |
SCM g_funcs_msg | ( | SCM | scm_msg | ) |
SCM g_funcs_confirm | ( | SCM | scm_msg | ) |
SCM g_funcs_filesel | ( | SCM | scm_msg, |
SCM | scm_templ, | ||
SCM | scm_flags | ||
) |
Definition at line 207 of file g_funcs.c.
SCM g_funcs_use_rc_values | ( | void | ) |
SCM get_selected_component_attributes | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void g_init_hook | ( | ) |
Registers gschem's Guile hooks for various events.. Should only be called by main_prog().
Definition at line 180 of file g_hook.c.
void g_run_hook_object | ( | GSCHEM_TOPLEVEL * | w_current, |
const char * | name, | ||
OBJECT * | obj | ||
) |
name | name of hook to run. |
obj | #OBJECT argument for hook. |
Definition at line 103 of file g_hook.c.
void g_run_hook_object_list | ( | GSCHEM_TOPLEVEL * | w_current, |
const char * | name, | ||
GList * | obj_lst | ||
) |
name | name of hook to run. |
obj_lst | list of #OBJECT smobs as hook argument. |
Definition at line 70 of file g_hook.c.
void g_run_hook_page | ( | GSCHEM_TOPLEVEL * | w_current, |
const char * | name, | ||
PAGE * | page | ||
) |
void g_keys_reset | ( | GSCHEM_TOPLEVEL * | w_current | ) |
w_current | The active GSCHEM_TOPLEVEL context. |
Definition at line 499 of file g_keys.c.
int g_keys_execute | ( | GSCHEM_TOPLEVEL * | w_current, |
GdkEventKey * | event | ||
) |
w_current | The active GSCHEM_TOPLEVEL context. |
event | A GdkEventKey structure. |
Definition at line 527 of file g_keys.c.
GtkListStore* g_keys_to_list_store | ( | void | ) |
dump-global-keymap
into a GtkListStore with two columns. The first column contains the name of the action executed by the keybinding as a string, and the second contains the keybinding itself as a string suitable for display.The returned value must be freed by caller.
void g_init_keys | ( | ) |
Definition at line 697 of file g_keys.c.
void g_rc_parse_gtkrc | ( | ) |
SCM g_rc_gschem_version | ( | SCM | scm_version | ) |
Implements the Scheme function "gschem-version". Tests the version string in the argument against the version of the application itself.
[in] | scm_version | Scheme object containing RC file version string |
Definition at line 73 of file g_rc.c.
SCM g_rc_net_endpoint_mode | ( | SCM | mode | ) |
SCM g_rc_net_midpoint_mode | ( | SCM | mode | ) |
SCM g_rc_net_direction_mode | ( | SCM | mode | ) |
SCM g_rc_net_selection_mode | ( | SCM | mode | ) |
SCM g_rc_net_style | ( | SCM | mode | ) |
SCM g_rc_bus_style | ( | SCM | mode | ) |
SCM g_rc_pin_style | ( | SCM | mode | ) |
SCM g_rc_line_style | ( | SCM | mode | ) |
SCM g_rc_action_feedback_mode | ( | SCM | mode | ) |
SCM g_rc_zoom_with_pan | ( | SCM | mode | ) |
SCM g_rc_text_feedback | ( | SCM | mode | ) |
SCM g_rc_text_display_zoomfactor | ( | SCM | zoomfactor | ) |
SCM g_rc_scrollbar_update | ( | SCM | scmmode | ) |
SCM g_rc_object_clipping | ( | SCM | mode | ) |
SCM g_rc_logging | ( | SCM | mode | ) |
SCM g_rc_embed_components | ( | SCM | mode | ) |
SCM g_rc_component_dialog_attributes | ( | SCM | stringlist | ) |
Definition at line 406 of file g_rc.c.
SCM g_rc_text_size | ( | SCM | size | ) |
SCM g_rc_text_caps_style | ( | SCM | mode | ) |
SCM g_rc_snap_size | ( | SCM | size | ) |
SCM g_rc_logging_destination | ( | SCM | mode | ) |
SCM g_rc_attribute_name | ( | SCM | scm_path | ) |
SCM g_rc_scrollbars | ( | SCM | mode | ) |
SCM g_rc_paper_size | ( | SCM | width, |
SCM | height | ||
) |
SCM g_rc_paper_sizes | ( | SCM | scm_papername, |
SCM | scm_width, | ||
SCM | scm_height | ||
) |
SCM g_rc_output_type | ( | SCM | mode | ) |
SCM g_rc_output_orientation | ( | SCM | mode | ) |
SCM g_rc_image_color | ( | SCM | mode | ) |
SCM g_rc_image_size | ( | SCM | width, |
SCM | height | ||
) |
SCM g_rc_output_color | ( | SCM | mode | ) |
SCM g_rc_output_capstyle | ( | SCM | mode | ) |
SCM g_rc_log_window | ( | SCM | mode | ) |
SCM g_rc_log_window_type | ( | SCM | mode | ) |
SCM g_rc_third_button | ( | SCM | mode | ) |
SCM g_rc_middle_button | ( | SCM | mode | ) |
SCM g_rc_scroll_wheel | ( | SCM | mode | ) |
SCM g_rc_net_consolidate | ( | SCM | mode | ) |
SCM g_rc_file_preview | ( | SCM | mode | ) |
SCM g_rc_enforce_hierarchy | ( | SCM | mode | ) |
SCM g_rc_text_origin_marker | ( | SCM | mode | ) |
SCM g_rc_fast_mousepan | ( | SCM | mode | ) |
SCM g_rc_raise_dialog_boxes_on_expose | ( | SCM | mode | ) |
SCM g_rc_continue_component_place | ( | SCM | mode | ) |
SCM g_rc_undo_levels | ( | SCM | levels | ) |
SCM g_rc_undo_control | ( | SCM | mode | ) |
SCM g_rc_undo_type | ( | SCM | mode | ) |
SCM g_rc_undo_panzoom | ( | SCM | mode | ) |
SCM g_rc_draw_grips | ( | SCM | mode | ) |
SCM g_rc_netconn_rubberband | ( | SCM | mode | ) |
SCM g_rc_magnetic_net_mode | ( | SCM | mode | ) |
SCM g_rc_sort_component_library | ( | SCM | mode | ) |
SCM g_rc_add_menu | ( | SCM | scm_menu_name, |
SCM | scm_menu_items | ||
) |
SCM g_rc_window_size | ( | SCM | width, |
SCM | height | ||
) |
SCM g_rc_warp_cursor | ( | SCM | mode | ) |
SCM g_rc_toolbars | ( | SCM | mode | ) |
SCM g_rc_handleboxes | ( | SCM | mode | ) |
SCM g_rc_setpagedevice_orientation | ( | SCM | mode | ) |
SCM g_rc_setpagedevice_pagesize | ( | SCM | mode | ) |
SCM g_rc_bus_ripper_size | ( | SCM | size | ) |
SCM g_rc_bus_ripper_type | ( | SCM | mode | ) |
SCM g_rc_bus_ripper_rotation | ( | SCM | mode | ) |
SCM g_rc_force_boundingbox | ( | SCM | mode | ) |
SCM g_rc_dots_grid_dot_size | ( | SCM | dotsize | ) |
SCM g_rc_dots_grid_mode | ( | SCM | mode | ) |
SCM g_rc_dots_grid_fixed_threshold | ( | SCM | spacing | ) |
SCM g_rc_mesh_grid_display_threshold | ( | SCM | spacing | ) |
SCM g_rc_add_attribute_offset | ( | SCM | offset | ) |
SCM g_rc_auto_save_interval | ( | SCM | seconds | ) |
SCM g_rc_mousepan_gain | ( | SCM | gain | ) |
SCM g_rc_keyboardpan_gain | ( | SCM | gain | ) |
SCM g_rc_print_command | ( | SCM | scm_command | ) |
SCM g_rc_select_slack_pixels | ( | SCM | pixels | ) |
SCM g_rc_zoom_gain | ( | SCM | gain | ) |
SCM g_rc_scrollpan_steps | ( | SCM | steps | ) |
void g_register_funcs | ( | void | ) |
Definition at line 319 of file g_register.c.
void g_init_select | ( | ) |
Definition at line 180 of file g_select.c.
void g_init_util | ( | ) |
Definition at line 88 of file g_util.c.
GSCHEM_TOPLEVEL* g_current_window | ( | ) |
Definition at line 130 of file g_window.c.
void g_dynwind_window | ( | GSCHEM_TOPLEVEL * | w_current | ) |
This function must be used inside a pair of calls to scm_dynwind_begin() and scm_dynwind_end(). During the dynwind context, the GSCHEM_TOPLEVEL fluid is set to w_current.
[in] | w_current | The new GSCHEM_TOPLEVEL pointer. |
Definition at line 103 of file g_window.c.
void g_init_window | ( | ) |
Registers some Scheme procedures for working with GSCHEM_TOPLEVEL smobs and creates the GSCHEM_TOPLEVEL fluid. Should only be called by main_prog().
Definition at line 324 of file g_window.c.
void gschem_atexit | ( | gschem_atexit_func | func, |
gpointer | data | ||
) |
[in] | func | a pointer to the function to be registered |
[in] | data | an arbitrary argument provided to the function when it is called |
void gschem_quit | ( | void | ) |
void main_prog | ( | void * | closure, |
int | argc, | ||
char * | argv[] | ||
) |
Definition at line 129 of file gschem.c.
int main | ( | int | argc, |
char * | argv[] | ||
) |
void gschem_cairo_line | ( | GSCHEM_TOPLEVEL * | w_current, |
int | line_end, | ||
int | line_width, | ||
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2 | ||
) |
void gschem_cairo_box | ( | GSCHEM_TOPLEVEL * | w_current, |
int | line_width, | ||
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2 | ||
) |
void gschem_cairo_center_box | ( | GSCHEM_TOPLEVEL * | w_current, |
int | center_width, | ||
int | line_width, | ||
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2 | ||
) |
void gschem_cairo_arc | ( | GSCHEM_TOPLEVEL * | w_current, |
int | line_width, | ||
int | x, | ||
int | y, | ||
int | radius, | ||
int | start_angle, | ||
int | end_angle | ||
) |
void gschem_cairo_center_arc | ( | GSCHEM_TOPLEVEL * | w_current, |
int | center_width, | ||
int | line_width, | ||
int | x, | ||
int | y, | ||
int | radius, | ||
int | start_angle, | ||
int | end_angle | ||
) |
void gschem_cairo_stroke | ( | GSCHEM_TOPLEVEL * | w_current, |
int | line_type, | ||
int | line_end, | ||
int | width, | ||
int | length, | ||
int | space | ||
) |
void gschem_cairo_set_source_color | ( | GSCHEM_TOPLEVEL * | w_current, |
COLOR * | color | ||
) |
Definition at line 392 of file gschem_cairo.c.
void i_show_state | ( | GSCHEM_TOPLEVEL * | w_current, |
const char * | message | ||
) |
void i_set_state | ( | GSCHEM_TOPLEVEL * | w_current, |
enum x_states | newstate | ||
) |
void i_set_state_msg | ( | GSCHEM_TOPLEVEL * | w_current, |
enum x_states | newstate, | ||
const char * | message | ||
) |
void i_update_middle_button | ( | GSCHEM_TOPLEVEL * | w_current, |
void(*)() | func_ptr, | ||
const char * | string | ||
) |
void i_update_toolbar | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | GSCHEM_TOPLEVEL structure |
void i_update_menus | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void i_set_filename | ( | GSCHEM_TOPLEVEL * | w_current, |
const gchar * | string | ||
) |
void i_update_grid_info | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | GSCHEM_TOPLEVEL structure |
Definition at line 555 of file i_basic.c.
void i_callback_file_new | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
right now, all callbacks except for the ones on the File menu have the middle button shortcut. Let me (Ales) know if we should also shortcut the File button
Definition at line 66 of file i_callbacks.c.
void i_callback_toolbar_file_new | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Definition at line 87 of file i_callbacks.c.
void i_callback_file_new_window | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 101 of file i_callbacks.c.
void i_callback_file_open | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 137 of file i_callbacks.c.
void i_callback_toolbar_file_open | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Definition at line 156 of file i_callbacks.c.
void i_callback_file_script | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 170 of file i_callbacks.c.
void i_callback_file_save | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 187 of file i_callbacks.c.
void i_callback_toolbar_file_save | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Definition at line 218 of file i_callbacks.c.
void i_callback_file_save_all | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 235 of file i_callbacks.c.
void i_callback_file_save_as | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 257 of file i_callbacks.c.
void i_callback_file_print | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 270 of file i_callbacks.c.
void i_callback_file_write_png | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 309 of file i_callbacks.c.
void i_callback_file_close | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 328 of file i_callbacks.c.
int i_callback_close | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 348 of file i_callbacks.c.
void i_callback_file_quit | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 362 of file i_callbacks.c.
void i_callback_edit_undo | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
void i_callback_toolbar_edit_undo | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Definition at line 406 of file i_callbacks.c.
void i_callback_edit_redo | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 420 of file i_callbacks.c.
void i_callback_toolbar_edit_redo | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Definition at line 435 of file i_callbacks.c.
void i_callback_edit_select | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 451 of file i_callbacks.c.
void i_callback_toolbar_edit_select | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Definition at line 470 of file i_callbacks.c.
void i_callback_edit_select_all | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 488 of file i_callbacks.c.
void i_callback_edit_deselect | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 505 of file i_callbacks.c.
void i_callback_edit_copy | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 523 of file i_callbacks.c.
void i_callback_edit_copy_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 543 of file i_callbacks.c.
void i_callback_edit_mcopy | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 568 of file i_callbacks.c.
void i_callback_edit_mcopy_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 588 of file i_callbacks.c.
void i_callback_edit_move | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 613 of file i_callbacks.c.
void i_callback_edit_move_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 633 of file i_callbacks.c.
void i_callback_edit_delete | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 657 of file i_callbacks.c.
void i_callback_edit_edit | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 682 of file i_callbacks.c.
void i_callback_edit_pin_type | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 697 of file i_callbacks.c.
void i_callback_edit_text | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 715 of file i_callbacks.c.
void i_callback_edit_slot | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 736 of file i_callbacks.c.
void i_callback_edit_color | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 756 of file i_callbacks.c.
void i_callback_edit_rotate_90 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 773 of file i_callbacks.c.
void i_callback_edit_rotate_90_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 808 of file i_callbacks.c.
void i_callback_edit_mirror | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 859 of file i_callbacks.c.
void i_callback_edit_mirror_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 874 of file i_callbacks.c.
void i_callback_edit_lock | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 906 of file i_callbacks.c.
void i_callback_edit_unlock | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 924 of file i_callbacks.c.
void i_callback_edit_translate | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 941 of file i_callbacks.c.
void i_callback_edit_invoke_macro | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 969 of file i_callbacks.c.
void i_callback_edit_embed | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 985 of file i_callbacks.c.
void i_callback_edit_unembed | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1024 of file i_callbacks.c.
void i_callback_edit_update | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1063 of file i_callbacks.c.
void i_callback_edit_show_hidden | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1107 of file i_callbacks.c.
void i_callback_edit_find | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1131 of file i_callbacks.c.
void i_callback_edit_hide_text | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1150 of file i_callbacks.c.
void i_callback_edit_show_text | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1169 of file i_callbacks.c.
void i_callback_edit_autonumber_text | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1188 of file i_callbacks.c.
void i_callback_edit_linetype | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1207 of file i_callbacks.c.
void i_callback_edit_filltype | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1221 of file i_callbacks.c.
void i_callback_view_redraw | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
void i_callback_view_zoom_full | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1254 of file i_callbacks.c.
void i_callback_view_zoom_extents | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1275 of file i_callbacks.c.
void i_callback_view_zoom_box | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1296 of file i_callbacks.c.
void i_callback_view_zoom_box_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1312 of file i_callbacks.c.
void i_callback_view_zoom_in | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1336 of file i_callbacks.c.
void i_callback_view_zoom_out | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1356 of file i_callbacks.c.
void i_callback_view_zoom_in_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1377 of file i_callbacks.c.
void i_callback_view_zoom_out_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1397 of file i_callbacks.c.
void i_callback_view_pan | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1415 of file i_callbacks.c.
void i_callback_view_pan_left | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
The distance can be set with "keyboardpan-gain" scheme callback.
Definition at line 1433 of file i_callbacks.c.
void i_callback_view_pan_right | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
The distance can be set with "keyboardpan-gain" scheme callback.
Definition at line 1446 of file i_callbacks.c.
void i_callback_view_pan_up | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
The distance can be set with "keyboardpan-gain" scheme callback.
Definition at line 1460 of file i_callbacks.c.
void i_callback_view_pan_down | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
The distance can be set with "keyboardpan-gain" scheme callback.
Definition at line 1473 of file i_callbacks.c.
void i_callback_view_pan_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1488 of file i_callbacks.c.
void i_callback_view_dark_colors | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1512 of file i_callbacks.c.
void i_callback_view_light_colors | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1529 of file i_callbacks.c.
void i_callback_view_bw_colors | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1546 of file i_callbacks.c.
void i_callback_page_manager | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
void i_callback_page_next | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1578 of file i_callbacks.c.
void i_callback_page_prev | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1613 of file i_callbacks.c.
void i_callback_page_new | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1649 of file i_callbacks.c.
void i_callback_page_close | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1667 of file i_callbacks.c.
void i_callback_page_revert | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1687 of file i_callbacks.c.
void i_callback_page_discard | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1739 of file i_callbacks.c.
void i_callback_page_print | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1753 of file i_callbacks.c.
void i_callback_clipboard_copy | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
void i_callback_clipboard_cut | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1783 of file i_callbacks.c.
void i_callback_clipboard_paste | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1801 of file i_callbacks.c.
void i_callback_clipboard_paste_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1830 of file i_callbacks.c.
void i_callback_buffer_copy1 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
void i_callback_buffer_copy2 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1876 of file i_callbacks.c.
void i_callback_buffer_copy3 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1895 of file i_callbacks.c.
void i_callback_buffer_copy4 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1914 of file i_callbacks.c.
void i_callback_buffer_copy5 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1933 of file i_callbacks.c.
void i_callback_buffer_cut1 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1952 of file i_callbacks.c.
void i_callback_buffer_cut2 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1971 of file i_callbacks.c.
void i_callback_buffer_cut3 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 1990 of file i_callbacks.c.
void i_callback_buffer_cut4 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2009 of file i_callbacks.c.
void i_callback_buffer_cut5 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2028 of file i_callbacks.c.
void i_callback_buffer_paste1 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2047 of file i_callbacks.c.
void i_callback_buffer_paste2 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2069 of file i_callbacks.c.
void i_callback_buffer_paste3 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2091 of file i_callbacks.c.
void i_callback_buffer_paste4 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2113 of file i_callbacks.c.
void i_callback_buffer_paste5 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2135 of file i_callbacks.c.
void i_callback_buffer_paste1_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2157 of file i_callbacks.c.
void i_callback_buffer_paste2_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2179 of file i_callbacks.c.
void i_callback_buffer_paste3_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2201 of file i_callbacks.c.
void i_callback_buffer_paste4_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2223 of file i_callbacks.c.
void i_callback_buffer_paste5_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2245 of file i_callbacks.c.
void i_callback_add_component | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
void i_callback_toolbar_add_component | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Definition at line 2292 of file i_callbacks.c.
void i_callback_add_attribute | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2306 of file i_callbacks.c.
void i_callback_add_attribute_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2325 of file i_callbacks.c.
void i_callback_add_net | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2344 of file i_callbacks.c.
void i_callback_add_net_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2367 of file i_callbacks.c.
void i_callback_toolbar_add_net | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Definition at line 2400 of file i_callbacks.c.
void i_callback_add_bus | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2416 of file i_callbacks.c.
void i_callback_add_bus_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2439 of file i_callbacks.c.
void i_callback_toolbar_add_bus | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Definition at line 2471 of file i_callbacks.c.
void i_callback_add_text | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2487 of file i_callbacks.c.
void i_callback_toolbar_add_text | ( | GtkWidget * | widget, |
gpointer | data | ||
) |
Definition at line 2511 of file i_callbacks.c.
void i_callback_add_line | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2525 of file i_callbacks.c.
void i_callback_add_line_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2544 of file i_callbacks.c.
void i_callback_add_box | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2570 of file i_callbacks.c.
void i_callback_add_box_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2589 of file i_callbacks.c.
void i_callback_add_picture | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2615 of file i_callbacks.c.
void i_callback_add_picture_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2636 of file i_callbacks.c.
void i_callback_add_circle | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2649 of file i_callbacks.c.
void i_callback_add_circle_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2668 of file i_callbacks.c.
void i_callback_add_arc | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2695 of file i_callbacks.c.
void i_callback_add_arc_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2714 of file i_callbacks.c.
void i_callback_add_pin | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2740 of file i_callbacks.c.
void i_callback_add_pin_hotkey | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2759 of file i_callbacks.c.
void i_callback_hierarchy_down_schematic | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
void i_callback_hierarchy_down_symbol | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2906 of file i_callbacks.c.
void i_callback_hierarchy_up | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 2945 of file i_callbacks.c.
void i_callback_attributes_attach | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
void i_callback_attributes_detach | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3024 of file i_callbacks.c.
void i_callback_attributes_show_name | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3071 of file i_callbacks.c.
void i_callback_attributes_show_value | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3108 of file i_callbacks.c.
void i_callback_attributes_show_both | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3145 of file i_callbacks.c.
void i_callback_attributes_visibility_toggle | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3182 of file i_callbacks.c.
void i_callback_script_console | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3223 of file i_callbacks.c.
void i_callback_options_text_size | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
void i_callback_options_snap_size | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3254 of file i_callbacks.c.
void i_callback_options_scale_up_snap_size | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3267 of file i_callbacks.c.
void i_callback_options_scale_down_snap_size | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3286 of file i_callbacks.c.
void i_callback_options_afeedback | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3310 of file i_callbacks.c.
void i_callback_options_grid | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3333 of file i_callbacks.c.
void i_callback_options_snap | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3360 of file i_callbacks.c.
void i_callback_options_rubberband | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3395 of file i_callbacks.c.
void i_callback_options_magneticnet | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3414 of file i_callbacks.c.
void i_callback_options_show_log_window | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3433 of file i_callbacks.c.
void i_callback_misc | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3448 of file i_callbacks.c.
void i_callback_misc2 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3459 of file i_callbacks.c.
void i_callback_misc3 | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3470 of file i_callbacks.c.
void i_callback_cancel | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3483 of file i_callbacks.c.
void i_callback_help_about | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
void i_callback_help_hotkeys | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3562 of file i_callbacks.c.
void i_callback_options_show_coord_window | ( | gpointer | data, |
guint | callback_action, | ||
GtkWidget * | widget | ||
) |
Definition at line 3575 of file i_callbacks.c.
gboolean i_callback_close_wm | ( | GtkWidget * | widget, |
GdkEvent * | event, | ||
gpointer | data | ||
) |
Definition at line 3596 of file i_callbacks.c.
void i_vars_set | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void i_vars_freenames | ( | ) |
int mil_x | ( | GSCHEM_TOPLEVEL * | w_current, |
int | val | ||
) |
int mil_y | ( | GSCHEM_TOPLEVEL * | w_current, |
int | val | ||
) |
int pix_x | ( | GSCHEM_TOPLEVEL * | w_current, |
int | val | ||
) |
int pix_y | ( | GSCHEM_TOPLEVEL * | w_current, |
int | val | ||
) |
void WORLDtoSCREEN | ( | GSCHEM_TOPLEVEL * | w_current, |
int | x, | ||
int | y, | ||
int * | px, | ||
int * | py | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | x | The x coordinate in WORLD units. |
[in] | y | The y coordinate in WORLD units. |
[out] | px | The x coordinate in SCREEN units. |
[out] | py | The y coordinate in SCREEN units. |
Definition at line 167 of file m_basic.c.
void SCREENtoWORLD | ( | GSCHEM_TOPLEVEL * | w_current, |
int | mx, | ||
int | my, | ||
int * | x, | ||
int * | y | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | mx | The x coordinate in SCREEN units. |
[in] | my | The y coordinate in SCREEN units. |
[out] | x | The x coordinate in WORLD units. |
[out] | y | The y coordinate in WORLD units. |
Definition at line 187 of file m_basic.c.
int snap_grid | ( | GSCHEM_TOPLEVEL * | w_current, |
int | input | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | input | The coordinate to snap. |
Definition at line 202 of file m_basic.c.
int SCREENabs | ( | GSCHEM_TOPLEVEL * | w_current, |
int | val | ||
) |
int WORLDabs | ( | GSCHEM_TOPLEVEL * | w_current, |
int | val | ||
) |
int WORLDclip_change | ( | GSCHEM_TOPLEVEL * | w_current, |
int * | x1, | ||
int * | y1, | ||
int * | x2, | ||
int * | y2 | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in,out] | x1 | x coordinate of the first screen point. |
[in,out] | y1 | y coordinate of the first screen point. |
[in,out] | x2 | x coordinate of the second screen point. |
[in,out] | y2 | y coordinate of the second screen point. |
Definition at line 346 of file m_basic.c.
int clip_nochange | ( | GSCHEM_TOPLEVEL * | w_current, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2 | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in,out] | x1 | x coordinate of the first screen point. |
[in,out] | y1 | y coordinate of the first screen point. |
[in,out] | x2 | x coordinate of the second screen point. |
[in,out] | y2 | y coordinate of the second screen point. |
Definition at line 477 of file m_basic.c.
int visible | ( | GSCHEM_TOPLEVEL * | w_current, |
int | wleft, | ||
int | wtop, | ||
int | wright, | ||
int | wbottom | ||
) |
WARNING: top and bottom are mis-named in world-coords, top is the smallest "y" value, and bottom is the largest. Be careful! This doesn't correspond to what you'd expect.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | wleft | Left coordinate of the bounding box. |
[in] | wtop | Top coordinate of the bounding box. |
[in] | wright | Right coordinate of the bounding box. |
[in] | wbottom | Bottom coordinate of the bounding box. |
Definition at line 606 of file m_basic.c.
double round_5_2_1 | ( | double | unrounded | ) |
[in] | unrounded | The number to be rounded. |
void o_arc_draw | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
It first checkes if the object is valid or not. If not it returns and do not output anything. That should never happen though.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | o_current | The arc OBJECT to draw. |
Definition at line 44 of file o_arc.c.
void o_arc_invalidate_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_arc_draw_place | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
OBJECT * | o_current | ||
) |
The arc is displayed with the color of the object.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | dx | Delta x coordinate for arc. |
[in] | dy | Delta y coordinate for arc. |
[in] | o_current | Arc OBJECT to draw. |
Definition at line 100 of file o_arc.c.
void o_arc_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
First step of the arc input is to set the radius of the arc. The center of the arc is kept in (w_current->first_wx,w_current->first_wy). The radius of the arc is in w_current->distance.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world units. |
[in] | w_y | Current y coordinate of pointer in world units. |
Definition at line 129 of file o_arc.c.
void o_arc_end1 | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
At the end of this function, the center of the arc is at (w_current->first_wx,w_current->first_wy) and its radius is w_current->distance.
The two angles needs to be input to fully define the arc.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | (unused) |
[in] | w_y | (unused) |
Definition at line 163 of file o_arc.c.
void o_arc_end4 | ( | GSCHEM_TOPLEVEL * | w_current, |
int | radius, | ||
int | start_angle, | ||
int | end_angle | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | radius | Radius of the arc |
[in] | start_angle | Start of angle in degrees. |
[in] | end_angle | End of angle in degrees. |
Definition at line 197 of file o_arc.c.
void o_arc_motion | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y, | ||
int | whichone | ||
) |
The previous temporary arc is erased, the angle is then computed and updated and finally a new temporary arc with the new angle is drawn.
The arc is internally described by :
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world units. |
[in] | w_y | Current y coordinate of pointer in world units. |
[in] | whichone | Which angle to change. |
whichone can have one of the following values:
Definition at line 258 of file o_arc.c.
void o_arc_draw_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
Definition at line 318 of file o_arc.c.
void o_arc_draw_grips | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
[in] | w_current | The GSCHE_TOPLEVEL object. |
[in] | o_current | Arc OBJECT to draw grip points on. |
Definition at line 353 of file o_arc.c.
void o_attrib_add_selected | ( | GSCHEM_TOPLEVEL * | w_current, |
SELECTION * | selection, | ||
OBJECT * | selected | ||
) |
Definition at line 52 of file o_attrib.c.
void o_attrib_deselect_invisible | ( | GSCHEM_TOPLEVEL * | w_current, |
SELECTION * | selection, | ||
OBJECT * | selected | ||
) |
Remove all invisible attributes attached to the given object from the selection list. If hidden text is being shown, this function returns immediately.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in,out] | selection | The SELECTION list to remove from. |
[in] | object | The OBJECT whose invisible attributes to remove. |
Definition at line 91 of file o_attrib.c.
void o_attrib_select_invisible | ( | GSCHEM_TOPLEVEL * | w_current, |
SELECTION * | selection, | ||
OBJECT * | selected | ||
) |
Add all invisible attributes attached to the given object to the selection list. If hidden text is being shown, this function returns immediately.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in,out] | selection | The SELECTION list to add to. |
[in] | object | The OBJECT whose invisible attributes to add. |
Definition at line 125 of file o_attrib.c.
void o_attrib_toggle_visibility | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | object | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | object | The attribute object. |
Definition at line 157 of file o_attrib.c.
void o_attrib_toggle_show_name_value | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | object, | ||
int | show_name_value | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | object | The attribute object. |
[in] | show_name_value | The new display flag for attribute. |
Definition at line 200 of file o_attrib.c.
OBJECT* o_attrib_add_attrib | ( | GSCHEM_TOPLEVEL * | w_current, |
const char * | text_string, | ||
int | visibility, | ||
int | show_name_value, | ||
OBJECT * | object | ||
) |
Definition at line 222 of file o_attrib.c.
void o_redraw_rects | ( | GSCHEM_TOPLEVEL * | w_current, |
GdkRectangle * | rectangles, | ||
int | n_rectangles | ||
) |
void o_redraw | ( | GSCHEM_TOPLEVEL * | w_current, |
GList * | object_list, | ||
gboolean | draw_selected | ||
) |
void o_redraw_single | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
int o_invalidate_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
int o_redraw_cleanstates | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 319 of file o_basic.c.
void o_draw_place | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
OBJECT * | object | ||
) |
void o_glist_draw_place | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
GList * | list | ||
) |
void o_invalidate_rect | ( | GSCHEM_TOPLEVEL * | w_current, |
int | x1, | ||
int | y1, | ||
int | x2, | ||
int | y2 | ||
) |
Given a pair of (x,y) coordinates in SCREEN units, invalidate the rectangular on-screen drawing area which has those two coordinate pairs as opposite corners of its region. This will cause that region to be blitted from the back-buffer once the mainloop reaches idle.
A margin, INVALIDATE_MARGIN is added to the invalidated region as a hacky workaround for rounding errors which may occur in the WORLD -> SCREEN coordinate transform. This margin may also be used to expand the invalidated region if anti-aliased drawing is ever used.
A further, larger margin is added to account for invalidating the size occupied by an object's grips.
If the GSCHEM_TOPLEVEL in question is not rendering to a GDK_WINDOW, (e.g. image export), this function call is a no-op. A test is used: GDK_IS_WINDOW(), which should be safe since in either case, w_current->window is a GObject. This is really a _HACK_, and should be fixed with a re-worked drawing model.
[in] | w_current | The GSCHEM_TOPLEVEL who's drawing area is being invalidated. |
[in] | x1 | X coord for corner 1 (SCREEN units) |
[in] | y1 | Y coord for corner 1 (SCREEN units) |
[in] | x2 | X coord for corner 2 (SCREEN units) |
[in] | y2 | Y coord for corner 2 (SCREEN units) |
Definition at line 494 of file o_basic.c.
void o_invalidate_all | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_invalidate | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | object | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | object | The OBJECT invalidated on screen. |
Definition at line 542 of file o_basic.c.
void o_invalidate_glist | ( | GSCHEM_TOPLEVEL * | w_current, |
GList * | list | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | list | The glist objects invalidated on screen. |
Definition at line 565 of file o_basic.c.
COLOR* o_drawing_color | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | object | ||
) |
The parent field of the OBJECT structure is used to recurse down and check whether the OBJECT being drawn is a prim_obj belonging to some selected OBJECT. If so, SELECT_COLOR is used.
As a convenience, the appropriate color index is looked up using x_color_lookup(), so that code is not duplicated in each drawing function.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | object | The OBJECT whos color to return. |
Definition at line 597 of file o_basic.c.
void o_box_draw | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
It first checks if the OBJECT pointed is valid or not. If not it returns and do not output anything. That should never happen though.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | o_current | BOX OBJECT to draw. |
Definition at line 200 of file o_box.c.
void o_box_invalidate_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_box_draw_place | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
OBJECT * | o_current | ||
) |
The box is displayed with the color of the object.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | dx | Delta x coordinate for box. |
[in] | dy | Delta y coordinate for box. |
[in] | o_current | Box OBJECT to draw. |
Definition at line 353 of file o_box.c.
void o_box_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The first step is to input one corner of the box. This corner is (w_x,w_y) snapped to the grid and saved in w_current->first_wx and w_current->first_wy.
The other corner will be saved in (w_current->second_wx, w_current->second_wy).
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world. |
[in] | w_y | Current y coordinate of pointer in world. |
Definition at line 386 of file o_box.c.
void o_box_end | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The temporary box is erased ; a new box object is allocated, initialized and linked to the object list ; The object is finally drawn on the current sheet.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world units. |
[in] | w_y | Current y coordinate of pointer in world units. |
Definition at line 412 of file o_box.c.
void o_box_motion | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The old values are inside the w_current pointed structure. Old width, height and left and top values are recomputed by the corresponding macros.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world units. |
[in] | w_y | Current y coordinate of pointer in world units. |
Definition at line 481 of file o_box.c.
void o_box_draw_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
Definition at line 515 of file o_box.c.
void o_box_draw_grips | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
void o_buffer_copy | ( | GSCHEM_TOPLEVEL * | w_current, |
int | buf_num | ||
) |
Definition at line 51 of file o_buffer.c.
void o_buffer_cut | ( | GSCHEM_TOPLEVEL * | w_current, |
int | buf_num | ||
) |
Definition at line 66 of file o_buffer.c.
void o_buffer_paste_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y, | ||
int | buf_num | ||
) |
Definition at line 82 of file o_buffer.c.
void o_buffer_init | ( | void | ) |
Definition at line 136 of file o_buffer.c.
void o_buffer_free | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 150 of file o_buffer.c.
void o_bus_draw | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
void o_bus_draw_place | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
OBJECT * | o_current | ||
) |
void o_bus_draw_stretch | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
int | whichone, | ||
OBJECT * | o_current | ||
) |
void o_bus_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The start point is stored in first_wx, first_wy.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | the x position in world coords |
[in] | w_y | the y position in world coords |
int o_bus_end | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The function returns TRUE if a bus object has been created and FALSE if no bus object has been created.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | (unused) |
[in] | w_y | (unused) |
Definition at line 160 of file o_bus.c.
void o_bus_motion | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The function stores creates an non-orthogonal bus segment if the CONTROLKEY is pressed. The coordinates of the second rubberbus point is stored as (second_wx,second_wy) in the GSCHEM_TOPLEVEL structure.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | current x position in world units |
[in] | w_y | current y position in world units |
Definition at line 222 of file o_bus.c.
void o_bus_draw_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
The function can be used to draw or erase the rubberbus on the screen.
[in] | w_current | The GSCHEM_TOPLEVEL object |
Definition at line 288 of file o_bus.c.
void o_bus_invalidate_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_circle_draw | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
It first checks if the OBJECT pointed is valid or not. If not it returns and do not output anything. That should never happen though.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | o_current | Circle OBJECT to draw. |
Definition at line 208 of file o_circle.c.
void o_circle_invalidate_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 319 of file o_circle.c.
void o_circle_draw_place | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
OBJECT * | o_current | ||
) |
The circle is displayed with the color of the object.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | dx | Delta x coordinate for circle. |
[in] | dy | Delta y coordinate for circle. |
[in] | o_current | Circle OBJECT to draw. |
Definition at line 346 of file o_circle.c.
void o_circle_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The first step of the circle input is to set the center of the arc. This center is kept in (w_current->first_wx,w_current->first_wy).
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world units. |
[in] | w_y | Current y coordinate of pointer in world units. |
Definition at line 374 of file o_circle.c.
void o_circle_end | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The center has previously been input and saved as (w_current->first_wx,w_current->first_wy).
The temporary circle drawn during the input of the radius is erased. A new object is allocated, initialized and linked in the object list. This new object is finally drawn.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | (unused) |
[in] | w_y | (unused) |
Definition at line 407 of file o_circle.c.
void o_circle_motion | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The previous temporary circle is erased, the radius is then computed and updated and finally a new temporary circle is drawn.
The arc is internally described by :
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world units. |
[in] | w_y | Current y coordinate of pointer in world units. |
Definition at line 459 of file o_circle.c.
void o_circle_draw_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
It draws a horizontal radius segment on the right half of the circle and the circle with the selection color.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
Definition at line 494 of file o_circle.c.
void o_circle_draw_grips | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | o_current | Circle OBJECT to draw grip points on. |
Definition at line 518 of file o_circle.c.
void o_complex_draw | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
Definition at line 40 of file o_complex.c.
void o_complex_draw_place | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
OBJECT * | object | ||
) |
Definition at line 54 of file o_complex.c.
void o_complex_prepare_place | ( | GSCHEM_TOPLEVEL * | w_current, |
const CLibSymbol * | sym | ||
) |
Definition at line 68 of file o_complex.c.
void o_complex_place_changed_run_hook | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | GSCHEM_TOPLEVEL structure. |
Definition at line 160 of file o_complex.c.
void o_complex_translate_all | ( | GSCHEM_TOPLEVEL * | w_current, |
int | offset | ||
) |
Definition at line 190 of file o_complex.c.
void o_copy_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
void o_copy_end | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_copy_multiple_end | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_cue_redraw_all | ( | GSCHEM_TOPLEVEL * | w_current, |
GList * | list, | ||
gboolean | draw_selected | ||
) |
void o_cue_draw_lowlevel | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | object, | ||
int | whichone | ||
) |
void o_cue_draw_lowlevel_midpoints | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | object | ||
) |
void o_cue_draw_single | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | object | ||
) |
void o_cue_draw_list | ( | GSCHEM_TOPLEVEL * | w_current, |
GList * | object_list | ||
) |
void o_delete | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | object | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | object | The object to delete. |
Definition at line 38 of file o_delete.c.
void o_delete_selected | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
Definition at line 59 of file o_delete.c.
gboolean o_find_object | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y, | ||
gboolean | change_selection | ||
) |
Find operations resume searching after the last object which was found, so multiple find operations at the same point will cycle through any objects on top of each other at this location.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | The X coordinate to test (in world coords). |
[in] | w_y | The Y coordinate to test (in world coords). |
[in] | change_selection | Whether to select the found object or not. |
Definition at line 127 of file o_find.c.
gboolean o_find_selected_object | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
OBJECT* o_grips_search_world | ( | GSCHEM_TOPLEVEL * | w_current, |
int | x, | ||
int | y, | ||
int * | whichone | ||
) |
A specific search function is provided for every kind of graphical object. The list of selected object is covered : each object is tested with the appropriate function.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | x | Current x coordinate of pointer in world units. |
[in] | y | Current y coordinate of pointer in world units. |
[out] | whichone | Which grip point is selected. |
Definition at line 67 of file o_grips.c.
OBJECT* o_grips_search_arc_world | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current, | ||
int | x, | ||
int | y, | ||
int | size, | ||
int * | whichone | ||
) |
An arc object has three grips :
The x and y parameters are in world units.
The size parameter is the width (and height) of the square representing a grip in world units.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | o_current | Arc OBJECT to check. |
[in] | x | Current x coordinate of pointer in world units. |
[in] | y | Current y coordinate of pointer in world units. |
[in] | size | Half the width of the grip square in world units. |
[out] | whichone | Which grip point is selected. |
Definition at line 206 of file o_grips.c.
OBJECT* o_grips_search_box_world | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current, | ||
int | x, | ||
int | y, | ||
int | size, | ||
int * | whichone | ||
) |
A box object has four grips : one at each corner of the box. The identifiers of each corner are BOX_UPPER_LEFT, BOX_UPPER_RIGHT, BOX_LOWER_LEFT and BOX_LOWER_RIGHT.
The x and y parameters are in world units.
The size parameter is half the width (and half the height) of the square representing a grip in world units.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | o_current | Box OBJECT to check. |
[in] | x | Current x coordinate of pointer in world units. |
[in] | y | Current y coordinate of pointer in world units. |
[in] | size | Half the width of the grip square in world units. |
[out] | whichone | Which grip point is selected. |
Definition at line 271 of file o_grips.c.
OBJECT* o_grips_search_path_world | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current, | ||
int | x, | ||
int | y, | ||
int | size, | ||
int * | whichone | ||
) |
A path object has four grips : one at each corner of the path. The identifiers of each corner are #PICTURE_UPPER_LEFT, #PICTURE_UPPER_RIGHT, #PICTURE_LOWER_LEFT and #PICTURE_LOWER_RIGHT.
The x and y parameters are in world units.
The size parameter is half the width (and half the height) of the square representing a grip in world units.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | o_current | Picture OBJECT to check. |
[in] | x | Current x coordinate of pointer in world units. |
[in] | y | Current y coordinate of pointer in world units. |
[in] | size | Half the width of the grip square in world units. |
[out] | whichone | Which grip point is selected. |
Definition at line 336 of file o_grips.c.
OBJECT* o_grips_search_picture_world | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current, | ||
int | x, | ||
int | y, | ||
int | size, | ||
int * | whichone | ||
) |
A picture object has four grips : one at each corner of the picture. The identifiers of each corner are #PICTURE_UPPER_LEFT, #PICTURE_UPPER_RIGHT, #PICTURE_LOWER_LEFT and #PICTURE_LOWER_RIGHT.
The x and y parameters are in world units.
The size parameter is half the width (and half the height) of the square representing a grip in world units.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | o_current | Picture OBJECT to check. |
[in] | x | Current x coordinate of pointer in world units. |
[in] | y | Current y coordinate of pointer in world units. |
[in] | size | Half the width of the grip square in world units. |
[out] | whichone | Which grip point is selected. |
Definition at line 406 of file o_grips.c.
OBJECT* o_grips_search_circle_world | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current, | ||
int | x, | ||
int | y, | ||
int | size, | ||
int * | whichone | ||
) |
The parameter size is half the size of the grip in world units.
A circle has only one grip on the lower right corner of the box it is inscribed in. Moving this grip change the radius of the circle. The identifier of this grip is CIRCLE_RADIUS.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | o_current | Circle OBJECT to check. |
[in] | x | Current x coordinate of pointer in world units. |
[in] | y | Current y coordinate of pointer in world units. |
[in] | size | Half the width of the grip square in world units. |
[out] | whichone | Which grip point is selected. |
Definition at line 469 of file o_grips.c.
OBJECT* o_grips_search_line_world | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current, | ||
int | x, | ||
int | y, | ||
int | size, | ||
int * | whichone | ||
) |
The parameter size is half the size of the grip in world units.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | o_current | Line OBJECT to check. |
[in] | x | Current x coordinate of pointer in world units. |
[in] | y | Current y coordinate of pointer in world units. |
[in] | size | Half the width of the grip square in world units. |
[out] | whichone | Which grip point is selected. |
Definition at line 504 of file o_grips.c.
int o_grips_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The function returns FALSE if an error occured or if no grip have been found under (w_x,w_y). It returns TRUE if a grip has been found and modification of the object has been started.
If a grip has been found, this function modifies the GSCHEM_TOPLEVEL variables which_grip and which_object with the identifier of the grip and the object it belongs to respectively.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world units. |
[in] | w_y | Current y coordinate of pointer in world units. |
Definition at line 862 of file o_grips.c.
void o_grips_motion | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The object under modification is w_current->which_object and the grip concerned is w_current->which_grip.
Depending on the object type, a specific function is used. It erases the temporary object, updates its internal representation, and draws it again.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world units. |
[in] | w_y | Current y coordinate of pointer in world units. |
Definition at line 945 of file o_grips.c.
void o_grips_end | ( | GSCHEM_TOPLEVEL * | w_current | ) |
The object under modification is w_current->which_object and the grip concerned is w_current->which_grip.
Depending on the object type, a specific function is used. It erases the temporary object, updates the object and draws the modified object normally.
[in,out] | w_current | The GSCHEM_TOPLEVEL object. |
Definition at line 1347 of file o_grips.c.
void o_grips_cancel | ( | GSCHEM_TOPLEVEL * | w_current | ) |
int o_grips_size | ( | GSCHEM_TOPLEVEL * | w_current | ) |
GRIP_SIZE1 and GRIP_SIZE2 and GRIP_SIZE3 are macros defined in gschem_defines.h. They are the half width/height of a grip in world unit for a determined range of zoom factors.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
Definition at line 1441 of file o_grips.c.
void o_grips_draw | ( | GSCHEM_TOPLEVEL * | w_current, |
int | wx, | ||
int | wy | ||
) |
The size of the grip depends on the current zoom factor.
x and y are in screen unit.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | wx | Center x world coordinate for drawing grip. |
[in] | wy | Center y world coordinate for drawing grip. |
Definition at line 1475 of file o_grips.c.
void o_grips_draw_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_line_draw | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
It first checks if the object is valid or not. If not it returns and do not output anything. That should never happen though.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | o_current | The line OBJECT to draw. |
Definition at line 44 of file o_line.c.
void o_line_invalidate_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_line_draw_place | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
OBJECT * | o_current | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | dx | Delta x coordinate for line. |
[in] | dy | Delta y coordinate for line. |
[in] | o_current | Line OBJECT to draw. |
Definition at line 99 of file o_line.c.
void o_line_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
During all the process, the line is internally represented by the two ends of the line as (w_current->first_wx,w_current->first_wy) and (w_current->second_wx,w_current->second_wy).
A temporary line is drawn during the process with the selection color and changed according to the position of the mouse pointer.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world units. |
[in] | w_y | Current y coordinate of pointer in world units. |
Definition at line 129 of file o_line.c.
void o_line_end | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
It first erases the last temporary line displayed, calculates the corresponding world coordinates of the two ends of the line and finally adds a new initialized line object to the list of object of the current sheet.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | (unused) |
[in] | w_y | (unused) |
Definition at line 153 of file o_line.c.
void o_line_motion | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world units. |
[in] | w_y | Current y coordinate of pointer in world units. |
Definition at line 196 of file o_line.c.
void o_line_draw_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
Definition at line 238 of file o_line.c.
void o_line_draw_grips | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
int o_line_visible | ( | GSCHEM_TOPLEVEL * | w_current, |
LINE * | line, | ||
int * | x1, | ||
int * | y1, | ||
int * | x2, | ||
int * | y2 | ||
) |
void o_edit | ( | GSCHEM_TOPLEVEL * | w_current, |
GList * | list | ||
) |
void o_lock | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_unlock | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_rotate_world_update | ( | GSCHEM_TOPLEVEL * | w_current, |
int | centerx, | ||
int | centery, | ||
int | angle, | ||
GList * | list | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | centerx | Center x coordinate of rotation. |
[in] | centery | Center y coordinate of rotation. |
[in] | angle | Angle to rotate the objects through. |
[in] | list | The list of objects to rotate. |
Definition at line 188 of file o_misc.c.
void o_mirror_world_update | ( | GSCHEM_TOPLEVEL * | w_current, |
int | centerx, | ||
int | centery, | ||
GList * | list | ||
) |
void o_edit_show_hidden_lowlevel | ( | GSCHEM_TOPLEVEL * | w_current, |
const GList * | o_list | ||
) |
void o_edit_show_hidden | ( | GSCHEM_TOPLEVEL * | w_current, |
const GList * | o_list | ||
) |
int o_edit_find_text | ( | GSCHEM_TOPLEVEL * | w_current, |
const GList * | o_list, | ||
char * | stext, | ||
int | descend, | ||
int | skip | ||
) |
void o_edit_hide_specific_text | ( | GSCHEM_TOPLEVEL * | w_current, |
const GList * | o_list, | ||
char * | stext | ||
) |
void o_edit_show_specific_text | ( | GSCHEM_TOPLEVEL * | w_current, |
const GList * | o_list, | ||
char * | stext | ||
) |
OBJECT* o_update_component | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in,out] | o_current | The OBJECT to be updated. |
Definition at line 547 of file o_misc.c.
void o_autosave_backups | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_move_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
void o_move_end_lowlevel | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | object, | ||
int | diff_x, | ||
int | diff_y | ||
) |
void o_move_end | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_move_cancel | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_move_motion | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
void o_move_invalidate_rubber | ( | GSCHEM_TOPLEVEL * | w_current, |
int | drawing | ||
) |
void o_move_draw_rubber | ( | GSCHEM_TOPLEVEL * | w_current, |
int | drawing | ||
) |
int o_move_return_whichone | ( | OBJECT * | object, |
int | x, | ||
int | y | ||
) |
void o_move_check_endpoint | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | object | ||
) |
void o_move_prep_rubberband | ( | GSCHEM_TOPLEVEL * | w_current | ) |
int o_move_zero_length | ( | OBJECT * | object | ) |
void o_move_end_rubberband | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_dx, | ||
int | w_dy, | ||
GList ** | objects | ||
) |
void o_net_reset | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_net_draw | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
void o_net_draw_place | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
OBJECT * | o_current | ||
) |
void o_net_draw_stretch | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
int | whichone, | ||
OBJECT * | o_current | ||
) |
void o_net_guess_direction | ( | GSCHEM_TOPLEVEL * | w_current, |
int | wx, | ||
int | wy | ||
) |
The directions are stored in the GSCHEM_TOPLEVEL->net_direction variable as a bitfield.
void o_net_find_magnetic | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The connection point is stored in GSCHEM_TOPLEVEL->magnetic_wx and GSCHEM_TOPLEVEL->magnetic_wy. If no connection is found. Both variables are set to -1.
Definition at line 303 of file o_net.c.
void o_net_finishmagnetic | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_net_start_magnetic | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
void o_net_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
int o_net_end | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The rubber nets are removed, the nets and cues are drawn and the net is added to the TOPLEVEL structure.
The function returns TRUE if it has drawn a net, FALSE otherwise.
Definition at line 554 of file o_net.c.
void o_net_motion | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
void o_net_draw_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_net_invalidate_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
int o_net_add_busrippers | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | net_obj, | ||
GList * | prev_conn_objects | ||
) |
void o_picture_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The first step is to input one corner of the picture. This corner is (w_x,w_y) snapped to the grid and saved in w_current->first_wx and w_current->first_wy.
The other corner will be saved in (w_current->second_wx, w_current->second_wy).
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world units. |
[in] | w_y | Current y coordinate of pointer in world units. |
Definition at line 56 of file o_picture.c.
void o_picture_end | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The temporary picture frame is erased ; a new picture object is allocated, initialized and linked to the object list ; The object is finally drawn on the current sheet.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | (unused) |
[in] | w_y | (unused) |
Definition at line 81 of file o_picture.c.
void o_picture_motion | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
The old values are inside the w_current pointed structure. Old width, height and left and top values are recomputed by the corresponding macros.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world units. |
[in] | w_y | Current y coordinate of pointer in world units. |
Definition at line 236 of file o_picture.c.
void picture_selection_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 126 of file o_picture.c.
void o_picture_invalidate_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 205 of file o_picture.c.
void o_picture_draw_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
Definition at line 272 of file o_picture.c.
void o_picture_draw | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
It first checks if the OBJECT pointed is valid or not. If not it returns and do not output anything. That should never happen though.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | o_current | Picture OBJECT to draw. |
Definition at line 302 of file o_picture.c.
void o_picture_draw_grips | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | o_current | Picture OBJECT to draw grip points on. |
Definition at line 395 of file o_picture.c.
void o_picture_draw_place | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
OBJECT * | o_current | ||
) |
The picture is displayed with the color of the object.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | dx | Delta x coordinate for picture. |
[in] | dy | Delta y coordinate for picture. |
[in] | o_current | Picture OBJECT to draw. |
Definition at line 440 of file o_picture.c.
gboolean o_picture_exchange | ( | GSCHEM_TOPLEVEL * | w_current, |
const gchar * | filename, | ||
GError ** | error | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object |
[in] | filename | The filename of the new picture |
[out] | error | The location to return error information. |
Definition at line 466 of file o_picture.c.
void picture_change_filename_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 502 of file o_picture.c.
void o_picture_set_pixbuf | ( | GSCHEM_TOPLEVEL * | w_current, |
GdkPixbuf * | pixbuf, | ||
char * | filename | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | pixbuf | |
[in] | filename |
Definition at line 572 of file o_picture.c.
void o_path_draw | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | o_current | The path OBJECT to draw. |
Definition at line 292 of file o_path.c.
void o_path_invalidate_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_path_draw_place | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
OBJECT * | o_current | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | dx | Delta x coordinate for path. |
[in] | dy | Delta y coordinate for path. |
[in] | o_current | Line OBJECT to draw. |
Definition at line 442 of file o_path.c.
void o_path_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
During all the process, the path is internally represented by the two ends of the path as (w_current->first_wx,w_current->first_wy) and (w_current->second_wx,w_current->second_wy).
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world units. |
[in] | w_y | Current y coordinate of pointer in world units. |
void o_path_end | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
It first erases the last temporary path displayed, calculates the corresponding world coordinates of the two ends of the path and finally adds a new initialized path object to the list of object of the current sheet.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | (unused) |
[in] | w_y | (unused) |
void o_path_motion | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | w_x | Current x coordinate of pointer in world units. |
[in] | w_y | Current y coordinate of pointer in world units. |
Definition at line 513 of file o_path.c.
void o_path_draw_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
Definition at line 535 of file o_path.c.
void o_path_draw_grips | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
void o_pin_draw | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
void o_pin_draw_place | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
OBJECT * | o_current | ||
) |
void o_pin_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
void o_pin_end | ( | GSCHEM_TOPLEVEL * | w_current, |
int | x, | ||
int | y | ||
) |
void o_pin_motion | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
void o_pin_draw_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_pin_invalidate_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_place_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
void o_place_end | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y, | ||
int | continue_placing, | ||
GList ** | ret_new_objects, | ||
const char * | hook_name | ||
) |
void o_place_motion | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
void o_place_invalidate_rubber | ( | GSCHEM_TOPLEVEL * | w_current, |
int | drawing | ||
) |
The function applies manhatten mode constraints to the coordinates before drawing if the CONTROL key is recording as being pressed in the w_current structure.
The "drawing" parameter is used to indicate if this drawing should immediately use the selected feedback mode and positioning constraints.
With drawing=TRUE, the selected conditions are used immediately, otherwise the conditions from the last drawing operation are used, saving the new state for next time.
This function should be called with drawing=TRUE when starting a rubberbanding operation and when otherwise refreshing the rubberbanded outline (e.g. after a screen redraw). For any undraw operation, should be called with drawing=FALSE, ensuring that the undraw XOR matches the mode and constraints of the corresponding "draw" operation.
If any mode / constraint changes are made between a undraw, redraw XOR pair, the latter (draw) operation must be called with drawing=TRUE. If no mode / constraint changes were made between the pair, it is not harmful to call the draw operation with "drawing=FALSE".
[in] | w_current | GSCHEM_TOPLEVEL which we're drawing for. |
[in] | drawing | Set to FALSE for undraw operations to ensure matching conditions to a previous draw operation. |
Definition at line 168 of file o_place.c.
void o_place_draw_rubber | ( | GSCHEM_TOPLEVEL * | w_current, |
int | drawing | ||
) |
The function applies manhatten mode constraints to the coordinates before drawing if the CONTROL key is recording as being pressed in the w_current structure.
The "drawing" parameter is used to indicate if this drawing should immediately use the selected feedback mode and positioning constraints.
With drawing=TRUE, the selected conditions are used immediately, otherwise the conditions from the last drawing operation are used, saving the new state for next time.
This function should be called with drawing=TRUE when starting a rubberbanding operation and when otherwise refreshing the rubberbanded outline (e.g. after a screen redraw). For any undraw operation, should be called with drawing=FALSE, ensuring that the undraw XOR matches the mode and constraints of the corresponding "draw" operation.
If any mode / constraint changes are made between a undraw, redraw XOR pair, the latter (draw) operation must be called with drawing=TRUE. If no mode / constraint changes were made between the pair, it is not harmful to call the draw operation with "drawing=FALSE".
[in] | w_current | GSCHEM_TOPLEVEL which we're drawing for. |
[in] | drawing | Set to FALSE for undraw operations to ensure matching conditions to a previous draw operation. |
Definition at line 252 of file o_place.c.
void o_place_rotate | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void o_select_run_hooks | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current, | ||
int | flag | ||
) |
The code in this file is sometimes not obvious, especially o_select_object (which implements the selection of objects either when doing a single or multi select)
Also, there are cases where it looks like there is redundant code, which could be removed/merged, but I purposely didn't do so to keep the code readable
the count == 0 stuff really only applies to when you are coming from a multi select case
Definition at line 50 of file o_select.c.
void o_select_object | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current, | ||
int | type, | ||
int | count | ||
) |
Definition at line 74 of file o_select.c.
int o_select_box_start | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
Definition at line 207 of file o_select.c.
void o_select_box_end | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
Definition at line 230 of file o_select.c.
void o_select_box_motion | ( | GSCHEM_TOPLEVEL * | w_current, |
int | w_x, | ||
int | w_y | ||
) |
Definition at line 243 of file o_select.c.
void o_select_box_invalidate_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 259 of file o_select.c.
void o_select_box_draw_rubber | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 277 of file o_select.c.
void o_select_box_search | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 293 of file o_select.c.
void o_select_connected_nets | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_net | ||
) |
[in] | w_current | GSCHEM_TOPLEVEL struct. |
[in] | o_net | Pointer to a single net object |
Definition at line 343 of file o_select.c.
OBJECT* o_select_return_first_object | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 430 of file o_select.c.
int o_select_selected | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 446 of file o_select.c.
void o_select_unselect_all | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 461 of file o_select.c.
void o_select_visible_unlocked | ( | GSCHEM_TOPLEVEL * | w_current | ) |
w_current | The current GSCHEM_TOPLEVEL structure. |
Definition at line 488 of file o_select.c.
void o_select_move_to_place_list | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 533 of file o_select.c.
void o_slot_start | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | object | ||
) |
void o_slot_end | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | object, | ||
const char * | string | ||
) |
int o_text_get_rendered_bounds | ( | void * | user_data, |
OBJECT * | o_current, | ||
int * | min_x, | ||
int * | min_y, | ||
int * | max_x, | ||
int * | max_y | ||
) |
void o_text_draw | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
void o_text_draw_place | ( | GSCHEM_TOPLEVEL * | w_current, |
int | dx, | ||
int | dy, | ||
OBJECT * | o_current | ||
) |
void o_text_prepare_place | ( | GSCHEM_TOPLEVEL * | w_current, |
char * | text | ||
) |
void o_text_edit | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | o_current | ||
) |
void o_text_edit_end | ( | GSCHEM_TOPLEVEL * | w_current, |
char * | string, | ||
int | len, | ||
int | text_size, | ||
int | text_alignment | ||
) |
void o_text_change | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | object, | ||
char * | string, | ||
int | visibility, | ||
int | show | ||
) |
void o_undo_init | ( | void | ) |
void o_undo_savestate | ( | GSCHEM_TOPLEVEL * | w_current, |
int | flag | ||
) |
char* o_undo_find_prev_filename | ( | UNDO * | start | ) |
GList* o_undo_find_prev_object_head | ( | UNDO * | start | ) |
void o_undo_callback | ( | GSCHEM_TOPLEVEL * | w_current, |
int | type | ||
) |
void o_undo_cleanup | ( | void | ) |
void o_undo_remove_last_undo | ( | GSCHEM_TOPLEVEL * | w_current | ) |
int parse_commandline | ( | int | argc, |
char * | argv[] | ||
) |
argc | Number of command-line arguments. |
argv | Array of command-line arguments. |
Definition at line 136 of file parsecmd.c.
GList* s_stretch_add | ( | GList * | list, |
OBJECT * | object, | ||
int | whichone | ||
) |
Definition at line 36 of file s_stretch.c.
GList* s_stretch_remove | ( | GList * | list, |
OBJECT * | object | ||
) |
Definition at line 78 of file s_stretch.c.
void s_stretch_print_all | ( | GList * | list | ) |
Definition at line 96 of file s_stretch.c.
void s_stretch_destroy_all | ( | GList * | list | ) |
Definition at line 120 of file s_stretch.c.
gint option_menu_get_history | ( | GtkOptionMenu * | option_menu | ) |
Definition at line 46 of file x_attribedit.c.
void attrib_edit_dialog_ok | ( | GtkWidget * | w, |
GSCHEM_TOPLEVEL * | w_current | ||
) |
Definition at line 66 of file x_attribedit.c.
void attrib_edit_dialog | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | attr_obj, | ||
int | flag | ||
) |
Definition at line 288 of file x_attribedit.c.
void autonumber_text_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
If the function is called the first time the dialog is created. If the dialog is only in background it is moved to the foreground.
w_current | Pointer to the top level struct |
Definition at line 1373 of file x_autonumber.c.
void x_repaint_background_region | ( | GSCHEM_TOPLEVEL * | w_current, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
void x_hscrollbar_set_ranges | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void x_hscrollbar_update | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void x_vscrollbar_set_ranges | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void x_vscrollbar_update | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void x_scrollbars_update | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void x_basic_warp_cursor | ( | GtkWidget * | widget, |
gint | x, | ||
gint | y | ||
) |
void x_clipboard_init | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void x_clipboard_finish | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void x_clipboard_query_usable | ( | GSCHEM_TOPLEVEL * | w_current, |
void(*)(int, void *) | callback, | ||
void * | userdata | ||
) |
gboolean x_clipboard_set | ( | GSCHEM_TOPLEVEL * | w_current, |
const GList * | object_list | ||
) |
GList* x_clipboard_get | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 219 of file x_clipboard.c.
void x_color_init | ( | void | ) |
void x_color_free | ( | void | ) |
void x_color_allocate | ( | void | ) |
GdkColor* x_get_color | ( | int | color | ) |
GdkColor* x_get_darkcolor | ( | int | color | ) |
COLOR* x_color_lookup | ( | int | color | ) |
COLOR* x_color_lookup_dark | ( | int | color | ) |
gchar* x_color_get_name | ( | int | index | ) |
int text_view_calculate_real_tab_width | ( | GtkTextView * | textview, |
int | tab_size | ||
) |
Definition at line 3262 of file x_dialog.c.
void select_all_text_in_textview | ( | GtkTextView * | textview | ) |
Definition at line 3247 of file x_dialog.c.
void destroy_window | ( | GtkWidget * | widget, |
GtkWidget ** | window | ||
) |
Definition at line 79 of file x_dialog.c.
void text_input_dialog_apply | ( | GtkWidget * | w, |
GSCHEM_TOPLEVEL * | w_current | ||
) |
Definition at line 95 of file x_dialog.c.
void text_input_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 165 of file x_dialog.c.
gint change_alignment | ( | GtkComboBox * | w, |
GSCHEM_TOPLEVEL * | w_current | ||
) |
Definition at line 269 of file x_dialog.c.
void text_edit_dialog_ok | ( | GtkWidget * | w, |
GSCHEM_TOPLEVEL * | w_current | ||
) |
Definition at line 341 of file x_dialog.c.
void text_edit_dialog | ( | GSCHEM_TOPLEVEL * | w_current, |
const char * | string, | ||
int | text_size, | ||
int | text_alignment | ||
) |
Check why there's no color in the calling parameters
If more than one text element is selected, add an unchanged option
Definition at line 415 of file x_dialog.c.
void line_type_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 892 of file x_dialog.c.
void fill_type_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 1386 of file x_dialog.c.
void arc_angle_dialog | ( | GSCHEM_TOPLEVEL * | w_current, |
OBJECT * | arc_object | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object |
[in] | arc_object | an arc OBJECT if used to modify an arc or NULL to create a new arc. |
Definition at line 1594 of file x_dialog.c.
void translate_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 1739 of file x_dialog.c.
void text_size_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 1838 of file x_dialog.c.
void snap_size_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 1944 of file x_dialog.c.
void slot_edit_dialog | ( | GSCHEM_TOPLEVEL * | w_current, |
const char * | string | ||
) |
Definition at line 2051 of file x_dialog.c.
void about_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 2123 of file x_dialog.c.
void coord_display_update | ( | GSCHEM_TOPLEVEL * | w_current, |
int | x, | ||
int | y | ||
) |
Definition at line 2186 of file x_dialog.c.
void coord_dialog | ( | GSCHEM_TOPLEVEL * | w_current, |
int | x, | ||
int | y | ||
) |
Definition at line 2208 of file x_dialog.c.
gint color_set | ( | GtkWidget * | w, |
gpointer | data | ||
) |
char* index2functionstring | ( | int | index | ) |
Definition at line 2277 of file x_dialog.c.
void color_edit_dialog_apply | ( | GtkWidget * | w, |
GSCHEM_TOPLEVEL * | w_current | ||
) |
Definition at line 2483 of file x_dialog.c.
void color_edit_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 2531 of file x_dialog.c.
void x_dialog_hotkeys | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 2613 of file x_dialog.c.
void x_dialog_raise_all | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 2695 of file x_dialog.c.
void generic_msg_dialog | ( | const char * | msg | ) |
Definition at line 2751 of file x_dialog.c.
int generic_confirm_dialog | ( | const char * | msg | ) |
Definition at line 2776 of file x_dialog.c.
char* generic_filesel_dialog | ( | const char * | msg, |
const char * | templ, | ||
gint | flags | ||
) |
Definition at line 2807 of file x_dialog.c.
void find_text_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 2957 of file x_dialog.c.
void hide_text_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 3077 of file x_dialog.c.
void show_text_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 3178 of file x_dialog.c.
void major_changed_dialog | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 3297 of file x_dialog.c.
void x_dialog_close_changed_page | ( | GSCHEM_TOPLEVEL * | w_current, |
PAGE * | page | ||
) |
It displays a message dialog inviting the user to cancel the closing, or to discard the changes or to save the changes to a file.
[in] | w_current | The toplevel environment. |
[in] | page | The page to close. |
Definition at line 3989 of file x_dialog.c.
gboolean x_dialog_close_window | ( | GSCHEM_TOPLEVEL * | w_current | ) |
The user is given the possibility to save the pages that currently have unsaved changes, if any.
It returns TRUE if the user really accepts the close of the window. Otherwise the user has somehow cancelled and the window must not be closed.
[in] | w_current | The toplevel environment. |
Definition at line 4059 of file x_dialog.c.
int x_dialog_validate_attribute | ( | GtkWindow * | parent, |
char * | attribute | ||
) |
parent | The parent window which spawned this dialog box. |
attribute | The attribute to be validated. |
Definition at line 4151 of file x_dialog.c.
void x_dialog_edit_pin_type | ( | GSCHEM_TOPLEVEL * | w_current, |
const GList * | obj_list | ||
) |
Definition at line 4177 of file x_dialog.c.
gint x_event_expose | ( | GtkWidget * | widget, |
GdkEventExpose * | event, | ||
GSCHEM_TOPLEVEL * | w_current | ||
) |
gint x_event_button_pressed | ( | GtkWidget * | widget, |
GdkEventButton * | event, | ||
GSCHEM_TOPLEVEL * | w_current | ||
) |
gint x_event_button_released | ( | GtkWidget * | widget, |
GdkEventButton * | event, | ||
GSCHEM_TOPLEVEL * | w_current | ||
) |
gint x_event_motion | ( | GtkWidget * | widget, |
GdkEventMotion * | event, | ||
GSCHEM_TOPLEVEL * | w_current | ||
) |
gboolean x_event_configure | ( | GtkWidget * | widget, |
GdkEventConfigure * | event, | ||
gpointer | user_data | ||
) |
It updates the size of the backingstore for the associated toplevel structure (creates a new pixmap) and re-pans each of its pages to keep their contents centered in the drawing area.
When the window is maximised, the zoom of every page is changed to best fit the previously displayed area of the page in the new area. Otherwise the current zoom level is left unchanged.
[in] | widget | The drawing area which received the signal. |
[in] | event | The event structure of signal configure-event. |
[in] | user_data | The toplevel environment as user data. |
Definition at line 933 of file x_event.c.
void x_manual_resize | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void x_event_hschanged | ( | GtkAdjustment * | adj, |
GSCHEM_TOPLEVEL * | w_current | ||
) |
void x_event_vschanged | ( | GtkAdjustment * | adj, |
GSCHEM_TOPLEVEL * | w_current | ||
) |
gint x_event_enter | ( | GtkWidget * | widget, |
GdkEventCrossing * | event, | ||
GSCHEM_TOPLEVEL * | w_current | ||
) |
gboolean x_event_key | ( | GtkWidget * | widget, |
GdkEventKey * | event, | ||
GSCHEM_TOPLEVEL * | w_current | ||
) |
gint x_event_scroll | ( | GtkWidget * | widget, |
GdkEventScroll * | event, | ||
GSCHEM_TOPLEVEL * | w_current | ||
) |
gboolean x_event_get_pointer_position | ( | GSCHEM_TOPLEVEL * | w_current, |
gboolean | snapped, | ||
gint * | wx, | ||
gint * | wy | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
[in] | snapped | An option flag to specify the wished coords |
[out] | wx | snapped/unsnapped world x coordinate |
[out] | wy | snapped/unsnapped world y coordinate |
Definition at line 1369 of file x_event.c.
void x_compselect_open | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | The GSCHEM_TOPLEVEL environment. |
Definition at line 207 of file x_compselect.c.
void x_compselect_close | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | The GSCHEM_TOPLEVEL environment. |
Definition at line 254 of file x_compselect.c.
void x_compselect_deselect | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void x_fileselect_open | ( | GSCHEM_TOPLEVEL * | w_current | ) |
The function updates the user interface.
At the end of the function, the w_current->toplevel's current page is set to the page of the last loaded page.
[in] | w_current | The GSCHEM_TOPLEVEL environment. |
Definition at line 166 of file x_fileselect.c.
void x_fileselect_save | ( | GSCHEM_TOPLEVEL * | w_current | ) |
If the user cancels the operation (with the cancel button), the page is not saved.
The function updates the user interface.
[in] | w_current | The GSCHEM_TOPLEVEL environment. |
Definition at line 226 of file x_fileselect.c.
int x_fileselect_load_backup | ( | void * | user_data, |
GString * | message | ||
) |
[in] | user_data | The TOPLEVEL object. |
[in] | message | Message to display to user. |
Definition at line 320 of file x_fileselect.c.
void x_grid_draw_region | ( | GSCHEM_TOPLEVEL * | w_current, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height | ||
) |
[in] | w_current | The GSCHEM_TOPLEVEL. |
[in] | x | The left screen coordinate for the drawing. |
[in] | y | The top screen coordinate for the drawing. |
[in] | width | The width of the region to draw. |
[in] | height | The height of the region to draw. |
Definition at line 301 of file x_grid.c.
int x_grid_query_drawn_spacing | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | The GSCHEM_TOPLEVEL. |
Definition at line 335 of file x_grid.c.
void x_draw_tiles | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void x_image_lowlevel | ( | GSCHEM_TOPLEVEL * | w_current, |
const char * | filename, | ||
int | desired_width, | ||
int | desired_height, | ||
char * | filetype | ||
) |
w_current | [in] the GSCHEM_TOPLEVEL structure. |
filename | [in] the image filename. |
desired_width | [in] the image width chosen by the user. |
desired_height | [in] the image height chosen by the user. |
filetype | [in] image filetype. |
Definition at line 317 of file x_image.c.
void x_image_setup | ( | GSCHEM_TOPLEVEL * | w_current | ) |
w_current | [in] the GSCHEM_TOPLEVEL structure. |
Definition at line 438 of file x_image.c.
GdkPixbuf* x_image_get_pixbuf | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void x_log_open | ( | ) |
If the log dialog instance does exist, present it to the user.
Definition at line 72 of file x_log.c.
void x_log_close | ( | ) |
void x_log_message | ( | const gchar * | log_domain, |
GLogLevelFlags | log_level, | ||
const gchar * | message | ||
) |
[in] | log_domain | |
[in] | log_level | The severity of the message |
[in] | message | The message to be displayed |
Definition at line 140 of file x_log.c.
gboolean x_show_uri | ( | GSCHEM_TOPLEVEL * | w_current, |
const gchar * | uri, | ||
GError ** | error | ||
) |
Depending on the way gEDA was configured, this may occur by one of the following three methods:
w_current | Current GSCHEM_TOPLEVEL structure. |
uri | URI to launch viewer for. |
error | Location to return error information. |
GtkWidget* get_main_menu | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 91 of file x_menus.c.
GtkWidget* get_main_popup | ( | GSCHEM_TOPLEVEL * | w_current | ) |
gint do_popup | ( | GSCHEM_TOPLEVEL * | w_current, |
GdkEventButton * | event | ||
) |
void x_menus_sensitivity | ( | GSCHEM_TOPLEVEL * | w_current, |
const char * | buf, | ||
int | flag | ||
) |
void x_menus_popup_sensitivity | ( | GSCHEM_TOPLEVEL * | w_current, |
const char * | buf, | ||
int | flag | ||
) |
void x_menu_attach_recent_files_submenu | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Called from x_window_setup().
Definition at line 416 of file x_menus.c.
void x_multiattrib_open | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | The GSCHEM_TOPLEVEL object. |
Definition at line 211 of file x_multiattrib.c.
void x_multiattrib_close | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Closes the multiattrib dialog associated with w_current.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
Definition at line 248 of file x_multiattrib.c.
void x_multiattrib_update | ( | GSCHEM_TOPLEVEL * | w_current | ) |
If the GSCHEM_TOPLEVEL has an open multiattrib dialog, switch to watching the current page's SELECTION object for changes.
[in] | w_current | The GSCHEM_TOPLEVEL object. |
Definition at line 267 of file x_multiattrib.c.
void x_pagesel_open | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | The GSCHEM_TOPLEVEL object to open page manager for. |
Definition at line 50 of file x_pagesel.c.
void x_pagesel_close | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | The GSCHEM_TOPLEVEL object to close page manager for. |
Definition at line 77 of file x_pagesel.c.
void x_pagesel_update | ( | GSCHEM_TOPLEVEL * | w_current | ) |
[in] | w_current | The GSCHEM_TOPLEVEL object to update. |
Definition at line 94 of file x_pagesel.c.
void x_print_setup | ( | GSCHEM_TOPLEVEL * | w_current, |
char * | filename | ||
) |
void x_rc_parse_gschem | ( | GSCHEM_TOPLEVEL * | w_current, |
const gchar * | rcfile | ||
) |
w_current | The current GSCHEM_TOPLEVEL structure. |
rcfile | Specific config file path, or NULL. |
Definition at line 85 of file x_rc.c.
void setup_script_selector | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 42 of file x_script.c.
void x_stroke_init | ( | void | ) |
void x_stroke_free | ( | void | ) |
void x_stroke_record | ( | GSCHEM_TOPLEVEL * | w_current, |
gint | x, | ||
gint | y | ||
) |
gint x_stroke_translate_and_execute | ( | GSCHEM_TOPLEVEL * | w_current | ) |
void x_window_setup | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 38 of file x_window.c.
void x_window_setup_gc | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 77 of file x_window.c.
void x_window_free_gc | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 92 of file x_window.c.
void x_window_create_drawing | ( | GtkWidget * | drawbox, |
GSCHEM_TOPLEVEL * | w_current | ||
) |
Definition at line 102 of file x_window.c.
void x_window_setup_draw_events | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 130 of file x_window.c.
void x_window_create_main | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 247 of file x_window.c.
void x_window_close | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 543 of file x_window.c.
void x_window_close_all | ( | GSCHEM_TOPLEVEL * | w_current | ) |
Definition at line 662 of file x_window.c.
PAGE* x_window_open_page | ( | GSCHEM_TOPLEVEL * | w_current, |
const gchar * | filename | ||
) |
If there is no page for filename in toplevel's list of pages, it creates a new PAGE, loads the file in it and returns a pointer on the new page. Otherwise it returns a pointer on the existing page.
If the filename passed is NULL, this function creates an empty, untitled page. The name of the untitled page is build from configuration data ('untitled-name') and a counter for uniqueness.
The opened page becomes the current page of toplevel.
[in] | w_current | The toplevel environment. |
[in] | filename | The name of the file to open or NULL for a blank page. |
Definition at line 700 of file x_window.c.
void x_window_set_current_page | ( | GSCHEM_TOPLEVEL * | w_current, |
PAGE * | page | ||
) |
It changes the toplevel's current page to page, draws it and updates the user interface.
page has to be in the list of PAGEs attached to toplevel.
[in] | w_current | The toplevel environment. |
[in] | page | The page to become current page. |
Definition at line 800 of file x_window.c.
gint x_window_save_page | ( | GSCHEM_TOPLEVEL * | w_current, |
PAGE * | page, | ||
const gchar * | filename | ||
) |
It returns the value returned by function f_save() trying to save page page to file filename (1 on success, 0 on failure).
page may not be the current page of toplevel. The current page of toplevel is not affected by this function.
[in] | w_current | The toplevel environment. |
[in] | page | The page to save. |
[in] | filename | The name of the file in which to save page. |
Definition at line 842 of file x_window.c.
void x_window_close_page | ( | GSCHEM_TOPLEVEL * | w_current, |
PAGE * | page | ||
) |
If necessary, the current page of toplevel is changed to the next valid page or to a new untitled page.
[in] | w_current | The toplevel environment. |
[in] | page | The page to close. |
Definition at line 921 of file x_window.c.
void x_window_set_default_icon | ( | void | ) |
Definition at line 987 of file x_window.c.