gschem

i_vars.c File Reference

#include <config.h>
#include <stdio.h>
#include "gschem.h"
Include dependency graph for i_vars.c:

Go to the source code of this file.

Defines

#define INIT_STR(w, name, str)
#define DEFAULT_PRINT_COMMAND   "lpr"

Functions

void i_vars_set (GSCHEM_TOPLEVEL *w_current)
void i_vars_freenames ()
 Free default names.

Variables

int default_text_size = 10
int default_text_caps = LOWER
int default_attribute_color = ATTRIBUTE_COLOR
int default_detachattr_color = DETACHED_ATTRIBUTE_COLOR
int default_net_endpoint_color = NET_ENDPOINT_COLOR
int default_junction_color = JUNCTION_COLOR
int default_override_net_color = -1
int default_override_bus_color = -1
int default_override_pin_color = -1
int default_net_endpoint_mode = FILLEDBOX
int default_net_midpoint_mode = FILLED
int default_net_direction_mode = TRUE
int default_net_selection_mode = 0
int default_pin_style = THICK
int default_net_style = THICK
int default_bus_style = THICK
int default_line_style = THICK
int default_background_color = BACKGROUND_COLOR
int default_actionfeedback_mode = OUTLINE
int default_zoom_with_pan = TRUE
int default_object_clipping = TRUE
int default_do_logging = TRUE
int default_logging_dest = LOG_WINDOW
int default_embed_complex = FALSE
int default_include_complex = FALSE
int default_snap_size = 100
int default_paper_width = 11000
int default_paper_height = 85000
int default_scrollbars_flag = TRUE
char * default_print_command = NULL
int default_print_orientation = LANDSCAPE
int default_image_color = FALSE
int default_image_width = 800
int default_image_height = 600
int default_print_color = FALSE
int default_print_color_background = OUTPUT_BACKGROUND_COLOR
int default_print_output_type = EXTENTS
int default_print_output_capstyle = SQUARE_CAP
int default_log_window = MAP_ON_STARTUP
int default_log_window_type = DECORATED
int default_third_button = POPUP_ENABLED
int default_middle_button = REPEAT
int default_scroll_wheel = SCROLL_WHEEL_CLASSIC
int default_net_consolidate = TRUE
int default_file_preview = FALSE
int default_enforce_hierarchy = TRUE
int default_text_origin_marker = TRUE
int default_fast_mousepan = TRUE
int default_raise_dialog_boxes = FALSE
int default_continue_component_place = TRUE
GList * default_component_select_attrlist = NULL
int default_undo_levels = 20
int default_undo_control = TRUE
int default_undo_type = UNDO_DISK
int default_undo_panzoom = FALSE
int default_draw_grips = TRUE
int default_netconn_rubberband = FALSE
int default_magnetic_net_mode = TRUE
int default_sort_component_library = FALSE
int default_warp_cursor = TRUE
int default_toolbars = TRUE
int default_handleboxes = TRUE
int default_setpagedevice_orientation = FALSE
int default_setpagedevice_pagesize = FALSE
int default_bus_ripper_size = 200
int default_bus_ripper_type = COMP_BUS_RIPPER
int default_bus_ripper_rotation = NON_SYMMETRIC
int default_force_boundingbox = FALSE
int default_dots_grid_dot_size = 1
int default_dots_grid_mode = DOTS_GRID_VARIABLE_MODE
int default_dots_grid_fixed_threshold = 10
int default_mesh_grid_display_threshold = 3
int default_add_attribute_offset = 50
int default_auto_save_interval = 120
int default_width = 800
int default_height = 600
int default_text_display_zoomfactor = 30
int default_text_feedback = ONLY_WHEN_READABLE
int default_mousepan_gain = 5
int default_keyboardpan_gain = 20
int default_select_slack_pixels = 4
int default_zoom_gain = 20
int default_scrollpan_steps = 8

Define Documentation

#define INIT_STR (   w,
  name,
  str 
)
Value:
{                                        \
        g_free((w)->name);                                              \
        (w)->name = g_strdup(((default_ ## name) != NULL) ?             \
                             (default_ ## name) : (str));               \
}

Definition at line 30 of file i_vars.c.

#define DEFAULT_PRINT_COMMAND   "lpr"

Definition at line 37 of file i_vars.c.


Function Documentation

void i_vars_set ( GSCHEM_TOPLEVEL w_current)
Todo:
Finish function documentation!!!
Function Description

Definition at line 138 of file i_vars.c.

void i_vars_freenames ( )
Function Description
This function will free all of the default variables for gschem.

Definition at line 253 of file i_vars.c.


Variable Documentation

Definition at line 39 of file i_vars.c.

int default_text_caps = LOWER

Definition at line 40 of file i_vars.c.

int default_attribute_color = ATTRIBUTE_COLOR

Definition at line 41 of file i_vars.c.

int default_detachattr_color = DETACHED_ATTRIBUTE_COLOR

Definition at line 42 of file i_vars.c.

int default_net_endpoint_color = NET_ENDPOINT_COLOR

Definition at line 43 of file i_vars.c.

int default_junction_color = JUNCTION_COLOR

Definition at line 44 of file i_vars.c.

Definition at line 45 of file i_vars.c.

Definition at line 46 of file i_vars.c.

Definition at line 47 of file i_vars.c.

int default_net_endpoint_mode = FILLEDBOX

Definition at line 48 of file i_vars.c.

Definition at line 49 of file i_vars.c.

Definition at line 50 of file i_vars.c.

Definition at line 51 of file i_vars.c.

int default_pin_style = THICK

Definition at line 52 of file i_vars.c.

int default_net_style = THICK

Definition at line 53 of file i_vars.c.

int default_bus_style = THICK

Definition at line 54 of file i_vars.c.

int default_line_style = THICK

Definition at line 55 of file i_vars.c.

int default_background_color = BACKGROUND_COLOR

Definition at line 56 of file i_vars.c.

Definition at line 57 of file i_vars.c.

Definition at line 58 of file i_vars.c.

Definition at line 59 of file i_vars.c.

int default_do_logging = TRUE

Definition at line 60 of file i_vars.c.

int default_logging_dest = LOG_WINDOW

Definition at line 61 of file i_vars.c.

int default_embed_complex = FALSE

Definition at line 62 of file i_vars.c.

Definition at line 63 of file i_vars.c.

int default_snap_size = 100

Definition at line 64 of file i_vars.c.

int default_paper_width = 11000

Definition at line 66 of file i_vars.c.

int default_paper_height = 85000

Definition at line 67 of file i_vars.c.

Definition at line 68 of file i_vars.c.

char* default_print_command = NULL

Definition at line 69 of file i_vars.c.

int default_print_orientation = LANDSCAPE

Definition at line 70 of file i_vars.c.

int default_image_color = FALSE

Definition at line 71 of file i_vars.c.

Definition at line 72 of file i_vars.c.

Definition at line 73 of file i_vars.c.

int default_print_color = FALSE

Definition at line 74 of file i_vars.c.

int default_print_color_background = OUTPUT_BACKGROUND_COLOR

Definition at line 75 of file i_vars.c.

Definition at line 76 of file i_vars.c.

Definition at line 77 of file i_vars.c.

int default_log_window = MAP_ON_STARTUP

Definition at line 78 of file i_vars.c.

int default_log_window_type = DECORATED

Definition at line 79 of file i_vars.c.

int default_third_button = POPUP_ENABLED

Definition at line 80 of file i_vars.c.

int default_middle_button = REPEAT

Definition at line 84 of file i_vars.c.

int default_scroll_wheel = SCROLL_WHEEL_CLASSIC

Definition at line 86 of file i_vars.c.

Definition at line 87 of file i_vars.c.

int default_file_preview = FALSE

Definition at line 88 of file i_vars.c.

Definition at line 89 of file i_vars.c.

Definition at line 90 of file i_vars.c.

Definition at line 91 of file i_vars.c.

Definition at line 92 of file i_vars.c.

Definition at line 93 of file i_vars.c.

Definition at line 94 of file i_vars.c.

Definition at line 95 of file i_vars.c.

Definition at line 96 of file i_vars.c.

int default_undo_type = UNDO_DISK

Definition at line 97 of file i_vars.c.

int default_undo_panzoom = FALSE

Definition at line 98 of file i_vars.c.

int default_draw_grips = TRUE

Definition at line 99 of file i_vars.c.

Definition at line 100 of file i_vars.c.

Definition at line 101 of file i_vars.c.

Definition at line 102 of file i_vars.c.

int default_warp_cursor = TRUE

Definition at line 103 of file i_vars.c.

int default_toolbars = TRUE

Definition at line 104 of file i_vars.c.

int default_handleboxes = TRUE

Definition at line 105 of file i_vars.c.

Definition at line 106 of file i_vars.c.

Definition at line 107 of file i_vars.c.

Definition at line 108 of file i_vars.c.

int default_bus_ripper_type = COMP_BUS_RIPPER

Definition at line 109 of file i_vars.c.

int default_bus_ripper_rotation = NON_SYMMETRIC

Definition at line 110 of file i_vars.c.

Definition at line 111 of file i_vars.c.

Definition at line 112 of file i_vars.c.

int default_dots_grid_mode = DOTS_GRID_VARIABLE_MODE

Definition at line 113 of file i_vars.c.

Definition at line 114 of file i_vars.c.

Definition at line 115 of file i_vars.c.

Definition at line 116 of file i_vars.c.

Definition at line 118 of file i_vars.c.

int default_width = 800

Definition at line 120 of file i_vars.c.

int default_height = 600

Definition at line 121 of file i_vars.c.

Definition at line 124 of file i_vars.c.

int default_text_feedback = ONLY_WHEN_READABLE

Definition at line 126 of file i_vars.c.

Definition at line 127 of file i_vars.c.

Definition at line 128 of file i_vars.c.

Definition at line 129 of file i_vars.c.

Definition at line 130 of file i_vars.c.

Definition at line 131 of file i_vars.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines