pcb 4.1.1
An interactive printed circuit board layout editor.

lesstif.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define app_context   lesstif_app_context
#define appwidget   lesstif_appwidget
#define display   lesstif_display
#define screen_s   lesstif_screen_s
#define screen   lesstif_screen
#define mainwind   lesstif_mainwind
#define work_area   lesstif_work_area
#define messages   lesstif_messages
#define command   lesstif_command
#define hscroll   lesstif_hscroll
#define vscroll   lesstif_vscroll
#define m_click   lesstif_message_click
#define XtRPCBCoord   "PCBCoord"
#define need_idle_proc   lesstif_need_idle_proc
#define show_crosshair   lesstif_show_crosshair

Functions

Widget lesstif_menu (Widget, char *, Arg *, int)
int lesstif_key_event (XKeyEvent *)
int lesstif_button_event (Widget w, XEvent *e)
int lesstif_winxy_to_pcbxy (int winx, int winy, int *pcbx, int *pcby)
int lesstif_pcbxy_to_winxy (int pcbx, int pcby, int *winx, int *winy)
void lesstif_need_idle_proc (void)
void lesstif_show_crosshair (int)
void lesstif_invalidate_all (void)
void lesstif_coords_to_pcb (int, int, Coord *, Coord *)
void lesstif_get_xy (const char *msg)
void lesstif_update_widget_flags (void)
int lesstif_call_action (const char *, int, char **)
void lesstif_sizes_reset (void)
void lesstif_pan_fixup (void)
void lesstif_show_library (void)
void lesstif_show_netlist (void)
Pixel lesstif_parse_color (char *value)
void lesstif_insert_style_buttons (Widget menu)
void lesstif_styles_update_values ()
void lesstif_update_layer_groups ()
void lesstif_update_status_line ()
char * lesstif_prompt_for (const char *, const char *)
char * lesstif_fileselect (const char *, const char *, char *, char *, const char *, int)
void lesstif_log (const char *fmt,...)
void lesstif_attributes_dialog (char *, AttributeListType *)
static XmString XmStringCreatePCB (char *x)

Variables

XtAppContext app_context
Widget appwidget
Display * display
Screen * screen_s
int screen
Widget mainwind
Widget work_area
Widget command
Widget hscroll
Widget vscroll
Widget m_click

Define Documentation

#define appwidget   lesstif_appwidget

Definition at line 2 of file lesstif.h.

Referenced by lesstif_do_export(), lesstif_parse_arguments(), and PCBChanged().

#define hscroll   lesstif_hscroll

Definition at line 10 of file lesstif.h.

Referenced by lesstif_do_export(), lesstif_pan_fixup(), PCBChanged(), and SwapSides().

#define m_click   lesstif_message_click

Definition at line 12 of file lesstif.h.

Referenced by lesstif_do_export(), and lesstif_get_xy().

#define messages   lesstif_messages

Definition at line 8 of file lesstif.h.

#define need_idle_proc   lesstif_need_idle_proc
#define screen_s   lesstif_screen_s

Definition at line 4 of file lesstif.h.

Referenced by lesstif_parse_arguments().

#define show_crosshair   lesstif_show_crosshair

Definition at line 63 of file lesstif.h.

Referenced by idle_proc(), work_area_expose(), work_area_input(), and work_area_resize().

#define vscroll   lesstif_vscroll

Definition at line 11 of file lesstif.h.

Referenced by lesstif_do_export(), lesstif_pan_fixup(), PCBChanged(), and SwapSides().

#define work_area   lesstif_work_area
#define XtRPCBCoord   "PCBCoord"

Definition at line 59 of file lesstif.h.

Referenced by lesstif_parse_arguments().


Function Documentation

int lesstif_button_event ( Widget  w,
XEvent *  e 
)

Definition at line 806 of file menu.c.

References action_x, have_xy, and work_area.

Referenced by work_area_input().

