gschem

g_rc.c File Reference

#include <config.h>
#include <missing.h>
#include <version.h>
#include <stdio.h>
#include <sys/stat.h>
#include <ctype.h>
#include "gschem.h"
Include dependency graph for g_rc.c:

Go to the source code of this file.

Defines

#define FUNC_NAME   "paper-size"
#define FUNC_NAME   "paper-sizes"
#define FUNC_NAME   "print-command"

Functions

void g_rc_parse_gtkrc ()
SCM g_rc_gschem_version (SCM 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 scmmode)
SCM g_rc_object_clipping (SCM mode)
SCM g_rc_logging (SCM mode)
SCM g_rc_embed_components (SCM mode)
static void free_string_glist (void *data)
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 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)
 Scheme function for setting the step for keyboard pan.
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)
SCM g_rc_display_color_map (SCM scm_map)
SCM g_rc_display_outline_color_map (SCM scm_map)

Variables

COLOR display_colors [MAX_COLORS]
COLOR display_outline_colors [MAX_COLORS]

Define Documentation

#define FUNC_NAME   "paper-size"
#define FUNC_NAME   "paper-sizes"
#define FUNC_NAME   "print-command"

Function Documentation

void g_rc_parse_gtkrc ( )
Todo:
Finish function documentation!!!
Function Description

Definition at line 48 of file g_rc.c.

SCM g_rc_gschem_version ( SCM  scm_version)
Function Description

Implements the Scheme function "gschem-version". Tests the version string in the argument against the version of the application itself.

Parameters:
[in]scm_versionScheme object containing RC file version string
Returns:
#t if the version of the RC file matches the application, else #f.

Definition at line 73 of file g_rc.c.

Here is the call graph for this function:

SCM g_rc_net_endpoint_mode ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 116 of file g_rc.c.

SCM g_rc_net_midpoint_mode ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 132 of file g_rc.c.

SCM g_rc_net_direction_mode ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 148 of file g_rc.c.

SCM g_rc_net_selection_mode ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 165 of file g_rc.c.

SCM g_rc_net_style ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 183 of file g_rc.c.

SCM g_rc_bus_style ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 200 of file g_rc.c.

SCM g_rc_pin_style ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 217 of file g_rc.c.

SCM g_rc_line_style ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 234 of file g_rc.c.

SCM g_rc_action_feedback_mode ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 251 of file g_rc.c.

SCM g_rc_zoom_with_pan ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 268 of file g_rc.c.

SCM g_rc_text_feedback ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 285 of file g_rc.c.

SCM g_rc_text_display_zoomfactor ( SCM  zoomfactor)
Todo:
Finish function documentation!!!
Function Description

Definition at line 302 of file g_rc.c.

SCM g_rc_scrollbar_update ( SCM  scmmode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 328 of file g_rc.c.

SCM g_rc_object_clipping ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 343 of file g_rc.c.

SCM g_rc_logging ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 360 of file g_rc.c.

SCM g_rc_embed_components ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 377 of file g_rc.c.

static void free_string_glist ( void *  data) [static]

Definition at line 390 of file g_rc.c.

SCM g_rc_component_dialog_attributes ( SCM  stringlist)
Function Description
This function reads the string list from the component-dialog-attributes configuration parameter and converts the list into a GList. The GList is stored in the global default_component_select_attrlist variable.

Definition at line 406 of file g_rc.c.

Here is the call graph for this function:

SCM g_rc_text_size ( SCM  size)
Todo:
Finish function documentation!!!
Function Description

Definition at line 449 of file g_rc.c.

SCM g_rc_text_caps_style ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description
Todo:
inconsistant naming with keyword name and variable to hold variable

Definition at line 475 of file g_rc.c.

SCM g_rc_snap_size ( SCM  size)
Todo:
Finish function documentation!!!
Function Description

Definition at line 493 of file g_rc.c.

SCM g_rc_logging_destination ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 516 of file g_rc.c.

SCM g_rc_attribute_name ( SCM  scm_path)
Todo:
Finish function documentation!!!
Function Description

Definition at line 534 of file g_rc.c.

SCM g_rc_scrollbars ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 561 of file g_rc.c.

SCM g_rc_paper_size ( SCM  width,
SCM  height 
)
Todo:
Finish function documentation!!!
Function Description

Definition at line 578 of file g_rc.c.

SCM g_rc_paper_sizes ( SCM  scm_papername,
SCM  scm_width,
SCM  scm_height 
)
Todo:
Finish function documentation!!!
Function Description

Definition at line 599 of file g_rc.c.

SCM g_rc_output_type ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description
Todo:
this keyword needs a better name ...

Definition at line 636 of file g_rc.c.

SCM g_rc_output_orientation ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 655 of file g_rc.c.

SCM g_rc_image_color ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 672 of file g_rc.c.

SCM g_rc_image_size ( SCM  width,
SCM  height 
)
Todo:
Finish function documentation!!!
Function Description

Definition at line 689 of file g_rc.c.

SCM g_rc_output_color ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 706 of file g_rc.c.

SCM g_rc_output_capstyle ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 724 of file g_rc.c.

SCM g_rc_log_window ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 742 of file g_rc.c.

SCM g_rc_log_window_type ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 759 of file g_rc.c.

SCM g_rc_third_button ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 776 of file g_rc.c.

SCM g_rc_middle_button ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 793 of file g_rc.c.

SCM g_rc_scroll_wheel ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 812 of file g_rc.c.

SCM g_rc_net_consolidate ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 829 of file g_rc.c.

SCM g_rc_file_preview ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 846 of file g_rc.c.

SCM g_rc_enforce_hierarchy ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 864 of file g_rc.c.

SCM g_rc_text_origin_marker ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 881 of file g_rc.c.

SCM g_rc_fast_mousepan ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 898 of file g_rc.c.

SCM g_rc_raise_dialog_boxes_on_expose ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 915 of file g_rc.c.

SCM g_rc_continue_component_place ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 932 of file g_rc.c.

SCM g_rc_undo_levels ( SCM  levels)
Todo:
Finish function documentation!!!
Function Description

Definition at line 949 of file g_rc.c.

SCM g_rc_undo_control ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 973 of file g_rc.c.

SCM g_rc_undo_type ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 988 of file g_rc.c.

SCM g_rc_undo_panzoom ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1005 of file g_rc.c.

SCM g_rc_draw_grips ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1020 of file g_rc.c.

SCM g_rc_netconn_rubberband ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1037 of file g_rc.c.

SCM g_rc_magnetic_net_mode ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1055 of file g_rc.c.

SCM g_rc_sort_component_library ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1072 of file g_rc.c.

SCM g_rc_add_menu ( SCM  scm_menu_name,
SCM  scm_menu_items 
)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1089 of file g_rc.c.

SCM g_rc_window_size ( SCM  width,
SCM  height 
)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1110 of file g_rc.c.

SCM g_rc_warp_cursor ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1126 of file g_rc.c.

SCM g_rc_toolbars ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1143 of file g_rc.c.

SCM g_rc_handleboxes ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1160 of file g_rc.c.

SCM g_rc_setpagedevice_orientation ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1177 of file g_rc.c.

SCM g_rc_setpagedevice_pagesize ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1194 of file g_rc.c.

SCM g_rc_bus_ripper_size ( SCM  size)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1211 of file g_rc.c.

SCM g_rc_bus_ripper_type ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1235 of file g_rc.c.

SCM g_rc_bus_ripper_rotation ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1252 of file g_rc.c.

SCM g_rc_force_boundingbox ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1269 of file g_rc.c.

SCM g_rc_dots_grid_dot_size ( SCM  dotsize)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1286 of file g_rc.c.

SCM g_rc_dots_grid_mode ( SCM  mode)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1310 of file g_rc.c.

SCM g_rc_dots_grid_fixed_threshold ( SCM  spacing)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1327 of file g_rc.c.

SCM g_rc_mesh_grid_display_threshold ( SCM  spacing)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1352 of file g_rc.c.

SCM g_rc_add_attribute_offset ( SCM  offset)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1377 of file g_rc.c.

SCM g_rc_auto_save_interval ( SCM  seconds)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1402 of file g_rc.c.

SCM g_rc_mousepan_gain ( SCM  gain)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1426 of file g_rc.c.

SCM g_rc_keyboardpan_gain ( SCM  gain)

Default setting is 20.

Definition at line 1449 of file g_rc.c.

SCM g_rc_print_command ( SCM  scm_command)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1473 of file g_rc.c.

SCM g_rc_select_slack_pixels ( SCM  pixels)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1496 of file g_rc.c.

SCM g_rc_zoom_gain ( SCM  gain)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1520 of file g_rc.c.

SCM g_rc_scrollpan_steps ( SCM  steps)
Todo:
Finish function documentation!!!
Function Description

Definition at line 1545 of file g_rc.c.

SCM g_rc_display_color_map ( SCM  scm_map)

Definition at line 1569 of file g_rc.c.

SCM g_rc_display_outline_color_map ( SCM  scm_map)

Definition at line 1582 of file g_rc.c.


Variable Documentation

COLOR display_colors[MAX_COLORS]

Definition at line 34 of file x_color.c.

COLOR display_outline_colors[MAX_COLORS]

Definition at line 35 of file x_color.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines