pcb 4.1.1
An interactive printed circuit board layout editor.

dialogs.c File Reference

#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "xincludes.h"
#include "compat.h"
#include "global.h"
#include "data.h"
#include "crosshair.h"
#include "misc.h"
#include "pcb-printf.h"
#include "hid.h"
#include "../hidint.h"
#include "lesstif.h"
Include dependency graph for dialogs.c:

Go to the source code of this file.

Data Structures

struct  LgResource
struct  AttrRow

Defines

#define CRASH   fprintf(stderr, "HID error: pcb called unimplemented GUI function %s\n", __FUNCTION__), abort()
#define stdarg(t, v)   XtSetArg(args[n], t, v); n++
#define TOP_SIDE_NAME   "(top)"
#define BOTTOM_SIDE_NAME   "(bottom)"

Functions

static void dialog_callback (Widget w, void *v, void *cbs)
static int wait_for_dialog (Widget w)
static void setup_fsb_dialog ()
static int Load (int argc, char **argv, Coord x, Coord y)
static int LoadVendor (int argc, char **argv, Coord x, Coord y)
static int Save (int argc, char **argv, Coord x, Coord y)
static void log_clear (Widget w, void *up, void *cbp)
static void log_dismiss (Widget w, void *up, void *cbp)
void lesstif_logv (const char *fmt, va_list ap)
void lesstif_log (const char *fmt,...)
int lesstif_confirm_dialog (char *msg,...)
static int ConfirmAction (int argc, char **argv, Coord x, Coord y)
int lesstif_close_confirm_dialog ()
void lesstif_report_dialog (char *title, char *msg)
char * lesstif_fileselect (const char *title, const char *descr, char *default_file, char *default_ext, const char *history_tag, int flags)
char * lesstif_prompt_for (const char *msg, const char *default_string)
static int PromptFor (int argc, char **argv, Coord x, Coord y)
static Widget create_form_ok_dialog (char *name, int ok)
int lesstif_attribute_dialog (HID_Attribute *attrs, int n_attrs, HID_Attr_Val *results, const char *title, const char *descr)
static int DoWindows (int argc, char **argv, Coord x, Coord y)
static int About (int argc, char **argv, Coord x, Coord y)
static int Print (int argc, char **argv, Coord x, Coord y)
static int PrintCalibrate (int argc, char **argv, Coord x, Coord y)
static int Export (int argc, char **argv, Coord x, Coord y)
static int sz_str2val (Widget w, bool pcbu)
static void sz_val2str (Widget w, Coord u, int pcbu)
static void sizes_set ()
void lesstif_sizes_reset ()
static Widget size_field (Widget parent, char *label, int posn)
static int AdjustSizes (int argc, char **argv, Coord x, Coord y)
static void lgbutton_cb (Widget w, int ij, void *cbs)
static void lgbutton_expose (Widget w, XtPointer u, XmDrawingAreaCallbackStruct *cbs)
static void lgbutton_input (Widget w, XtPointer u, XmDrawingAreaCallbackStruct *cbs)
static void lgbutton_resize (Widget w, XtPointer u, XmDrawingAreaCallbackStruct *cbs)
void lesstif_update_layer_groups ()
static int EditLayerGroups (int argc, char **argv, Coord x, Coord y)
static void attributes_delete_callback (Widget w, void *v, void *cbs)
static void fiddle_with_bb_layout ()
static void lesstif_attributes_need_rows (int new_max)
static void lesstif_attributes_revert ()
static void attributes_new_callback (Widget w, void *v, void *cbs)
static void attributes_revert_callback (Widget w, void *v, void *cbs)
void lesstif_attributes_dialog (char *owner, AttributeListType *attrs_list)
static int ImportGUI (int argc, char **argv, Coord x, Coord y)

Variables

static Arg args [30]
static int n
static int ok
static Widget fsb = 0
static XmString xms_pcb
static XmString xms_net
static XmString xms_vend
static XmString xms_all
static XmString xms_load
static XmString xms_loadv
static XmString xms_save
static XmString xms_fp
static const char load_syntax [] = "Load(Layout|LayoutToBuffer|ElementToBuffer|Netlist|Revert)"
static const char load_help [] = "Load layout data from a user-selected file."
static const char loadvendor_syntax [] = "LoadVendor()"
static const char loadvendor_help [] = "Loads a user-selected vendor resource file."
static const char save_syntax [] = "Save(PasteBuffer)"
static const char save_help [] = "Save layout data to a user-selected file."
static Widget log_form
static Widget log_text
static int log_size = 0
static int pending_newline = 0
static Widget confirm_dialog = 0
static Widget confirm_cancel
static Widget confirm_ok
static Widget confirm_label
static Widget report = 0
static Widget report_form
static Widget prompt_dialog = 0
static Widget prompt_label
static Widget prompt_text
static const char promptfor_syntax [] = "PromptFor([message[,default]])"
static const char promptfor_help [] = "Prompt for a response."
static const char dowindows_syntax [] = "DoWindows(Layout|Library|Log|Netlist)"
static const char dowindows_help [] = "Open various GUI windows."
static const char about_syntax [] = "About()"
static const char about_help [] = "Tell the user about this version of PCB."
static const char print_syntax [] = "Print()"
static const char print_help [] = "Print the layout."
static HID_Attribute printer_calibrate_attrs []
static HID_Attr_Val printer_calibrate_values [3]
static const char printcalibrate_syntax [] = "PrintCalibrate()"
static const char printcalibrate_help [] = "Calibrate the printer."
static const char export_syntax [] = "Export()"
static const char export_help [] = "Export the layout."
static Widget sizes_dialog = 0
static Widget sz_pcb_w
static Widget sz_pcb_h
static Widget sz_bloat
static Widget sz_shrink
static Widget sz_drc_wid
static Widget sz_drc_slk
static Widget sz_drc_drill
static Widget sz_drc_ring
static Widget sz_text
static Widget sz_set
static Widget sz_reset
static Widget sz_units
static const char adjustsizes_syntax [] = "AdjustSizes()"
static const char adjustsizes_help [] = "Let the user change the board size, DRC parameters, etc"
static Widget layer_groups_form = 0
static Widget lg_buttonform = 0
static int lg_setcol [MAX_ALL_LAYER]
static int lg_width
static int lg_height
static int lg_r [MAX_ALL_LAYER+1]
static int lg_c [MAX_ALL_LAYER+1]
static int lg_label_width
static int lg_fa
static int lg_fd
static GC lg_gc = 0
static Widget lglabels [MAX_ALL_LAYER]
static Widget lgbuttons [MAX_ALL_LAYER][MAX_GROUP]
static LgResource lgr
static XtResource lg_resources []
static const char editlayergroups_syntax [] = "EditLayerGroups()"
static const char editlayergroups_help [] = "Let the user change the layer groupings"
static AttrRowattr_row = 0
static int attr_num_rows = 0
static int attr_max_rows = 0
static Widget attr_dialog = NULL
static Widget f_top
static AttributeListTypeattributes_list
static const char importgui_syntax [] = "ImportGUI()"
static const char importgui_help [] = "Lets the user choose the schematics to import from"
HID_Action lesstif_dialog_action_list []

Define Documentation

#define BOTTOM_SIDE_NAME   "(bottom)"

Definition at line 36 of file dialogs.c.

Referenced by lesstif_update_layer_groups(), and lgbutton_expose().

#define CRASH   fprintf(stderr, "HID error: pcb called unimplemented GUI function %s\n", __FUNCTION__), abort()

Definition at line 27 of file dialogs.c.

#define TOP_SIDE_NAME   "(top)"

Definition at line 35 of file dialogs.c.

Referenced by lesstif_update_layer_groups(), and lgbutton_expose().


Function Documentation

static int About ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]

Definition at line 941 of file dialogs.c.

References args, GetInfoString(), mainwind, n, stdarg, wait_for_dialog(), and XmStringCreatePCB().

Here is the call graph for this function:

static int AdjustSizes ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]
static void attributes_delete_callback ( Widget  w,
void *  v,
void *  cbs 
) [static]

Definition at line 1839 of file dialogs.c.

References fiddle_with_bb_layout(), n, AttrRow::w_name, and AttrRow::w_value.

Referenced by lesstif_attributes_need_rows().

Here is the call graph for this function:

static void attributes_new_callback ( Widget  w,
void *  v,
void *  cbs 
) [static]

Definition at line 1829 of file dialogs.c.

References fiddle_with_bb_layout(), and lesstif_attributes_need_rows().

Referenced by lesstif_attributes_dialog().

Here is the call graph for this function:

static void attributes_revert_callback ( Widget  w,
void *  v,
void *  cbs 
) [static]

Definition at line 1865 of file dialogs.c.

References lesstif_attributes_revert().

Referenced by lesstif_attributes_dialog().

Here is the call graph for this function:

static int ConfirmAction ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]

Definition at line 466 of file dialogs.c.

References lesstif_confirm_dialog().

Here is the call graph for this function:

static Widget create_form_ok_dialog ( char *  name,
int  ok 
) [static]

Definition at line 611 of file dialogs.c.

References args, dialog_callback(), mainwind, and n.

Referenced by Export(), and lesstif_attribute_dialog().

Here is the call graph for this function:

static void dialog_callback ( Widget  w,
void *  v,
void *  cbs 
) [static]
static int DoWindows ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]

Definition at line 897 of file dialogs.c.

References lesstif_log(), lesstif_show_library(), lesstif_show_netlist(), and log_form.

Here is the call graph for this function:

static int EditLayerGroups ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]
static int Export ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]
static void fiddle_with_bb_layout ( ) [static]
static int ImportGUI ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]

Definition at line 2006 of file dialogs.c.

References args, AttributePut, fsb, hid_action(), n, PCB, setup_fsb_dialog(), stdarg, wait_for_dialog(), and XmStringCreatePCB().

Here is the call graph for this function:

int lesstif_attribute_dialog ( HID_Attribute attrs,
int  n_attrs,
HID_Attr_Val results,
const char *  title,
const char *  descr 
)
static void lesstif_attributes_need_rows ( int  new_max) [static]
static void lesstif_attributes_revert ( ) [static]
int lesstif_close_confirm_dialog ( )

Definition at line 478 of file dialogs.c.

References lesstif_confirm_dialog().

Referenced by hid_lesstif_init().

Here is the call graph for this function:

int lesstif_confirm_dialog ( char *  msg,
  ... 
)

Definition at line 398 of file dialogs.c.

References args, confirm_cancel, confirm_dialog, confirm_label, confirm_ok, dialog_callback(), mainwind, n, ok, stdarg, wait_for_dialog(), and XmStringCreatePCB().

Referenced by ConfirmAction(), hid_lesstif_init(), lesstif_close_confirm_dialog(), and Print().

Here is the call graph for this function:

char* lesstif_fileselect ( const char *  title,
const char *  descr,
char *  default_file,
char *  default_ext,
const char *  history_tag,
int  flags 
)

Definition at line 524 of file dialogs.c.

References lesstif_prompt_for().

Referenced by hid_lesstif_init().

Here is the call graph for this function:

void lesstif_log ( const char *  fmt,
  ... 
)

Definition at line 384 of file dialogs.c.

References lesstif_logv().

Referenced by DoWindows(), hid_lesstif_init(), and lesstif_key_event().

Here is the call graph for this function:

void lesstif_logv ( const char *  fmt,
va_list  ap 
)

Definition at line 309 of file dialogs.c.

References args, log_clear(), log_dismiss(), log_form, log_size, log_text, mainwind, n, pcb_vprintf(), pending_newline, and stdarg.

Referenced by hid_lesstif_init(), and lesstif_log().

Here is the call graph for this function:

char* lesstif_prompt_for ( const char *  msg,
const char *  default_string 
)

Definition at line 538 of file dialogs.c.

References args, dialog_callback(), mainwind, n, prompt_dialog, prompt_label, prompt_text, stdarg, wait_for_dialog(), and XmStringCreatePCB().

Referenced by hid_lesstif_init(), lesstif_fileselect(), PromptFor(), and style_name_cb().

Here is the call graph for this function:

void lesstif_report_dialog ( char *  title,
char *  msg 
)

Definition at line 488 of file dialogs.c.

References args, mainwind, n, report, report_form, and stdarg.

Referenced by hid_lesstif_init().

static void lgbutton_cb ( Widget  w,
int  ij,
void *  cbs 
) [static]

Definition at line 1345 of file dialogs.c.

References layer, lgbuttons, max_group, and MoveLayerToGroup().

Referenced by EditLayerGroups().

Here is the call graph for this function:

static void lgbutton_input ( Widget  w,
XtPointer  u,
XmDrawingAreaCallbackStruct *  cbs 
) [static]

Definition at line 1418 of file dialogs.c.

References gui, hid_st::invalidate_all, layer, lg_height, lg_label_width, lg_setcol, lg_width, lgbutton_expose(), max_copper_layer, max_group, MoveLayerToGroup(), and SILK_LAYER.

Referenced by EditLayerGroups().

Here is the call graph for this function:

static void lgbutton_resize ( Widget  w,
XtPointer  u,
XmDrawingAreaCallbackStruct *  cbs 
) [static]

Definition at line 1433 of file dialogs.c.

References args, lg_c, lg_height, lg_label_width, lg_r, lg_width, lgbutton_expose(), max_copper_layer, max_group, n, SILK_LAYER, and stdarg.

Referenced by EditLayerGroups().

Here is the call graph for this function:

static int Load ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]

Definition at line 109 of file dialogs.c.

References args, fsb, hid_actionl(), hid_actionv(), n, setup_fsb_dialog(), stdarg, wait_for_dialog(), xms_fp, xms_load, xms_net, and xms_pcb.

Here is the call graph for this function:

static int LoadVendor ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]

Definition at line 170 of file dialogs.c.

References args, fsb, hid_actionl(), hid_actionv(), n, setup_fsb_dialog(), stdarg, wait_for_dialog(), xms_loadv, and xms_vend.

Here is the call graph for this function:

static void log_clear ( Widget  w,
void *  up,
void *  cbp 
) [static]

Definition at line 295 of file dialogs.c.

References log_size, log_text, and pending_newline.

Referenced by lesstif_logv().

static void log_dismiss ( Widget  w,
void *  up,
void *  cbp 
) [static]

Definition at line 303 of file dialogs.c.

References log_form.

Referenced by lesstif_logv().

static int Print ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]

Definition at line 974 of file dialogs.c.

References hid_st::do_export, hid_st::get_export_options, hid_find_printer(), lesstif_attribute_dialog(), lesstif_confirm_dialog(), and n.

Here is the call graph for this function:

static int PrintCalibrate ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]

Definition at line 1024 of file dialogs.c.

References hid_st::attribute_dialog, hid_st::calibrate, gui, hid_find_printer(), and printer_calibrate_attrs.

Here is the call graph for this function:

static int PromptFor ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]

Definition at line 600 of file dialogs.c.

References lesstif_prompt_for().

Here is the call graph for this function:

static int Save ( int  argc,
char **  argv,
Coord  x,
Coord  y 
) [static]

Definition at line 228 of file dialogs.c.

References args, PCBType::Filename, fsb, hid_actionl(), hid_actionv(), n, PCB, setup_fsb_dialog(), stdarg, wait_for_dialog(), xms_pcb, and xms_save.

Here is the call graph for this function:

static void setup_fsb_dialog ( ) [static]

Definition at line 68 of file dialogs.c.

References args, dialog_callback(), fsb, mainwind, n, xms_all, xms_fp, xms_load, xms_loadv, xms_net, xms_pcb, xms_save, xms_vend, and XmStringCreatePCB().

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

Here is the call graph for this function:

static Widget size_field ( Widget  parent,
char *  label,
int  posn 
) [static]

Definition at line 1194 of file dialogs.c.

References args, n, stdarg, and XmStringCreatePCB().

Referenced by AdjustSizes().

Here is the call graph for this function:

static int sz_str2val ( Widget  w,
bool  pcbu 
) [static]

Definition at line 1127 of file dialogs.c.

References GetValueEx(), SettingType::grid_unit, Settings, and unit::suffix.

Referenced by sizes_set().

Here is the call graph for this function:

static void sz_val2str ( Widget  w,
Coord  u,
int  pcbu 
) [static]

Definition at line 1136 of file dialogs.c.

References unit::allow, SettingType::grid_unit, pcb_snprintf(), and Settings.

Referenced by lesstif_sizes_reset().

Here is the call graph for this function:

static int wait_for_dialog ( Widget  w) [static]

Variable Documentation

const char about_help[] = "Tell the user about this version of PCB." [static]

Definition at line 929 of file dialogs.c.

const char about_syntax[] = "About()" [static]

Definition at line 926 of file dialogs.c.

const char adjustsizes_help[] = "Let the user change the board size, DRC parameters, etc" [static]

Definition at line 1226 of file dialogs.c.

const char adjustsizes_syntax[] = "AdjustSizes()" [static]

Definition at line 1223 of file dialogs.c.

Widget attr_dialog = NULL [static]

Definition at line 1655 of file dialogs.c.

int attr_max_rows = 0 [static]

Definition at line 1654 of file dialogs.c.

Referenced by lesstif_attributes_need_rows().

int attr_num_rows = 0 [static]

Definition at line 1653 of file dialogs.c.

Referenced by fiddle_with_bb_layout(), and lesstif_attributes_dialog().

AttrRow* attr_row = 0 [static]

Definition at line 1652 of file dialogs.c.

Definition at line 1656 of file dialogs.c.

Widget confirm_cancel [static]

Definition at line 395 of file dialogs.c.

Referenced by lesstif_confirm_dialog().

Widget confirm_dialog = 0 [static]

Definition at line 394 of file dialogs.c.

Referenced by ActionPasteBuffer(), and lesstif_confirm_dialog().

Widget confirm_label

Definition at line 395 of file dialogs.c.

Referenced by lesstif_confirm_dialog().

Widget confirm_ok

Definition at line 395 of file dialogs.c.

Referenced by lesstif_confirm_dialog().

const char dowindows_help[] = "Open various GUI windows." [static]

Definition at line 868 of file dialogs.c.

const char dowindows_syntax[] = "DoWindows(Layout|Library|Log|Netlist)" [static]

Definition at line 864 of file dialogs.c.

const char editlayergroups_help[] = "Let the user change the layer groupings" [static]

Definition at line 1548 of file dialogs.c.

const char editlayergroups_syntax[] = "EditLayerGroups()" [static]

Definition at line 1545 of file dialogs.c.

const char export_help[] = "Export the layout." [static]

Definition at line 1040 of file dialogs.c.

const char export_syntax[] = "Export()" [static]

Definition at line 1037 of file dialogs.c.

Widget f_top

Definition at line 1655 of file dialogs.c.

Widget fsb = 0 [static]

Definition at line 63 of file dialogs.c.

Referenced by ImportGUI(), Load(), LoadVendor(), Save(), and setup_fsb_dialog().

const char importgui_help[] = "Lets the user choose the schematics to import from" [static]

Definition at line 1994 of file dialogs.c.

const char importgui_syntax[] = "ImportGUI()" [static]

Definition at line 1991 of file dialogs.c.

Widget layer_groups_form = 0 [static]

Definition at line 1314 of file dialogs.c.

Referenced by EditLayerGroups(), and lesstif_update_layer_groups().

Initial value:

Definition at line 2079 of file dialogs.c.

Widget lg_buttonform = 0 [static]

Definition at line 1315 of file dialogs.c.

Referenced by EditLayerGroups(), and lesstif_update_layer_groups().

int lg_c[MAX_ALL_LAYER+1] [static]

Definition at line 1320 of file dialogs.c.

Referenced by lgbutton_expose(), and lgbutton_resize().

int lg_fa

Definition at line 1321 of file dialogs.c.

Referenced by lesstif_update_layer_groups(), and lgbutton_expose().

int lg_fd

Definition at line 1321 of file dialogs.c.

Referenced by lesstif_update_layer_groups(), and lgbutton_expose().

GC lg_gc = 0 [static]

Definition at line 1322 of file dialogs.c.

Referenced by lgbutton_expose().

int lg_height

Definition at line 1318 of file dialogs.c.

Referenced by lgbutton_expose(), lgbutton_input(), and lgbutton_resize().

int lg_label_width [static]
int lg_r[MAX_ALL_LAYER+1] [static]

Definition at line 1319 of file dialogs.c.

Referenced by lgbutton_expose(), and lgbutton_resize().

XtResource lg_resources[] [static]
Initial value:
 {
  { "font", "Font", XtRFontStruct, sizeof(XFontStruct*), XtOffset(LgResource*, font), XtRString, (void *)"fixed" },
  { "foreground", "Foreground", XtRPixel, sizeof(Pixel), XtOffset(LgResource*, fg), XtRString, (void *)"black" },
  { "selectColor", "Foreground", XtRPixel, sizeof(Pixel), XtOffset(LgResource*, sel), XtRString, (void *)"blue" },
  { "background", "Background", XtRPixel, sizeof(Pixel), XtOffset(LgResource*, bg), XtRString, (void *)"white" }
}

Definition at line 1336 of file dialogs.c.

Referenced by EditLayerGroups().

int lg_setcol[MAX_ALL_LAYER] [static]

Definition at line 1317 of file dialogs.c.

Referenced by lesstif_update_layer_groups(), lgbutton_expose(), and lgbutton_input().

int lg_width [static]

Definition at line 1318 of file dialogs.c.

Referenced by lgbutton_expose(), lgbutton_input(), and lgbutton_resize().

Widget lgbuttons[MAX_ALL_LAYER][MAX_GROUP] [static]

Definition at line 1326 of file dialogs.c.

Referenced by EditLayerGroups(), lesstif_update_layer_groups(), and lgbutton_cb().

Widget lglabels[MAX_ALL_LAYER] [static]

Definition at line 1325 of file dialogs.c.

Referenced by EditLayerGroups(), and lesstif_update_layer_groups().

LgResource lgr [static]

Definition at line 1334 of file dialogs.c.

const char load_help[] = "Load layout data from a user-selected file." [static]

Definition at line 95 of file dialogs.c.

const char load_syntax[] = "Load(Layout|LayoutToBuffer|ElementToBuffer|Netlist|Revert)" [static]

Definition at line 91 of file dialogs.c.

const char loadvendor_help[] = "Loads a user-selected vendor resource file." [static]

Definition at line 158 of file dialogs.c.

const char loadvendor_syntax[] = "LoadVendor()" [static]

Definition at line 155 of file dialogs.c.

Widget log_form [static]

Definition at line 290 of file dialogs.c.

Referenced by DoWindows(), lesstif_logv(), and log_dismiss().

int log_size = 0 [static]

Definition at line 291 of file dialogs.c.

Referenced by lesstif_logv(), and log_clear().

Widget log_text

Definition at line 290 of file dialogs.c.

int n [static]

Definition at line 30 of file dialogs.c.

Referenced by __r_search(), About(), ActionExecuteFile(), add_edge_inter(), add_line_to_corner(), adjust_vertices(), AdjustSizes(), are_neighbors_unique(), AssignDefaultLayerTypes(), attributes_delete_callback(), bestpolygon(), better_seed(), biggest(), calc_lon(), calc_sums(), calculate_serpintine(), ChangeElementNameSize(), check_adj_pushing_vertex(), CheckPinForRubberbandConnection(), ClosePolygon(), common_draw_pcb_text(), ComputeCost(), config_file_read(), connect_edge(), CoordsToString(), CopyPolygonLowLevel(), count_drill_lines(), create_form_ok_dialog(), CreateNewPCB(), CreateRouteData(), createSortedYList(), deleteSegment(), DestroyElement(), detour_router(), draw_dashed_line(), DrawShortestRats(), EditLayerGroups(), Export(), fiddle_with_bb_layout(), fill_contour(), FillDrill(), find_smallest_degree(), FlagCurrentStyle(), FlagLayerShown(), FreeRotateElementLowLevel(), GatherSubnets(), gcode_choose_groups(), GetLowestDistancePolygonPoint(), GetValueEx(), ghid_attribute_dialog(), ghid_coord_entry_popup_cb(), ghid_dialog_print(), ghid_draw_grid(), ghid_layer_selector_install_pick_items(), ghid_layer_selector_install_view_items(), ghid_route_style_selector_install_items(), ghid_set_layer(), GoToPreviousPoint(), gsvit_choose_groups(), gsvit_write_xnets(), gts_bb_tree_segment_distance(), gts_file_read(), gts_gnode_split_new(), gts_gnode_weight(), gts_graph_bfgg_bisection(), gts_graph_bisection_bkl_refine(), gts_graph_bisection_kl_refine(), gts_graph_distance_sum(), gts_graph_farthest(), gts_graph_ggg_bisection(), gts_graph_read(), gts_graph_read_jostle(), gts_matrix_compatible_row(), gts_matrix_quadratic_optimization(), gts_ngnode_new(), gts_pgraph_new(), gts_pgraph_set_node_number(), gts_psurface_close(), gts_psurface_set_vertex_number(), gts_surface_edge_number(), gts_surface_foreach_face_remove(), gts_surface_read(), gts_surface_vertex_number(), gts_surface_write(), gts_surface_write_oogl(), gts_surface_write_vtk(), gts_volume_optimized_vertex(), gts_wgnode_new(), hid_find_flag(), hid_register_actions(), hid_register_attributes(), hid_register_flags(), hidgl_draw_grid(), ImportGUI(), init_cost_matrix(), InsertPointIntoPolygon(), insertSegment(), lesstif_attribute_dialog(), lesstif_attributes_dialog(), lesstif_attributes_need_rows(), lesstif_confirm_dialog(), lesstif_logv(), lesstif_prompt_for(), lesstif_report_dialog(), lesstif_sizes_reset(), lesstif_update_layer_groups(), lgbutton_resize(), Load(), LoadVendor(), LookupConnectionsToAllElements(), match_neighbor(), MoveElementLowLevel(), MoveElementName(), nelma_choose_groups(), nelma_write_layer(), nelma_write_nets(), nelma_write_objects(), netlist_recalculate(), netscore_create(), NotifyMode(), num_shared_vertices(), original_poly(), partition_update(), penalty3(), pgedge_write(), png_hid_export_to_file(), pointslope(), poly_Valid(), Print(), print_costmatrix(), print_defaults(), print_vertex(), PrintFab(), privcurve_init(), process_path(), qloop(), r_delete_element(), RemoveExcessPolygonPoints(), ReportDrills(), ReportNetLength(), res_scan_bytes(), restore_edge(), RotateElementLowLevel(), RotateElementName(), route_checkpoint(), route_restore(), rubber_callback(), Save(), SetElementBoundingBox(), SetRouteStyle(), setup_fsb_dialog(), size_field(), smartdisperse(), surface_read(), touch_conflicts(), tri_data_num_unused_neighbors2(), uninit_strflags_buf(), usage_attr(), vertex_normal_attributes(), WriteElementData(), WriteLayerData(), WritePCBNetlistData(), yy_flex_strncpy(), and yy_scan_bytes().

int pending_newline = 0 [static]

Definition at line 292 of file dialogs.c.

Referenced by lesstif_logv(), and log_clear().

const char print_help[] = "Print the layout." [static]

Definition at line 963 of file dialogs.c.

const char print_syntax[] = "Print()" [static]

Definition at line 960 of file dialogs.c.

const char printcalibrate_help[] = "Calibrate the printer." [static]

Definition at line 1013 of file dialogs.c.

const char printcalibrate_syntax[] = "PrintCalibrate()" [static]

Definition at line 1010 of file dialogs.c.

Initial value:
 {
  {"Enter Values here:", "",
   HID_Label, 0, 0, {0, 0, 0}, 0, 0},
  {"x-calibration", "X scale for calibrating your printer",
   HID_Real, 0.5, 25, {0, 0, 1.00}, 0, 0},
  {"y-calibration", "Y scale for calibrating your printer",
   HID_Real, 0.5, 25, {0, 0, 1.00}, 0, 0}
}

Definition at line 1000 of file dialogs.c.

Referenced by PrintCalibrate().

Definition at line 1008 of file dialogs.c.

Widget prompt_dialog = 0 [static]

Definition at line 534 of file dialogs.c.

Referenced by lesstif_prompt_for().

Widget prompt_label [static]

Definition at line 535 of file dialogs.c.

Referenced by lesstif_prompt_for().

Widget prompt_text

Definition at line 535 of file dialogs.c.

Referenced by lesstif_prompt_for().

const char promptfor_help[] = "Prompt for a response." [static]

Definition at line 587 of file dialogs.c.

const char promptfor_syntax[] = "PromptFor([message[,default]])" [static]

Definition at line 584 of file dialogs.c.

Widget report = 0 [static]

Definition at line 485 of file dialogs.c.

Referenced by lesstif_report_dialog(), Report(), and ReportDialog().

Widget report_form

Definition at line 485 of file dialogs.c.

Referenced by lesstif_report_dialog().

const char save_help[] = "Save layout data to a user-selected file." [static]

Definition at line 214 of file dialogs.c.

const char save_syntax[] = "Save(PasteBuffer)" [static]

Definition at line 208 of file dialogs.c.

Widget sizes_dialog = 0 [static]

Definition at line 1120 of file dialogs.c.

Referenced by AdjustSizes(), and lesstif_sizes_reset().

Widget sz_bloat

Definition at line 1121 of file dialogs.c.

Referenced by AdjustSizes(), lesstif_sizes_reset(), and sizes_set().

Widget sz_drc_drill

Definition at line 1121 of file dialogs.c.

Referenced by AdjustSizes(), lesstif_sizes_reset(), and sizes_set().

Widget sz_drc_ring

Definition at line 1121 of file dialogs.c.

Referenced by AdjustSizes(), lesstif_sizes_reset(), and sizes_set().

Widget sz_drc_slk

Definition at line 1121 of file dialogs.c.

Referenced by AdjustSizes(), lesstif_sizes_reset(), and sizes_set().

Widget sz_drc_wid

Definition at line 1121 of file dialogs.c.

Referenced by AdjustSizes(), lesstif_sizes_reset(), and sizes_set().

Widget sz_pcb_h

Definition at line 1121 of file dialogs.c.

Referenced by AdjustSizes(), lesstif_sizes_reset(), and sizes_set().

Widget sz_pcb_w [static]

Definition at line 1121 of file dialogs.c.

Referenced by AdjustSizes(), lesstif_sizes_reset(), and sizes_set().

Widget sz_reset

Definition at line 1124 of file dialogs.c.

Referenced by AdjustSizes().

Widget sz_set [static]

Definition at line 1124 of file dialogs.c.

Referenced by AdjustSizes().

Widget sz_shrink

Definition at line 1121 of file dialogs.c.

Referenced by AdjustSizes(), lesstif_sizes_reset(), and sizes_set().

Widget sz_text [static]

Definition at line 1123 of file dialogs.c.

Referenced by AdjustSizes(), lesstif_sizes_reset(), and sizes_set().

Widget sz_units

Definition at line 1124 of file dialogs.c.

Referenced by AdjustSizes(), and lesstif_sizes_reset().

XmString xms_all

Definition at line 64 of file dialogs.c.

Referenced by setup_fsb_dialog().

XmString xms_fp

Definition at line 64 of file dialogs.c.

Referenced by Load(), and setup_fsb_dialog().

XmString xms_load

Definition at line 64 of file dialogs.c.

Referenced by Load(), and setup_fsb_dialog().

XmString xms_loadv

Definition at line 64 of file dialogs.c.

Referenced by LoadVendor(), and setup_fsb_dialog().

XmString xms_net

Definition at line 64 of file dialogs.c.

Referenced by Load(), and setup_fsb_dialog().

XmString xms_pcb [static]

Definition at line 64 of file dialogs.c.

Referenced by Load(), Save(), and setup_fsb_dialog().

XmString xms_save

Definition at line 64 of file dialogs.c.

Referenced by Save(), and setup_fsb_dialog().

XmString xms_vend

Definition at line 64 of file dialogs.c.

Referenced by LoadVendor(), and setup_fsb_dialog().