pcb 4.1.1
An interactive printed circuit board layout editor.

SettingType Struct Reference

Our resources. More...

#include <global.h>

Collaboration diagram for SettingType:

Data Fields

const Unitgrid_unit
Incrementsincrements
int verbose
char * BlackColor
char * WhiteColor
char * BackgroundColor
char * CrosshairColor
char * CrossColor
char * ViaColor
char * ViaSelectedColor
char * PinColor
char * PinSelectedColor
char * PinNameColor
char * ElementColor
char * RatColor
char * InvisibleObjectsColor
char * InvisibleMarkColor
char * ElementSelectedColor
char * RatSelectedColor
char * ConnectedColor
char * FoundColor
char * OffLimitColor
char * GridColor
char * LayerColor [MAX_LAYER]
char * LayerSelectedColor [MAX_LAYER]
char * WarnColor
char * MaskColor
Coord ViaThickness
Coord ViaDrillingHole
Coord LineThickness
Coord RatThickness
Coord Keepaway
Coord MaxWidth
Coord MaxHeight
Coord AlignmentDistance
Coord Bloat
Coord Shrink
Coord minWid
Coord minSlk
Coord minDrill
Coord minRing
int TextScale
Coord Grid
double IsleArea
Coord PasteAdjust
int PinoutNameLength
int Volume
int CharPerLine
int Mode
int BufferNumber
int BackupInterval
char * DefaultLayerName [MAX_LAYER]
char * FontCommand
char * FileCommand
char * ElementCommand
char * PrintFile
char * LibraryCommandDir
char * LibraryCommand
char * LibraryContentsCommand
char * LibraryTree
char * SaveCommand
char * LibraryFilename
char * FontFile
char * Groups
char * Routes
char * FilePath
char * RatPath
char * RatCommand
char * FontPath
char * PinoutFont
char * ElementPath
char * LibraryPath
char * Size
char * BackgroundImage
char * ScriptFilename
char * ActionString
char * FabAuthor
char * GnetlistProgram
char * MakeProgram
char * InitialLayerStack
Coord PinoutOffsetX
Coord PinoutOffsetY
Coord PinoutTextOffsetX
Coord PinoutTextOffsetY
RouteStyleType RouteStyle [NUM_STYLES]
LayerGroupType LayerGroups
bool ClearLine
bool FullPoly
bool UniqueNames
bool SnapPin
bool ShowBottomSide
bool SaveLastCommand
bool SaveInTMP
bool SaveMetricOnly
bool DrawGrid
bool RatWarn
bool StipplePolygons
bool AllDirectionLines
bool RubberBandMode
bool SwapStartDirection
bool ShowDRC
bool AutoDRC
bool ShowNumber
bool OrthogonalMoves
bool ResetAfterElement
bool liveRouting
bool AutoBuriedVias
bool RingBellWhenFinished
bool AutoPlace

Detailed Description

Our resources.

Most of them are used as default when a new design is started.

Definition at line 736 of file global.h.


Field Documentation

PCB Actions string to execute on startup.

Definition at line 791 of file global.h.

Referenced by main().

Definition at line 767 of file global.h.

Enable lines to all directions.

Definition at line 826 of file global.h.

Referenced by CreateNewPCB().

Definition at line 826 of file global.h.

Referenced by CreateNewPCB().

Definition at line 826 of file global.h.

Referenced by CreateNewPCB().

Flag which says we should force placement of the windows on startup.

Definition at line 826 of file global.h.

Referenced by ghid_drc_window_show(), ghid_library_window_create(), ghid_log_window_create(), ghid_netlist_window_create(), ghid_parse_arguments(), and ghid_pinout_window_show().

PPM file for board background.

Definition at line 791 of file global.h.

Time between two backups in seconds.

Definition at line 790 of file global.h.

Referenced by backup_cb(), config_backup_spin_button_cb(), config_general_tab_create(), and EnableAutosave().

Definition at line 743 of file global.h.

Referenced by hole_callback().

Default drc size for bloat.

Definition at line 767 of file global.h.

Referenced by config_sizes_apply(), CreateNewPCB(), FontEdit(), and sizes_set().

Number of the current buffer.

Definition at line 785 of file global.h.

Referenced by ActionRipUp(), ActionSelect(), click_cb(), FlagBuffer(), ghid_set_status_line_label(), and SetBufferNumber().

Width of an output line in characters.

Definition at line 785 of file global.h.

Definition at line 826 of file global.h.

Referenced by CreateNewPCB().

Connected color.

Definition at line 743 of file global.h.

Referenced by pcb_colors_from_settings().

Cross color.

Definition at line 743 of file global.h.

Referenced by draw_crosshair(), and DrawAttached().