int lesstif_call_action ( const char *  ,
int  ,
char **   
)
void lesstif_coords_to_pcb ( int  ,
int  ,
Coord ,
Coord  
)

Definition at line 335 of file hid/lesstif/main.c.

References Px(), and Py().

Referenced by lesstif_get_coords().

Here is the call graph for this function:

char* lesstif_fileselect ( const char *  ,
const char *  ,
char *  ,
char *  ,
const char *  ,
int   
)

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_get_xy ( const char *  msg)

Definition at line 819 of file menu.c.

References app_context, args, display, have_xy, m_click, n, stdarg, and XmStringCreatePCB().

Referenced by lesstif_get_coords().

Here is the call graph for this function:

void lesstif_insert_style_buttons ( Widget  menu)

Definition at line 440 of file styles.c.

References args, n, RouteStyleType::Name, num_style_buttons, PCB, realloc(), PCBType::RouteStyle, s, stdarg, style_selected(), update_style_buttons(), StyleButtons::w, and XmStringCreatePCB().

Referenced by add_resource_to_menu().

Here is the call graph for this function:

void lesstif_invalidate_all ( void  )
int lesstif_key_event ( XKeyEvent *  )
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:

Widget lesstif_menu ( Widget  ,
char *  ,
Arg *  ,
int   
)
void lesstif_need_idle_proc ( void  )

Definition at line 2972 of file hid/lesstif/main.c.

References app_context, idle_proc(), and window.

Referenced by callback().

Here is the call graph for this function:

void lesstif_pan_fixup ( void  )
Pixel lesstif_parse_color ( char *  value)

Definition at line 342 of file hid/lesstif/main.c.

References colormap, and display.

Referenced by LayersChanged(), lesstif_show_crosshair(), and work_area_first_expose().

int lesstif_pcbxy_to_winxy ( int  pcbx,
int  pcby,
int *  winx,
int *  winy 
)
char* lesstif_prompt_for ( const char *  ,
const char *   
)

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_show_crosshair ( int  )
void lesstif_show_library ( void  )

Definition at line 172 of file library.c.

References library_dialog, LibraryChanged(), and mainwind.

Referenced by DoWindows().

Here is the call graph for this function:

void lesstif_show_netlist ( void  )

Definition at line 477 of file hid/lesstif/netlist.c.

References build_netlist_dialog(), and netlist_dialog.

Referenced by DoWindows().

Here is the call graph for this function:

void lesstif_styles_update_values ( )

Definition at line 120 of file styles.c.

References SettingType::grid_unit, lesstif_update_status_line(), Settings, style_dialog, unit::suffix, update_values(), and ustr.

Referenced by SetUnits().

Here is the call graph for this function:

void lesstif_update_widget_flags ( void  )

Definition at line 722 of file menu.c.

References args, hid_get_flag(), n_wflags, and WidgetFlagType::oldval.

Referenced by idle_proc().

Here is the call graph for this function:

int lesstif_winxy_to_pcbxy ( int  winx,
int  winy,
int *  pcbx,
int *  pcby 
)

Variable Documentation

XtAppContext app_context

Definition at line 98 of file hid/lesstif/main.c.

Widget appwidget

Definition at line 99 of file hid/lesstif/main.c.

Widget command

Definition at line 159 of file hid/lesstif/main.c.

Display* display

Definition at line 100 of file hid/lesstif/main.c.

Widget hscroll

Definition at line 159 of file hid/lesstif/main.c.

Widget m_click

Definition at line 163 of file hid/lesstif/main.c.

Widget mainwind

Definition at line 158 of file hid/lesstif/main.c.

int screen

Definition at line 126 of file hid/lesstif/main.c.

Screen* screen_s

Definition at line 125 of file hid/lesstif/main.c.

Widget vscroll

Definition at line 159 of file hid/lesstif/main.c.

Widget work_area

Definition at line 159 of file hid/lesstif/main.c.