Crosshair color.

Definition at line 743 of file global.h.

Referenced by DrawAttached(), DrawMark(), and lesstif_show_crosshair().

Definition at line 791 of file global.h.

Referenced by config_layers_apply(), CreateNewPCB(), and main().

Element color.

Definition at line 743 of file global.h.

Referenced by layer_process(), LayersChanged(), and pcb_colors_from_settings().

Command for element file loading.

Definition at line 791 of file global.h.

Definition at line 791 of file global.h.

Referenced by main().

Selected element color.

Definition at line 743 of file global.h.

Referenced by pcb_colors_from_settings().

Full name of author for FAB drawings.

Definition at line 791 of file global.h.

Referenced by pcb_author().

Command for file loading.

Definition at line 791 of file global.h.

Referenced by ParsePCB().

Definition at line 791 of file global.h.

Referenced by ImportGUI(), Load(), ParsePCB(), and Save().

Command for font file loading.

Definition at line 791 of file global.h.

Referenced by ParseFont().

Name of default font file.

Definition at line 791 of file global.h.

Referenced by CreateDefaultFont().

Definition at line 791 of file global.h.

Referenced by main(), and ParseFont().

Found color.

Definition at line 743 of file global.h.

Referenced by pcb_colors_from_settings().

Definition at line 826 of file global.h.

Referenced by CreateNewPCB().

gnetlist program name.

Definition at line 791 of file global.h.

Referenced by ActionImport(), main(), pcb_main_uninit(), and REGISTER_ATTRIBUTES().

Grid in pcb-units.

Definition at line 782 of file global.h.

Referenced by CreateNewPCB(), gridsnap(), miter(), and orthopull_1().

Grid color.

Definition at line 743 of file global.h.

Referenced by ghid_draw_grid(), and work_area_first_expose().

String with layergroups.

Definition at line 791 of file global.h.

Referenced by config_layers_apply(), CreateNewPCBPost(), and main().

If set, the initial layer stack is set to this.

Definition at line 791 of file global.h.

Referenced by main().

Invisible mark color.

Definition at line 743 of file global.h.

Referenced by pcb_colors_from_settings().

Invisible objects color.

Definition at line 743 of file global.h.

Referenced by layer_process(), LayersChanged(), and pcb_colors_from_settings().

Polygon min area.

Definition at line 783 of file global.h.

Referenced by config_sizes_apply().

char * SettingType::LayerColor[MAX_LAYER]

Definition at line 743 of file global.h.

Referenced by layer_process(), LayersChanged(), main(), MoveLayer(), and pcb_colors_from_settings().

Default layer groups.

Definition at line 825 of file global.h.

Referenced by config_layers_apply(), and CreateNewPCB().

Definition at line 743 of file global.h.

Referenced by main(), MoveLayer(), and pcb_colors_from_settings().

Definition at line 791 of file global.h.

Referenced by ParseLibraryEntry(), and REGISTER_ATTRIBUTES().

Definition at line 791 of file global.h.

Referenced by main(), and REGISTER_ATTRIBUTES().

Definition at line 791 of file global.h.

Referenced by ReadLibraryContents(), and REGISTER_ATTRIBUTES().

Definition at line 791 of file global.h.

Referenced by ParseLibraryEntry(), and ReadLibraryContents().

Path to library tree.

Definition at line 791 of file global.h.

Referenced by ghid_config_files_read(), ghid_parse_arguments(), Load(), LoadFootprintByName(), main(), and ParseLibraryTree().

Autorouter shows tracks in progress.

Definition at line 826 of file global.h.

Referenced by CreateNewPCB().

make program name.

Definition at line 791 of file global.h.

Referenced by ActionImport(), main(), pcb_main_uninit(), and REGISTER_ATTRIBUTES().

Mask color.

Definition at line 743 of file global.h.

Referenced by layer_process(), LayersChanged(), and pcb_colors_from_settings().

Default size of a new layout (Y value).

Definition at line 767 of file global.h.

Referenced by config_sizes_apply(), CreateNewPCB(), ghid_config_files_read(), and REGISTER_ATTRIBUTES().

Default size of a new layout (X value).

Definition at line 767 of file global.h.

Referenced by config_sizes_apply(), CreateNewPCB(), ghid_config_files_read(), and REGISTER_ATTRIBUTES().

Default drc size for minimum drill size.

Definition at line 767 of file global.h.

Referenced by config_sizes_apply(), CreateNewPCB(), and sizes_set().

Default drc size for minimum annular ring.

Definition at line 767 of file global.h.

Referenced by config_sizes_apply(), CreateNewPCB(), and sizes_set().

Default drc size for minumum silk width.

Definition at line 767 of file global.h.

Referenced by config_sizes_apply(), CreateNewPCB(), FontEdit(), and sizes_set().

Default drc size for minimum trace width.

Definition at line 767 of file global.h.

Referenced by config_sizes_apply(), CreateNewPCB(), FontEdit(), and sizes_set().

Definition at line 826 of file global.h.

Referenced by CreateNewPCB().

Paste adjustment.

Definition at line 784 of file global.h.

Referenced by DrawPaste().

Pin color.

Definition at line 743 of file global.h.

Referenced by layer_process(), LayersChanged(), and pcb_colors_from_settings().

Pin name color.

Definition at line 743 of file global.h.

Referenced by pcb_colors_from_settings().

Definition at line 791 of file global.h.

Max displayed length of a pinname.

Definition at line 785 of file global.h.

Offset of origin (X value).

Definition at line 820 of file global.h.

Referenced by pinout_set_data(), and pinout_set_view().

Offset of origin (Y value).

Definition at line 821 of file global.h.

Referenced by pinout_set_data(), and pinout_set_view().

Offset of text from pin center (X value).

Definition at line 822 of file global.h.

Referenced by _draw_pv_name(), draw_pad_name(), GatherPadName(), and GatherPVName().

Offset of text from pin center (Y value).

Definition at line 823 of file global.h.

Referenced by _draw_pv_name(), draw_pad_name(), GatherPadName(), and GatherPVName().

Selected pin color.

Definition at line 743 of file global.h.

Referenced by pcb_colors_from_settings().

Definition at line 791 of file global.h.

Rat color.

Definition at line 743 of file global.h.

Referenced by layer_process(), LayersChanged(), and pcb_colors_from_settings().

Definition at line 791 of file global.h.

Referenced by ReadNetlist().

Definition at line 791 of file global.h.

Referenced by ReadNetlist().

Selected rat color.

Definition at line 743 of file global.h.

Referenced by pcb_colors_from_settings().

Default rat thickness value.

Definition at line 767 of file global.h.

Referenced by AddNet(), DrawRat(), DrawShortestRats(), and rat_callback().

Reset connections after each element.

Definition at line 826 of file global.h.

Referenced by LookupConnectionsToAllElements().

flag if a signal should be produced when searching of connections is done.

Definition at line 826 of file global.h.

Referenced by LookupConnection(), LookupConnectionsToAllElements(), LookupElementConnections(), and LookupUnusedPins().

String with route styles.

Definition at line 791 of file global.h.

Referenced by REGISTER_ATTRIBUTES(), and route_styles_edited_cb().

Default routing styles.

Definition at line 824 of file global.h.

Referenced by CreateNewPCB(), and REGISTER_ATTRIBUTES().

Move, rotate use rubberband connections.

Definition at line 826 of file global.h.

Referenced by CreateNewPCB().

Definition at line 791 of file global.h.

Referenced by WritePipe().

Always save data in /tmp.

Definition at line 826 of file global.h.

Referenced by ActionNew(), config_general_tab_create(), and QuitApplication().

Save the last command entered by user.

Definition at line 826 of file global.h.

Referenced by ghid_handle_user_command().

Save with mm suffix only, not mil/mm hybrid.

Definition at line 826 of file global.h.

Referenced by config_general_tab_create(), and WritePCB().

PCB Actions script to execute on startup.

Definition at line 791 of file global.h.

Referenced by main().

Show drc region on crosshair.

Definition at line 826 of file global.h.

Referenced by CreateNewPCB().

Pinout shows number.

Definition at line 826 of file global.h.

Referenced by CreateNewPCB().

Default drc size for shrink.

Definition at line 767 of file global.h.

Referenced by config_sizes_apply(), CreateNewPCB(), FontEdit(), and sizes_set().

Geometry string for size.

Definition at line 791 of file global.h.

Snap to pins and pads.

Definition at line 826 of file global.h.

Referenced by CreateNewPCB().

Draw polygons with stipple.

Definition at line 826 of file global.h.

Change starting direction after each click.

Definition at line 826 of file global.h.

Referenced by CreateNewPCB().

Force unique names.

Definition at line 826 of file global.h.

Referenced by CreateNewPCB().

Via color.

Definition at line 743 of file global.h.

Referenced by layer_process(), LayersChanged(), and pcb_colors_from_settings().

Selected via color.

Definition at line 743 of file global.h.

Referenced by pcb_colors_from_settings().

The speakers volume -100 .. 100.

Definition at line 785 of file global.h.

Warning color.

Definition at line 743 of file global.h.

Referenced by pcb_colors_from_settings().

Definition at line 743 of file global.h.


The documentation for this struct was generated from the following file: