diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./Make.conf ../grace-5.1.12iu/Make.conf *** ./Make.conf 1969-12-31 17:00:00.000000000 -0700 --- ../grace-5.1.12iu/Make.conf 2003-02-24 16:44:15.000000000 -0700 *************** *** 0 **** --- 1,122 ---- + # No make rules by default + .SUFFIXES: + + # Extension of object files + O=.o + + # Extension of executables + EXE= + + # Bourn shell + SHELL=/bin/sh + + # Path prefix for installation links + PREFIX=/usr/local + + # List of subdirectories + SUBDIRS=cephes T1lib Xbae/Xbae src grconvert grace_np fonts templates doc examples auxiliary + + # Name of executable + GRACE=xmgrace$(EXE) + + # Location of the Grace home + GRACE_HOME=/usr/local/grace + + # Relocatable that contains alloca() + ALLOCA= + + # Type1 fonts library + T1_LIB=$(TOP)/T1lib/libt1.a + + # T1 include path + T1_INC=-I$(TOP)/T1lib/t1lib + + # T1lib defines (if the bundled version to be used) + T1_AA_TYPE16=short + T1_AA_TYPE32=int + T1_AA_TYPE64= + + # Library containing XDR functions + XDR_LIB= + + # Library containing dll-related functions + DL_LIB=-ldl + + # FFTW library + FFTW_LIB=-lfftw + + # netCDF libraries + NETCDF_LIBS= + + # JPEG library + JPEG_LIB=-ljpeg + + # libz library + Z_LIB=-lz + + # PNG library + PNG_LIB=-lpng + + # TIFF library + TIFF_LIB=-ltiff + + # PDFlib library + PDF_LIB=-lpdf + + # Xbae include path + XBAE_INC=-I$(TOP)/Xbae + + # Location of yacc (or its substitution) + YACC=bison -y + + # C compiler + CC=gcc + + # F77 compiler + FC=f77 + + # ar + AR=ar + + # ranlib + RANLIB=ranlib + + # rm + RM=rm -f + + # soft link + LN_S=ln -s + + # BSD install + INSTALL=/usr/bin/install -c + INSTALL_PROGRAM=${INSTALL} + INSTALL_DATA=${INSTALL} -m 644 + MKINSTALLDIRS=/home/vigmond/grace-5.1.12/ac-tools/shtool mkdir -p -f + + # CPP flags + CPPFLAGS= + + # C flags + CFLAGS0=-g -O2 -mcpu=pentiumpro -fno-common -Wall -pedantic -Wpointer-arith -Wnested-externs + + # GUI flags + GUI_FLAGS= -I/usr/X11R6/include + + # LDFLAGS + LDFLAGS= + + # Libraries (all but GUI) + NOGUI_LIBS=-lm + + # GUI libraries + GUI_LIBS= -L/usr/X11R6/lib -lXmHTML $(TOP)/Xbae/Xbae/libXbae.a -lXm -lXpm -lXp -lXmu -lXt -lXext -lX11 -lSM -lICE + + # Command used to print + PRINT_CMD='lp -c' + + # Editor + GRACE_EDITOR='xterm -e vi' + + # HTML help viewer command + HELPVIEWER= + diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./README.instup ../grace-5.1.12iu/README.instup *** ./README.instup 1969-12-31 17:00:00.000000000 -0700 --- ../grace-5.1.12iu/README.instup 2003-02-26 10:58:54.000000000 -0700 *************** *** 0 **** --- 1,22 ---- + + This patch adds instantaneous updating to the major widgets. Only the + feature changed gets updated. This means that, for example, the line + colour of a set is changed when you select the colour, NOT + when you press apply. Make sure that the instant update button is selected + for this feature to work. + + Why is this so great? + 1) Well, say I have a bunch of sets for which I selected all the line styles, + symbols and colours. Now I want to change the width of all of them + Traditionally, this would have meant that I would have to go through and + do every set individually. Now, I can select all the sets and ONLY the + line width wll get changed when I select a new line width. + Imagine this with graphs, axes, etc. + 2) I can see the result right away. I do not have to leave the widget and + hit the apply button. + + There is a new X resource to set for this to work automatically. Put the + following line in your ~/.Xresources or .Xdefaults file: + + XMgrace*InstantUpdate: true + diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/buildinfo.h ../grace-5.1.12iu/src/buildinfo.h *** ./src/buildinfo.h 1969-12-31 17:00:00.000000000 -0700 --- ../grace-5.1.12iu/src/buildinfo.h 2003-02-26 10:52:50.000000000 -0700 *************** *** 0 **** --- 1,16 ---- + #define BI_VERSION_ID 50112 + #define BI_VERSION "Grace-5.1.12" + #define BI_GUI "@(#)Motif Version 2.1.30" + #define BI_GUI_XBAE "4007" + #define BI_T1LIB "1.3.1p1-grace" + #define BI_PNGLIB "1.2.2" + #define BI_LIBJPEG "62" + #define BI_LIBPDF "4.0.3" + #define BI_CCOMPILER "gcc -g -O2 -mcpu=pentiumpro -fno-common -Wall -pedantic -Wpointer-arith -Wnested-externs -I.. -I. -I../T1lib/t1lib -I../Xbae -I/usr/X11R6/include -L/usr/X11R6/lib -lXmHTML ../Xbae/Xbae/libXbae.a -lXm -lXpm -lXp -lXmu -lXt -lXext -lX11 -lSM -lICE ../cephes/libcephes.a -lfftw ../T1lib/libt1.a -lpdf -ltiff -ljpeg -lpng -lz -lm -ldl" + #define BI_SYSTEM "Linux #1 Thu Nov 14 00:10:29 EST 2002 2.4.18-18.8.0 i686" + #define BI_DATE "Wed Feb 26 10:52:50 2003" + + #define GRACE_HOME "/usr/local/grace" + #define GRACE_EDITOR "xterm -e vi" + #define GRACE_PRINT_CMD "lp -c" + #define GRACE_HELPVIEWER "netscape -remote openURL\\(%s,new-window\\) >>/dev/null 2>&1 || netscape %s" diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/compwin.c ../grace-5.1.12iu/src/compwin.c *** ./src/compwin.c 2002-03-12 14:16:00.000000000 -0700 --- ../grace-5.1.12iu/src/compwin.c 2003-02-24 16:36:56.000000000 -0700 *************** *** 74,80 **** static void do_window_proc(Widget w, XtPointer client_data, XtPointer call_data); static int do_histo_proc(void *data); static void do_sample_proc(Widget w, XtPointer client_data, XtPointer call_data); ! static void do_prune_toggle(Widget w, XtPointer client_data, XtPointer call_data); static void do_prune_proc(Widget w, XtPointer client_data, XtPointer call_data); static void set_regr_sensitivity(Widget , XtPointer , XtPointer ); --- 74,80 ---- static void do_window_proc(Widget w, XtPointer client_data, XtPointer call_data); static int do_histo_proc(void *data); static void do_sample_proc(Widget w, XtPointer client_data, XtPointer call_data); ! static void do_prune_toggle(int c, void *data); static void do_prune_proc(Widget w, XtPointer client_data, XtPointer call_data); static void set_regr_sensitivity(Widget , XtPointer , XtPointer ); *************** *** 589,599 **** typedef struct _Four_ui { Widget top; SetChoiceItem sel; ! Widget *load_item; ! Widget *window_item; ! Widget *loadx_item; ! Widget *inv_item; ! Widget *type_item; Widget *graph_item; } Four_ui; --- 589,599 ---- typedef struct _Four_ui { Widget top; SetChoiceItem sel; ! OptionStructure *load_item; ! OptionStructure *window_item; ! OptionStructure *loadx_item; ! OptionStructure *inv_item; ! OptionStructure *type_item; Widget *graph_item; } Four_ui; *************** *** 793,800 **** Widget top; SetChoiceItem sel; Widget len_item; ! Widget *type_item; ! Widget *region_item; Widget rinvert_item; } Run_ui; --- 793,800 ---- Widget top; SetChoiceItem sel; Widget len_item; ! OptionStructure *type_item; ! OptionStructure *region_item; Widget rinvert_item; } Run_ui; *************** *** 912,921 **** typedef struct _Reg_ui { Widget top; SetChoiceItem sel; ! Widget *degree_item; Widget zero_item; ! Widget *resid_item; ! Widget *region_item; Widget rinvert_item; Widget start_item; Widget stop_item; --- 912,921 ---- typedef struct _Reg_ui { Widget top; SetChoiceItem sel; ! OptionStructure *degree_item; Widget zero_item; ! OptionStructure *resid_item; ! OptionStructure *region_item; Widget rinvert_item; Widget start_item; Widget stop_item; *************** *** 1007,1016 **** 0, 0); ManageChild(rc2); for( i=2; i<5; i++ ) XtAddCallback( regui.resid_item[i], XmNactivateCallback, set_regr_sensitivity, (XtPointer)(i-2) ); ! rc2 = XtVaCreateWidget("rc2", xmRowColumnWidgetClass, rc, --- 1007,1020 ---- 0, 0); ManageChild(rc2); + /* for( i=2; i<5; i++ ) XtAddCallback( regui.resid_item[i], XmNactivateCallback, set_regr_sensitivity, (XtPointer)(i-2) ); ! */ ! for( i=0; i<3; i++ ) ! XtAddCallback( regui.resid_item->options[i].widget, XmNactivateCallback, ! set_regr_sensitivity, (XtPointer)(i) ); rc2 = XtVaCreateWidget("rc2", xmRowColumnWidgetClass, rc, *************** *** 1138,1144 **** typedef struct _Diff_ui { Widget top; SetChoiceItem sel; ! Widget *type_item; Widget *region_item; Widget rinvert_item; } Diff_ui; --- 1142,1148 ---- typedef struct _Diff_ui { Widget top; SetChoiceItem sel; ! OptionStructure *type_item; Widget *region_item; Widget rinvert_item; } Diff_ui; *************** *** 1216,1222 **** typedef struct _Int_ui { Widget top; SetChoiceItem sel; ! Widget *type_item; Widget sum_item; Widget *region_item; Widget rinvert_item; --- 1220,1226 ---- typedef struct _Int_ui { Widget top; SetChoiceItem sel; ! OptionStructure *type_item; Widget sum_item; Widget *region_item; Widget rinvert_item; *************** *** 1450,1456 **** typedef struct _Samp_ui { Widget top; SetChoiceItem sel; ! Widget *type_item; Widget start_item; Widget step_item; Widget expr_item; --- 1454,1460 ---- typedef struct _Samp_ui { Widget top; SetChoiceItem sel; ! OptionStructure *type_item; Widget start_item; Widget step_item; Widget expr_item; *************** *** 1566,1575 **** typedef struct _Prune_ui { Widget top; SetChoiceItem sel; ! Widget *type_item; ! Widget *dxtype_item; ! Widget *dytype_item; ! Widget *deltatype_item; Widget dx_rc; Widget dy_rc; Widget dx_item; --- 1570,1579 ---- typedef struct _Prune_ui { Widget top; SetChoiceItem sel; ! OptionStructure *type_item; ! OptionStructure *dxtype_item; ! OptionStructure *dytype_item; ! OptionStructure *deltatype_item; Widget dx_rc; Widget dy_rc; Widget dx_item; *************** *** 1580,1586 **** void create_prune_frame(void *data) { - int i; static Widget dialog; set_wait_cursor(); --- 1584,1589 ---- *************** *** 1628,1642 **** update_prune_frame(); ! for (i = 0; i <= 3; i++) { ! XtAddCallback(pruneui.type_item[2 + i], XmNactivateCallback, ! (XtCallbackProc) do_prune_toggle, (XtPointer) &pruneui); ! } ! for (i = 0; i <= 1; i++) { ! XtAddCallback(pruneui.deltatype_item[2 + i], XmNactivateCallback, ! (XtCallbackProc) do_prune_toggle, (XtPointer) &pruneui); ! } ! do_prune_toggle ((Widget) NULL, (XtPointer) &pruneui, 0); CreateSeparator(dialog); --- 1631,1642 ---- update_prune_frame(); ! AddOptionChoiceCB(pruneui.type_item, do_prune_toggle, ! (XtPointer)&pruneui); ! AddOptionChoiceCB(pruneui.deltatype_item, ! do_prune_toggle, (XtPointer)&pruneui); ! ! do_prune_toggle( 0, (XtPointer) &pruneui ); CreateSeparator(dialog); *************** *** 1663,1671 **** /* * Toggle prune type */ ! static void do_prune_toggle(Widget w, XtPointer client_data, XtPointer call_data) { ! Prune_ui *ui = (Prune_ui *) client_data; int typeno = (int) GetChoice(ui->type_item); int deltatypeno = (int) GetChoice(ui->deltatype_item); --- 1663,1671 ---- /* * Toggle prune type */ ! static void do_prune_toggle(int c, void *data) { ! Prune_ui *ui = (Prune_ui *)data; int typeno = (int) GetChoice(ui->type_item); int deltatypeno = (int) GetChoice(ui->deltatype_item); *************** *** 1675,1686 **** SetSensitive(pruneui.dy_rc, FALSE); switch (deltatypeno) { case PRUNE_VIEWPORT: SetSensitive(*pruneui.dxtype_item, FALSE); SetSensitive(*pruneui.dytype_item, FALSE); break; case PRUNE_WORLD: ! SetSensitive(*pruneui.dxtype_item, TRUE); ! SetSensitive(*pruneui.dytype_item, FALSE); break; } break; --- 1675,1690 ---- SetSensitive(pruneui.dy_rc, FALSE); switch (deltatypeno) { case PRUNE_VIEWPORT: + /* SetSensitive(*pruneui.dxtype_item, FALSE); SetSensitive(*pruneui.dytype_item, FALSE); + */ + SetSensitive(pruneui.dxtype_item->pulldown, FALSE); + SetSensitive(pruneui.dytype_item->pulldown, FALSE); break; case PRUNE_WORLD: ! SetSensitive(pruneui.dxtype_item->pulldown, TRUE); ! SetSensitive(pruneui.dytype_item->pulldown, FALSE); break; } break; *************** *** 1690,1701 **** SetSensitive(pruneui.dy_rc, TRUE); switch (deltatypeno) { case PRUNE_VIEWPORT: ! SetSensitive(*pruneui.dxtype_item, FALSE); ! SetSensitive(*pruneui.dytype_item, FALSE); break; case PRUNE_WORLD: ! SetSensitive(*pruneui.dxtype_item, TRUE); ! SetSensitive(*pruneui.dytype_item, TRUE); break; } break; --- 1694,1705 ---- SetSensitive(pruneui.dy_rc, TRUE); switch (deltatypeno) { case PRUNE_VIEWPORT: ! SetSensitive(pruneui.dxtype_item->pulldown, FALSE); ! SetSensitive(pruneui.dytype_item->pulldown, FALSE); break; case PRUNE_WORLD: ! SetSensitive(pruneui.dxtype_item->pulldown, TRUE); ! SetSensitive(pruneui.dytype_item->pulldown, TRUE); break; } break; *************** *** 1704,1715 **** SetSensitive(pruneui.dy_rc, TRUE); switch (deltatypeno) { case PRUNE_VIEWPORT: ! SetSensitive(*pruneui.dxtype_item, FALSE); ! SetSensitive(*pruneui.dytype_item, FALSE); break; case PRUNE_WORLD: ! SetSensitive(*pruneui.dxtype_item, FALSE); ! SetSensitive(*pruneui.dytype_item, TRUE); break; } break; --- 1708,1719 ---- SetSensitive(pruneui.dy_rc, TRUE); switch (deltatypeno) { case PRUNE_VIEWPORT: ! SetSensitive(pruneui.dxtype_item->pulldown, FALSE); ! SetSensitive(pruneui.dytype_item->pulldown, FALSE); break; case PRUNE_WORLD: ! SetSensitive(pruneui.dxtype_item->pulldown, FALSE); ! SetSensitive(pruneui.dytype_item->pulldown, TRUE); break; } break; *************** *** 1908,1914 **** Widget top; SetChoiceItem sel; SetChoiceItem sel2; ! Widget *order_item; Widget degrees_item; Widget rotx_item; Widget roty_item; --- 1912,1918 ---- Widget top; SetChoiceItem sel; SetChoiceItem sel2; ! OptionStructure *order_item; Widget degrees_item; Widget rotx_item; Widget roty_item; diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/featext.c ../grace-5.1.12iu/src/featext.c *** ./src/featext.c 2002-05-27 14:10:15.000000000 -0600 --- ../grace-5.1.12iu/src/featext.c 2003-02-24 16:36:56.000000000 -0700 *************** *** 56,62 **** Widget top; ListStructure *tograph; OptionStructure *feature_item; ! Widget *xval_item; ListStructure *absic_graph; SetChoiceItem absic_set; Widget legload_rc; --- 56,62 ---- Widget top; ListStructure *tograph; OptionStructure *feature_item; ! OptionStructure *xval_item; ListStructure *absic_graph; SetChoiceItem absic_set; Widget legload_rc; *************** *** 143,149 **** NULL, 0 ); for (i = 0; i < 4; i++) { ! XtAddCallback(feui.xval_item[2 + i], XmNactivateCallback, (XtCallbackProc) do_fext_toggle, (XtPointer) i); } --- 143,149 ---- NULL, 0 ); for (i = 0; i < 4; i++) { ! XtAddCallback(feui.xval_item->options[i].widget, XmNactivateCallback, (XtCallbackProc) do_fext_toggle, (XtPointer) i); } diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/fileswin.c ../grace-5.1.12iu/src/fileswin.c *** ./src/fileswin.c 2000-07-12 16:31:47.000000000 -0600 --- ../grace-5.1.12iu/src/fileswin.c 2003-02-24 16:36:56.000000000 -0700 *************** *** 393,399 **** set_wait_cursor(); if (fsb == NULL) { ! Widget fr, *graph_item; fsb = CreateFileSelectionBox(app_shell, "Write parameters"); fr = CreateFrame(fsb->rc, NULL); --- 393,400 ---- set_wait_cursor(); if (fsb == NULL) { ! Widget fr; ! OptionStructure *graph_item; fsb = CreateFileSelectionBox(app_shell, "Write parameters"); fr = CreateFrame(fsb->rc, NULL); *************** *** 415,421 **** static int write_params_proc(char *filename, void *data) { ! Widget *graph_item = (Widget *) data; int gno; FILE *pp; --- 416,422 ---- static int write_params_proc(char *filename, void *data) { ! OptionStructure *graph_item = (Widget *) data; int gno; FILE *pp; diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/graphappwin.c ../grace-5.1.12iu/src/graphappwin.c *** ./src/graphappwin.c 2001-11-13 13:36:22.000000000 -0700 --- ../grace-5.1.12iu/src/graphappwin.c 2003-02-24 16:36:56.000000000 -0700 *************** *** 54,60 **** static Widget define_view_yv1; static Widget define_view_yv2; ! static Widget *graph_type_choice_item; static Widget stacked_item; --- 54,60 ---- static Widget define_view_yv1; static Widget define_view_yv2; ! static OptionStructure *graph_type_choice_item; static Widget stacked_item; *************** *** 72,78 **** static SpinStructure *bargap_item; static Widget znorm_item; ! static Widget *frame_framestyle_choice_item; static OptionStructure *frame_color_choice_item; static OptionStructure *frame_pattern_choice_item; static OptionStructure *frame_lines_choice_item; --- 72,78 ---- static SpinStructure *bargap_item; static Widget znorm_item; ! static OptionStructure *frame_framestyle_choice_item; static OptionStructure *frame_color_choice_item; static OptionStructure *frame_pattern_choice_item; static OptionStructure *frame_lines_choice_item; *************** *** 83,92 **** static Widget legend_x_item; static Widget legend_y_item; static Widget toggle_legends_item; ! static Widget *toggle_legendloc_item; ! static Widget *legends_vgap_item; ! static Widget *legends_hgap_item; ! static Widget *legends_len_item; static Widget legends_invert_item; static OptionStructure *legend_font_item; static Widget legend_charsize_item; --- 83,92 ---- static Widget legend_x_item; static Widget legend_y_item; static Widget toggle_legends_item; ! static OptionStructure *toggle_legendloc_item; ! static OptionStructure *legends_vgap_item; ! static OptionStructure *legends_hgap_item; ! static OptionStructure *legends_len_item; static Widget legends_invert_item; static OptionStructure *legend_font_item; static Widget legend_charsize_item; *************** *** 98,103 **** --- 98,106 ---- static OptionStructure *legend_boxcolor_item; static OptionStructure *legend_boxpattern_item; + static Widget instantupdate_item; + static int instantupdate=0; + /* * Event and Notify proc declarations */ *************** *** 108,113 **** --- 111,131 ---- void update_graphapp_items(int n, int *values, void *data); + void graphwin_iu(int a, void *data) + { + instantupdate = a; + } + + void oc_graph_cb( int a, void *data ) + { + graphapp_aac_cb( data ); + } + + void sp_graph_cb( double a, void *data ) + { + graphapp_aac_cb( data ); + } + void create_graphapp_frame_cb(void *data) { create_graphapp_frame((int) data); *************** *** 170,175 **** --- 188,198 ---- CreateMenuButton(menupane, "Create new", 'C', create_new_graph_proc, graph_selector); + menupane = CreateMenu(menubar, "Options", 'O', FALSE); + instantupdate_item = CreateMenuToggle(menupane, "Instantaneous update", + 'u', graphwin_iu, NULL); + SetToggleButtonState(instantupdate_item, instantupdate); + menupane = CreateMenu(menubar, "Help", 'H', TRUE); CreateMenuHelpButton(menupane, "On graph appearance", 'g', graphapp_dialog, "doc/UsersGuide.html#graph-appearance"); *************** *** 196,225 **** "Fixed", "Pie chart", NULL, ! NULL); stacked_item = CreateToggleButton(rc, "Stacked chart"); fr = CreateFrame(graphapp_main, "Titles"); rc = CreateVContainer(fr); label_title_text_item = CreateCSText(rc, "Title: "); label_subtitle_text_item = CreateCSText(rc, "Subtitle: "); fr = CreateFrame(graphapp_main, "Viewport"); rc = CreateVContainer(fr); rc1 = CreateHContainer(rc); define_view_xv1 = CreateTextItem2(rc1, 8, "Xmin:"); define_view_xv2 = CreateTextItem2(rc1, 8, "Xmax:"); rc1 = CreateHContainer(rc); define_view_yv1 = CreateTextItem2(rc1, 8, "Ymin:"); define_view_yv2 = CreateTextItem2(rc1, 8, "Ymax:"); fr = CreateFrame(graphapp_main, "Display options"); rc = CreateHContainer(fr); toggle_legends_item = CreateToggleButton(rc, "Display legend"); graph_flipxy_item = CreateToggleButton(rc, "Flip XY (N/I)"); AddToggleButtonCB(graph_flipxy_item, flipxy_cb, NULL); /* ------------ Titles tab -------------- */ --- 219,267 ---- "Fixed", "Pie chart", NULL, ! 0); ! AddOptionChoiceCB( graph_type_choice_item, (OC_CBProc)oc_graph_cb, ! (void *)graph_type_choice_item ); stacked_item = CreateToggleButton(rc, "Stacked chart"); + AddToggleButtonCB( stacked_item, (OC_CBProc)oc_graph_cb, + (void *)stacked_item ); fr = CreateFrame(graphapp_main, "Titles"); rc = CreateVContainer(fr); label_title_text_item = CreateCSText(rc, "Title: "); + AddTextInputCB( label_title_text_item, (Text_CBProc)graphapp_aac_cb, + (void *)label_title_text_item ); label_subtitle_text_item = CreateCSText(rc, "Subtitle: "); + AddTextInputCB( label_subtitle_text_item, (Text_CBProc)graphapp_aac_cb, + (void *)label_subtitle_text_item ); fr = CreateFrame(graphapp_main, "Viewport"); rc = CreateVContainer(fr); rc1 = CreateHContainer(rc); define_view_xv1 = CreateTextItem2(rc1, 8, "Xmin:"); + AddTextItem2CB( define_view_xv1, (Button_CBProc)graphapp_aac_cb, + (void *)define_view_xv1 ); define_view_xv2 = CreateTextItem2(rc1, 8, "Xmax:"); + AddTextItem2CB( define_view_xv2, (Button_CBProc)graphapp_aac_cb, + (void *)define_view_xv2 ); rc1 = CreateHContainer(rc); define_view_yv1 = CreateTextItem2(rc1, 8, "Ymin:"); + AddTextItem2CB( define_view_yv1, (Button_CBProc)graphapp_aac_cb, + (void *)define_view_yv1 ); define_view_yv2 = CreateTextItem2(rc1, 8, "Ymax:"); + AddTextItem2CB( define_view_yv2, (Button_CBProc)graphapp_aac_cb, + (void *)define_view_yv2 ); fr = CreateFrame(graphapp_main, "Display options"); rc = CreateHContainer(fr); toggle_legends_item = CreateToggleButton(rc, "Display legend"); + AddToggleButtonCB( toggle_legends_item, (TB_CBProc)oc_graph_cb, + (void *)toggle_legends_item ); graph_flipxy_item = CreateToggleButton(rc, "Flip XY (N/I)"); AddToggleButtonCB(graph_flipxy_item, flipxy_cb, NULL); + /*AddToggleButtonCB(graph_flipxy_item, oc_graph_cb, (void *)graph_flipxy_item);*/ /* ------------ Titles tab -------------- */ *************** *** 229,243 **** fr = CreateFrame(graphapp_titles, "Title"); rc2 = CreateVContainer(fr); title_font_item = CreateFontChoice(rc2, "Font:"); title_size_item = CreateCharSizeChoice(rc2, "Character size"); title_color_item = CreateColorChoice(rc2, "Color:"); fr = CreateFrame(graphapp_titles, "Subtitle"); rc2 = CreateVContainer(fr); stitle_font_item = CreateFontChoice(rc2, "Font:"); stitle_size_item = CreateCharSizeChoice(rc2, "Character size"); stitle_color_item = CreateColorChoice(rc2, "Color:"); ! /* ------------ Frame tab -------------- */ --- 271,296 ---- fr = CreateFrame(graphapp_titles, "Title"); rc2 = CreateVContainer(fr); title_font_item = CreateFontChoice(rc2, "Font:"); + AddOptionChoiceCB( title_font_item, (OC_CBProc)oc_graph_cb, + (void *)title_font_item ); title_size_item = CreateCharSizeChoice(rc2, "Character size"); + AddScaleCB( title_size_item, (OC_CBProc)oc_graph_cb, + (void *)title_size_item ); title_color_item = CreateColorChoice(rc2, "Color:"); + AddOptionChoiceCB( title_color_item, (OC_CBProc)oc_graph_cb, + (void *)title_color_item ); fr = CreateFrame(graphapp_titles, "Subtitle"); rc2 = CreateVContainer(fr); stitle_font_item = CreateFontChoice(rc2, "Font:"); + AddOptionChoiceCB( stitle_font_item, (OC_CBProc)oc_graph_cb, + (void *)stitle_font_item ); stitle_size_item = CreateCharSizeChoice(rc2, "Character size"); + AddScaleCB( stitle_size_item, (OC_CBProc)oc_graph_cb, + (void *)stitle_size_item ); stitle_color_item = CreateColorChoice(rc2, "Color:"); ! AddOptionChoiceCB( stitle_color_item, (OC_CBProc)oc_graph_cb, ! (void *)stitle_color_item ); /* ------------ Frame tab -------------- */ *************** *** 255,273 **** --- 308,340 ---- "Break right", NULL, NULL); + AddOptionChoiceCB( frame_framestyle_choice_item,(OC_CBProc)oc_graph_cb, + (void *)frame_framestyle_choice_item ); rc2 = CreateHContainer(rc); frame_color_choice_item = CreateColorChoice(rc2, "Color:"); + AddOptionChoiceCB( frame_color_choice_item, (OC_CBProc)oc_graph_cb, + (void *)frame_color_choice_item ); frame_pattern_choice_item = CreatePatternChoice(rc2, "Pattern:"); + AddOptionChoiceCB( frame_pattern_choice_item, (OC_CBProc)oc_graph_cb, + (void *)frame_pattern_choice_item ); rc2 = CreateHContainer(rc); frame_linew_choice_item = CreateLineWidthChoice(rc2, "Width:"); + AddSpinButtonCB( frame_linew_choice_item, (Spin_CBProc)sp_graph_cb, + (void *)frame_linew_choice_item ); frame_lines_choice_item = CreateLineStyleChoice(rc2, "Style:"); + AddOptionChoiceCB( frame_lines_choice_item, (OC_CBProc)oc_graph_cb, + (void *)frame_lines_choice_item ); fr = CreateFrame(graphapp_frame, "Frame fill"); rc = CreateHContainer(fr); frame_fillcolor_choice_item = CreateColorChoice(rc, "Color:"); + AddOptionChoiceCB( frame_fillcolor_choice_item, (OC_CBProc)oc_graph_cb, + (void *)frame_fillcolor_choice_item ); frame_fillpattern_choice_item = CreatePatternChoice(rc, "Pattern:"); + AddOptionChoiceCB( frame_fillpattern_choice_item, (OC_CBProc)oc_graph_cb, + (void *)frame_fillpattern_choice_item ); /* ------------ Legend frame tab -------------- */ *************** *** 281,306 **** --- 348,391 ---- "World coords", "Viewport coords", 0, 0); + AddOptionChoiceCB( toggle_legendloc_item, (OC_CBProc)oc_graph_cb, + (void *)toggle_legendloc_item ); rc1 = CreateHContainer(rc); legend_x_item = CreateTextItem2(rc1, 10, "X:"); + AddTextItem2CB( legend_x_item, (Button_CBProc)graphapp_aac_cb, + (void *)legend_x_item ); legend_y_item = CreateTextItem2(rc1, 10, "Y:"); + AddTextItem2CB( legend_y_item, (Button_CBProc)graphapp_aac_cb, + (void *)legend_y_item ); fr = CreateFrame(graphapp_legendbox, "Frame line"); rc = CreateVContainer(fr); rc2 = CreateHContainer(rc); legend_boxcolor_item = CreateColorChoice(rc2, "Color:"); + AddOptionChoiceCB( legend_boxcolor_item, (OC_CBProc)oc_graph_cb, + (void *)legend_boxcolor_item); legend_boxpattern_item = CreatePatternChoice(rc2, "Pattern:"); + AddOptionChoiceCB( legend_boxpattern_item, (OC_CBProc)oc_graph_cb, + (void *)legend_boxpattern_item ); rc2 = CreateHContainer(rc); legend_boxlinew_item = CreateLineWidthChoice(rc2, "Width:"); + AddSpinButtonCB( legend_boxlinew_item, (Spin_CBProc)sp_graph_cb, + (void *)legend_boxlinew_item ); legend_boxlines_item = CreateLineStyleChoice(rc2, "Style:"); + AddOptionChoiceCB( legend_boxlines_item, (OC_CBProc)oc_graph_cb, + (void *)legend_boxlines_item ); fr = CreateFrame(graphapp_legendbox, "Frame fill"); rc = CreateHContainer(fr); legend_boxfillcolor_item = CreateColorChoice(rc, "Color:"); + AddOptionChoiceCB( legend_boxfillcolor_item, (OC_CBProc)oc_graph_cb, + (void *)legend_boxfillcolor_item ); legend_boxfillpat_item = CreatePatternChoice(rc, "Pattern:"); + AddOptionChoiceCB( legend_boxfillpat_item, (OC_CBProc)oc_graph_cb, + (void *)legend_boxfillpat_item ); /* ------------ Legends tab -------------- */ *************** *** 310,317 **** --- 395,408 ---- fr = CreateFrame(graphapp_legends, "Text properties"); rc = CreateVContainer(fr); legend_font_item = CreateFontChoice(rc, "Font:"); + AddOptionChoiceCB( legend_font_item, (OC_CBProc)oc_graph_cb, + (void *)legend_font_item ); legend_charsize_item = CreateCharSizeChoice(rc, "Char size"); + AddScaleCB( legend_charsize_item, (OC_CBProc)oc_graph_cb, + (void *)legend_charsize_item ); legend_color_item = CreateColorChoice(rc, "Color:"); + AddOptionChoiceCB( legend_color_item, (OC_CBProc)oc_graph_cb, + (void *)legend_color_item ); fr = CreateFrame(graphapp_legends, "Placement"); rc = CreateVContainer(fr); *************** *** 320,335 **** --- 411,434 ---- 7, "0", "1", "2", "3", "4", "5", 0, 0); + AddOptionChoiceCB( legends_vgap_item, (OC_CBProc)oc_graph_cb, + (void *)legends_vgap_item ); legends_hgap_item = CreatePanelChoice(rc1, "H-gap:", 7, "0", "1", "2", "3", "4", "5", 0, 0); + AddOptionChoiceCB( legends_hgap_item, (OC_CBProc)oc_graph_cb, + (void *)legends_hgap_item ); legends_len_item = CreatePanelChoice(rc, "Legend line length:", 10, "0", "1", "2", "3", "4", "5", "6", "7", "8", 0, 0); + AddOptionChoiceCB( legends_len_item, (OC_CBProc)oc_graph_cb, + (void *)legends_len_item ); legends_invert_item = CreateToggleButton(rc, "Put in reverse order"); + AddToggleButtonCB(legends_invert_item, (OC_CBProc)oc_graph_cb, + (void *)legends_invert_item ); /* ------------ Special tab -------------- */ *************** *** 338,347 **** fr = CreateFrame(graphapp_spec, "2D+ graphs"); znorm_item = CreateTextItem2(fr, 10, "Z normalization"); fr = CreateFrame(graphapp_spec, "XY charts"); bargap_item = CreateSpinChoice(fr, "Bar gap:", 5, ! SPIN_TYPE_FLOAT, -1.0, 1.0, 0.005); SelectTabPage(graphapp_tab, graphapp_main); --- 437,450 ---- fr = CreateFrame(graphapp_spec, "2D+ graphs"); znorm_item = CreateTextItem2(fr, 10, "Z normalization"); + AddTextItem2CB(znorm_item, (Button_CBProc)graphapp_aac_cb, + (void *)&znorm_item ); fr = CreateFrame(graphapp_spec, "XY charts"); bargap_item = CreateSpinChoice(fr, "Bar gap:", 5, ! SPIN_TYPE_FLOAT, 0.0, 1.0, 0.005); ! AddSpinButtonCB( bargap_item, (Spin_CBProc)sp_graph_cb, ! (void *)bargap_item ); SelectTabPage(graphapp_tab, graphapp_main); *************** *** 373,460 **** labels labs; framep f; legend l; - int graphtype; - int stacked; - double bargap; double znorm; /* * int flipxy; */ ! graphtype = GetChoice(graph_type_choice_item); xv_evalexpr(define_view_xv1, &v.xv1); xv_evalexpr(define_view_xv2, &v.xv2); xv_evalexpr(define_view_yv1, &v.yv1); xv_evalexpr(define_view_yv2, &v.yv2); ! if (isvalid_viewport(v) == FALSE) { errmsg("Invalid viewport coordinates"); return RETURN_FAILURE; } ! set_default_string(&labs.title); set_plotstr_string(&labs.title, GetTextString(label_title_text_item)); labs.title.charsize = GetCharSizeChoice(title_size_item); labs.title.color = GetOptionChoice(title_color_item); labs.title.font = GetOptionChoice(title_font_item); ! ! set_default_string(&labs.stitle); set_plotstr_string(&labs.stitle, GetTextString(label_subtitle_text_item)); labs.stitle.charsize = GetCharSizeChoice(stitle_size_item); labs.stitle.color = GetOptionChoice(stitle_color_item); labs.stitle.font = GetOptionChoice(stitle_font_item); ! f.type = GetChoice(frame_framestyle_choice_item); f.pen.color = GetOptionChoice(frame_color_choice_item); f.pen.pattern = GetOptionChoice(frame_pattern_choice_item); f.linew = GetSpinChoice(frame_linew_choice_item); f.lines = GetOptionChoice(frame_lines_choice_item); f.fillpen.color = GetOptionChoice(frame_fillcolor_choice_item); f.fillpen.pattern = GetOptionChoice(frame_fillpattern_choice_item); ! l.charsize = GetCharSizeChoice(legend_charsize_item); l.active = GetToggleButtonState(toggle_legends_item); l.vgap = GetChoice(legends_vgap_item); l.hgap = GetChoice(legends_hgap_item); l.len = GetChoice(legends_len_item); l.invert = GetToggleButtonState(legends_invert_item); l.loctype = GetChoice(toggle_legendloc_item) ? COORD_VIEW : COORD_WORLD; xv_evalexpr(legend_x_item, &l.legx); xv_evalexpr(legend_y_item, &l.legy); l.font = GetOptionChoice(legend_font_item); l.color = GetOptionChoice(legend_color_item); l.boxfillpen.color = GetOptionChoice(legend_boxfillcolor_item); l.boxfillpen.pattern = GetOptionChoice(legend_boxfillpat_item); l.boxpen.color = GetOptionChoice(legend_boxcolor_item); l.boxpen.pattern = GetOptionChoice(legend_boxpattern_item); l.boxlinew = GetSpinChoice(legend_boxlinew_item); l.boxlines = GetOptionChoice(legend_boxlines_item); ! stacked = GetToggleButtonState(stacked_item); ! ! bargap = GetSpinChoice(bargap_item); ! ! xv_evalexpr(znorm_item, &znorm); ! ! /* ! * flipxy = GetToggleButtonState(graph_flipxy_item); */ - - n = GetListChoices(graph_selector, &values); - for (j = 0; j < n; j++) { - gno = values[j]; - if (is_valid_gno(gno)) { - set_graph_type(gno, graphtype); - set_graph_stacked(gno, stacked); - set_graph_bargap(gno, bargap); - set_graph_znorm(gno, znorm); set_graph_viewport(gno, v); set_graph_labels(gno, &labs); set_graph_framep(gno, &f); set_graph_legend(gno, &l); - /* - * g[gno].xyflip = flipxy; - */ } } --- 476,642 ---- labels labs; framep f; legend l; double znorm; /* * int flipxy; */ ! if(!instantupdate && data != NULL) ! return RETURN_SUCCESS; ! ! if(data==znorm_item || data==NULL){ ! xv_evalexpr(znorm_item, &znorm); ! } ! ! /* ! * flipxy = GetToggleButtonState(graph_flipxy_item); ! */ ! ! n = GetListChoices(graph_selector, &values); ! for (j = 0; j < n; j++) { ! gno = values[j]; ! if (is_valid_gno(gno)) { ! ! get_graph_viewport(gno, &v); ! get_graph_labels(gno, &labs); ! labs.title.s = copy_string(NULL,labs.title.s); ! labs.stitle.s = copy_string(NULL,labs.stitle.s); ! get_graph_framep(gno, &f); ! get_graph_legend(gno, &l); + if(data==define_view_xv1 || data==NULL) { xv_evalexpr(define_view_xv1, &v.xv1); + } + if(data==define_view_xv2 || data==NULL) { xv_evalexpr(define_view_xv2, &v.xv2); + } + if(data==define_view_yv1 || data==NULL) { xv_evalexpr(define_view_yv1, &v.yv1); + } + if(data==define_view_yv2 || data==NULL) { xv_evalexpr(define_view_yv2, &v.yv2); ! } ! if (isvalid_viewport(v)==FALSE) { errmsg("Invalid viewport coordinates"); return RETURN_FAILURE; } ! if(data==graph_type_choice_item || data==NULL) { ! set_graph_type(gno, GetChoice(graph_type_choice_item)); ! } ! if(data==stacked_item || data==NULL) { ! set_graph_stacked(gno,GetToggleButtonState(stacked_item) ); ! } ! if(data==bargap_item || data==NULL) { ! set_graph_bargap(gno, GetSpinChoice(bargap_item)); ! } ! if(data==znorm_item || data==NULL) { ! set_graph_znorm(gno, znorm); ! } ! if(data==label_title_text_item || data==NULL){ set_plotstr_string(&labs.title, GetTextString(label_title_text_item)); + } + if(data==title_size_item || data==NULL){ labs.title.charsize = GetCharSizeChoice(title_size_item); + } + if(data==title_color_item || data==NULL){ labs.title.color = GetOptionChoice(title_color_item); + } + if(data==title_font_item || data==NULL){ labs.title.font = GetOptionChoice(title_font_item); ! } ! if(data==label_subtitle_text_item || data==NULL){ set_plotstr_string(&labs.stitle, GetTextString(label_subtitle_text_item)); + } + if(data==stitle_size_item || data==NULL){ labs.stitle.charsize = GetCharSizeChoice(stitle_size_item); + } + if(data==stitle_color_item || data==NULL){ labs.stitle.color = GetOptionChoice(stitle_color_item); + } + if(data==stitle_font_item || data==NULL){ labs.stitle.font = GetOptionChoice(stitle_font_item); ! } ! if(data==frame_framestyle_choice_item || data==NULL){ f.type = GetChoice(frame_framestyle_choice_item); + } + if(data==frame_color_choice_item || data==NULL){ f.pen.color = GetOptionChoice(frame_color_choice_item); + } + if(data==frame_pattern_choice_item || data==NULL){ f.pen.pattern = GetOptionChoice(frame_pattern_choice_item); + } + if(data==frame_linew_choice_item || data==NULL){ f.linew = GetSpinChoice(frame_linew_choice_item); + } + if(data==frame_lines_choice_item || data==NULL){ f.lines = GetOptionChoice(frame_lines_choice_item); + } + if(data==frame_fillcolor_choice_item || data==NULL){ f.fillpen.color = GetOptionChoice(frame_fillcolor_choice_item); + } + if(data==frame_fillpattern_choice_item || data==NULL){ f.fillpen.pattern = GetOptionChoice(frame_fillpattern_choice_item); ! } ! if(data==legend_charsize_item || data==NULL){ l.charsize = GetCharSizeChoice(legend_charsize_item); + } + if(data==toggle_legends_item || data==NULL){ l.active = GetToggleButtonState(toggle_legends_item); + } + if(data==legends_vgap_item || data==NULL){ l.vgap = GetChoice(legends_vgap_item); + } + if(data==legends_hgap_item || data==NULL){ l.hgap = GetChoice(legends_hgap_item); + } + if(data==legends_len_item || data==NULL){ l.len = GetChoice(legends_len_item); + } + if(data==legends_invert_item || data==NULL){ l.invert = GetToggleButtonState(legends_invert_item); + } + if(data==toggle_legendloc_item || data==NULL){ l.loctype = GetChoice(toggle_legendloc_item) ? COORD_VIEW : COORD_WORLD; + } + if(data==legend_x_item || data==NULL){ xv_evalexpr(legend_x_item, &l.legx); + } + if(data==legend_y_item || data==NULL){ xv_evalexpr(legend_y_item, &l.legy); + } + if(data==legend_font_item || data==NULL){ l.font = GetOptionChoice(legend_font_item); + } + if(data==legend_color_item || data==NULL){ l.color = GetOptionChoice(legend_color_item); + } + if(data==legend_boxfillcolor_item || data==NULL){ l.boxfillpen.color = GetOptionChoice(legend_boxfillcolor_item); + } + if(data==legend_boxfillpat_item || data==NULL){ l.boxfillpen.pattern = GetOptionChoice(legend_boxfillpat_item); + } + if(data==legend_boxcolor_item || data==NULL){ l.boxpen.color = GetOptionChoice(legend_boxcolor_item); + } + if(data==legend_boxpattern_item || data==NULL){ l.boxpen.pattern = GetOptionChoice(legend_boxpattern_item); + } + if(data==legend_boxlinew_item || data==NULL){ l.boxlinew = GetSpinChoice(legend_boxlinew_item); + } + if(data==legend_boxlines_item || data==NULL){ l.boxlines = GetOptionChoice(legend_boxlines_item); + } ! /* ! * g[gno].xyflip = flipxy; */ set_graph_viewport(gno, v); set_graph_labels(gno, &labs); set_graph_framep(gno, &f); set_graph_legend(gno, &l); } } *************** *** 592,594 **** --- 774,777 ---- } } + diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/hotwin.c ../grace-5.1.12iu/src/hotwin.c *** ./src/hotwin.c 2002-12-11 14:29:14.000000000 -0700 --- ../grace-5.1.12iu/src/hotwin.c 2003-02-24 16:36:56.000000000 -0700 *************** *** 54,60 **** static SetChoiceItem hotlink_set_item; static Widget hotlink_list_item; static Widget hotlink_file_item; ! static Widget *hotlink_source_item; void create_hotfiles_popup(Widget w, XtPointer client_data, XtPointer call_data); --- 54,60 ---- static SetChoiceItem hotlink_set_item; static Widget hotlink_list_item; static Widget hotlink_file_item; ! static OptionStructure *hotlink_source_item; void create_hotfiles_popup(Widget w, XtPointer client_data, XtPointer call_data); diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/locatewin.c ../grace-5.1.12iu/src/locatewin.c *** ./src/locatewin.c 2000-04-20 13:58:26.000000000 -0600 --- ../grace-5.1.12iu/src/locatewin.c 2003-02-24 16:36:56.000000000 -0700 *************** *** 46,56 **** /* * Panel item declarations */ ! static Widget *delta_item; static OptionStructure *loc_formatx; static OptionStructure *loc_formaty; ! static Widget *loc_precx; ! static Widget *loc_precy; static Widget locx_item; static Widget locy_item; static Widget fixedp_item; --- 46,56 ---- /* * Panel item declarations */ ! static OptionStructure *delta_item; static OptionStructure *loc_formatx; static OptionStructure *loc_formaty; ! static OptionStructure *loc_precx; ! static OptionStructure *loc_precy; static Widget locx_item; static Widget locy_item; static Widget fixedp_item; diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/miscwin.c ../grace-5.1.12iu/src/miscwin.c *** ./src/miscwin.c 2002-05-22 14:48:16.000000000 -0600 --- ../grace-5.1.12iu/src/miscwin.c 2003-02-24 16:36:56.000000000 -0700 *************** *** 61,67 **** static Widget noask_item; static Widget dc_item; ! static Widget *graph_focus_choice_item; static Widget graph_drawfocus_choice_item; static Widget autoredraw_type_item; --- 61,67 ---- static Widget noask_item; static Widget dc_item; ! static OptionStructure *graph_focus_choice_item; static Widget graph_drawfocus_choice_item; static Widget autoredraw_type_item; *************** *** 72,78 **** static Widget shexper_item; static Widget linkscroll_item; ! static Widget *hint_item; static Widget date_item; static Widget wrap_year_item; static Widget two_digits_years_item; --- 72,78 ---- static Widget shexper_item; static Widget linkscroll_item; ! static OptionStructure *hint_item; static Widget date_item; static Widget wrap_year_item; static Widget two_digits_years_item; diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/motifinc.h ../grace-5.1.12iu/src/motifinc.h *** ./src/motifinc.h 2001-11-15 01:29:41.000000000 -0700 --- ../grace-5.1.12iu/src/motifinc.h 2003-02-24 16:36:56.000000000 -0700 *************** *** 57,62 **** --- 57,64 ---- #define CreateMenuSeparator(w) CreateSeparator(w) + #define AddTextItem2CB AddButtonCB + extern Widget app_shell; /* defined in xmgrace.c */ /* set selection gadget */ *************** *** 228,238 **** --- 230,253 ---- void * /* data the application registered */ ); + /* Spin Button CB procedure */ + typedef void (*Spin_CBProc)( + double, /* value of spinner */ + void * /* data the application registered */ + ); + /* Text input CB procedure */ typedef void (*Text_CBProc)( void * /* data the application registered */ ); + /* + * Scale input CB procedure */ + typedef void (*Scale_CBProc )( + int, /* scale value */ + void * /* data the application registered */ + ); + /* AAC Dialog CB procedure */ typedef int (*AACDialog_CBProc)( void * /* data the application registered */ *************** *** 270,275 **** --- 285,291 ---- void SetScaleValue(Widget w, int value); int GetScaleValue(Widget w); void SetScaleWidth(Widget w, int width); + void AddScaleCB( Widget w, OC_CBProc, void * ); Widget CreateCharSizeChoice(Widget parent, char *s); double GetCharSizeChoice(Widget w); *************** *** 322,327 **** --- 338,344 ---- int type, double min, double max, double incr); double GetSpinChoice(SpinStructure *spinp); void SetSpinChoice(SpinStructure *spinp, double value); + void AddSpinButtonCB(SpinStructure *spinp, Spin_CBProc, void *); TextStructure *CreateTextInput(Widget parent, char *s); TextStructure *CreateCSText(Widget parent, char *s); *************** *** 400,408 **** int SetSelectedSet(int gno, int setno, SetChoiceItem l); ! Widget *CreatePanelChoice(Widget parent, char *labstr, int nchoices, ...); ! void SetChoice(Widget * w, int value); ! int GetChoice(Widget * w); Widget CreateTextItem2(Widget parent, int len, char *s); Widget CreateTextItem4(Widget parent, int len, char *s); --- 417,427 ---- int SetSelectedSet(int gno, int setno, SetChoiceItem l); ! OptionStructure *CreatePanelChoice(Widget parent, char *labstr, int nchoices, ...); ! void SetChoice(OptionStructure * w, int value); ! int GetChoice(OptionStructure * w); ! void AddChoiceCB(OptionStructure * w, OC_CBProc cbproc, void *anydata); ! OptionStructure *CreatePrecisionChoice(Widget parent, char *s); Widget CreateTextItem2(Widget parent, int len, char *s); Widget CreateTextItem4(Widget parent, int len, char *s); *************** *** 411,417 **** Widget CreateCommandButtons(Widget parent, int n, Widget * buts, char **l); Widget CreateCommandButtonsNoDefault(Widget parent, int n, Widget * buts, char **l); ! Widget *CreatePrecisionChoice(Widget parent, char *s); TransformStructure *CreateTransformDialogForm(Widget parent, char *s, int sel_type); --- 430,436 ---- Widget CreateCommandButtons(Widget parent, int n, Widget * buts, char **l); Widget CreateCommandButtonsNoDefault(Widget parent, int n, Widget * buts, char **l); ! /*Widget *CreatePrecisionChoice(Widget parent, char *s);*/ TransformStructure *CreateTransformDialogForm(Widget parent, char *s, int sel_type); diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/motifutils.c ../grace-5.1.12iu/src/motifutils.c *** ./src/motifutils.c 2003-01-26 14:16:33.000000000 -0700 --- ../grace-5.1.12iu/src/motifutils.c 2003-02-24 16:36:56.000000000 -0700 *************** *** 427,432 **** --- 427,450 ---- void *anydata; } OC_CBdata; + typedef struct { + Widget *opt; + void (*cbproc)(); + void *anydata; + } CH_CBdata; + + typedef struct { + SpinStructure *opt; + void (*cbproc)(); + void *anydata; + } SPIN_CBdata; + + typedef struct { + Widget opt; + void (*cbproc)(); + void *anydata; + } SCALE_CBdata; + static void oc_int_cb_proc(Widget w, XtPointer client_data, XtPointer call_data) { int value; *************** *** 679,684 **** --- 697,730 ---- SetSpinChoice(spinp, value); } + static void sp_double_cb_proc(Widget w, XtPointer client_data, XtPointer call_data) + { + SPIN_CBdata *cbdata = (SPIN_CBdata *) client_data; + XmAnyCallbackStruct* xmcb = call_data; + + if(w==cbdata->opt->arrow_up || w==cbdata->opt->arrow_down || + xmcb->reason == XmCR_ACTIVATE ) + cbdata->cbproc( GetSpinChoice(cbdata->opt), cbdata->anydata ); + } + + + void AddSpinButtonCB( SpinStructure *opt, Spin_CBProc cbproc, void *anydata ) + { + SPIN_CBdata *cbdata; + + cbdata = xmalloc(sizeof(OC_CBdata)); + + cbdata->opt = opt; + cbdata->cbproc = cbproc; + cbdata->anydata = anydata; + XtAddCallback(opt->text, XmNactivateCallback, + sp_double_cb_proc, (XtPointer) cbdata); + XtAddCallback(opt->arrow_up, XmNactivateCallback, + sp_double_cb_proc, (XtPointer) cbdata); + XtAddCallback(opt->arrow_down, XmNactivateCallback, + sp_double_cb_proc, (XtPointer) cbdata); + } + SpinStructure *CreateSpinChoice(Widget parent, char *s, int len, int type, double min, double max, double incr) { *************** *** 2599,2604 **** --- 2645,2656 ---- color_selectors[ncolor_selectors - 1] = retvalp; + /* + >>>>>>>>>>>>>>>>>>>> File 1 + >>>>>>>>>>>>>>>>>>>> File 2 + */ + UpdateOptionChoice(retvalp, ncolor_option_items, color_option_items); + paint_color_selector(retvalp); return retvalp; *************** *** 2611,2694 **** ! Widget *CreatePanelChoice(Widget parent, char *labelstr, int nchoices,...) { va_list var; int i = 0; ! XmString str; char *s; ! Widget *retval; nchoices--; ! retval = (Widget *) XtMalloc((nchoices + 2) * sizeof(Widget)); ! ! retval[1] = XmCreatePulldownMenu(parent, "pulldown", NULL, 0); ! va_start(var, nchoices); i = 0; while ((s = va_arg(var, char *)) != NULL) { ! retval[i + 2] = XmCreatePushButton(retval[1], s, NULL, 0); i++; } - if (i != nchoices) { - errmsg("Incorrect number of selections in CreatePanelChoice()"); - } - va_end(var); - - XtManageChildren(retval + 2, nchoices); - - retval[0] = XmCreateOptionMenu(parent, "optionmenu", NULL, 0); - str = XmStringCreateLocalized(labelstr); - XtVaSetValues(retval[0], - XmNlabelString, str, - XmNsubMenuId, retval[1], - NULL); - XmStringFree(str); - XtManageChild(retval[0]); return retval; } ! void SetChoice(Widget * w, int value) { ! Arg a; ! ! if (w == (Widget *) NULL) { ! return; ! } ! if (w[value + 2] == (Widget) NULL) { ! errwin("Internal error, SetChoice: Attempt to set NULL Widget"); ! return; ! } ! XtSetArg(a, XmNmenuHistory, w[value + 2]); ! XtSetValues(w[0], &a, 1); } ! int GetChoice(Widget * w) { ! Arg a; ! Widget warg; ! int i; ! if (w == NULL) { ! errwin("Internal error, GetChoice called with NULL argument"); ! return 0; ! } ! XtSetArg(a, XmNmenuHistory, &warg); ! XtGetValues(w[0], &a, 1); ! i = 0; ! while (w[i + 2] != warg) { ! if (w[i + 2] == NULL) { ! errwin("Internal error, GetChoice: Found NULL in Widget list"); ! return 0; ! } ! i++; ! } ! return i; } static OptionItem fmt_option_items[31] = { {FORMAT_DECIMAL, "Decimal" }, --- 2663,2709 ---- ! OptionStructure *CreatePanelChoice(Widget parent, char *labelstr, int nchoices,...) { + OptionItem *oi; va_list var; int i = 0; ! char *s; ! OptionStructure *retval; nchoices--; ! oi = (OptionItem *)calloc( nchoices, sizeof(OptionItem) ); va_start(var, nchoices); i = 0; while ((s = va_arg(var, char *)) != NULL) { ! oi[i].value = i; ! oi[i].label = strdup(s); i++; } + retval = CreateOptionChoice(parent, labelstr, 1, nchoices, oi ); return retval; } ! void SetChoice(OptionStructure *w, int value) { ! SetOptionChoice( w, value ); } ! int GetChoice(OptionStructure *w) { ! return GetOptionChoice( w ); ! } ! void AddChoiceCB( OptionStructure *opt, OC_CBProc cbproc, void *anydata) ! { ! AddOptionChoiceCB( opt, cbproc, anydata ); } + static OptionItem fmt_option_items[31] = { {FORMAT_DECIMAL, "Decimal" }, *************** *** 2752,2769 **** return(retval); } ! Widget *CreatePrecisionChoice(Widget parent, char *s) { ! Widget *w; ! ! w = CreatePanelChoice(parent, s, 11, "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL, 0); - - return(w); } --- 2767,2780 ---- return(retval); } ! OptionStructure *CreatePrecisionChoice(Widget parent, char *s) { ! return CreatePanelChoice(parent, s, 11, "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", NULL, 0); } *************** *** 2794,2799 **** --- 2805,2831 ---- return w; } + void scale_int_cb_proc( Widget w, XtPointer client_data, XtPointer call_data) + { + SCALE_CBdata *cbdata = (SCALE_CBdata *) client_data; + + cbdata->cbproc( GetScaleValue(cbdata->opt), cbdata->anydata ); + } + + void AddScaleCB( Widget w, OC_CBProc cbproc, void *anydata ) + { + SCALE_CBdata *cbdata; + + cbdata = xmalloc(sizeof(SCALE_CBdata)); + + cbdata->opt = w; + cbdata->cbproc = cbproc; + cbdata->anydata = anydata; + XtAddCallback(w, XmNvalueChangedCallback, + scale_int_cb_proc, (XtPointer) cbdata); + } + + void SetScaleValue(Widget w, int value) { XtVaSetValues(w, XmNvalue, value, NULL); *************** *** 3080,3086 **** } /* check for mutually exclusive selections */ ! if (exclusive && *gsrc == *gdest && *nsdest != 0) { int i; for (i = 0; i < *nssrc; i++) { if ((*svaluessrc)[i] == (*svaluesdest)[i]) { --- 3112,3118 ---- } /* check for mutually exclusive selections */ ! if (exclusive && *gsrc != *gdest && *nsdest != 0) { int i; for (i = 0; i < *nssrc; i++) { if ((*svaluessrc)[i] == (*svaluesdest)[i]) { diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/motifutils.c.orig ../grace-5.1.12iu/src/motifutils.c.orig *** ./src/motifutils.c.orig 1969-12-31 17:00:00.000000000 -0700 --- ../grace-5.1.12iu/src/motifutils.c.orig 2003-01-26 14:16:33.000000000 -0700 *************** *** 0 **** --- 1,4174 ---- + /* + * Grace - GRaphing, Advanced Computation and Exploration of data + * + * Home page: http://plasma-gate.weizmann.ac.il/Grace/ + * + * Copyright (c) 1991-1995 Paul J Turner, Portland, OR + * Copyright (c) 1996-2003 Grace Development Team + * + * Maintained by Evgeny Stambulchik + * + * + * All Rights Reserved + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + + /* + * + * utilities for Motif + * + */ + + #include + #include + + #include + #include + #include + + #include + #include + #include + + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + #include + + #ifdef WITH_EDITRES + # include + #endif + + #if XmVersion < 2000 + # define XmStringConcatAndFree(a, b) XmStringConcat(a, b); XmStringFree(a); XmStringFree(b) + #endif + + #include "Tab.h" + #include "motifinc.h" + + #include "defines.h" + #include "globals.h" + #include "draw.h" + #include "patterns.h" + #include "jbitmaps.h" + #include "t1fonts.h" + #include "graphs.h" + #include "utils.h" + #include "events.h" + #include "parser.h" + #include "protos.h" + + static XmStringCharSet charset = XmFONTLIST_DEFAULT_TAG; + + /* lookup table to determine if character is a floating point digit + * only allowable char's [0-9.eE] + */ + unsigned char fpdigit[256] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; + + + extern Display *disp; + extern Window root; + extern int depth; + + extern XtAppContext app_con; + + extern unsigned long xvlibcolors[]; + + + static OptionItem *color_option_items = NULL; + static int ncolor_option_items = 0; + static OptionStructure **color_selectors = NULL; + static int ncolor_selectors = 0; + + static char *label_to_resname(const char *s, const char *suffix) + { + char *retval, *rs; + int capitalize = FALSE; + + retval = copy_string(NULL, s); + rs = retval; + while (*s) { + if (isalnum(*s)) { + if (capitalize == TRUE) { + *rs = toupper(*s); + capitalize = FALSE; + } else { + *rs = tolower(*s); + } + rs++; + } else { + capitalize = TRUE; + } + s++; + } + *rs = '\0'; + if (suffix != NULL) { + retval = concat_strings(retval, suffix); + } + return retval; + } + + + void ManageChild(Widget w) + { + XtManageChild(w); + } + + void UnmanageChild(Widget w) + { + XtUnmanageChild(w); + } + + void SetSensitive(Widget w, int onoff) + { + XtSetSensitive(w, onoff ? True : False); + } + + Widget GetParent(Widget w) + { + if (w) { + return (XtParent(w)); + } else { + errmsg("Internal error: GetParent() called with NULL widget"); + return NULL; + } + } + + void RegisterEditRes(Widget shell) + { + #ifdef WITH_EDITRES + XtAddEventHandler(shell, (EventMask) 0, True, _XEditResCheckMessages, NULL); + #endif + } + + void SetDimensions(Widget w, unsigned int width, unsigned int height) + { + XtVaSetValues(w, + XmNwidth, (Dimension) width, + XmNheight, (Dimension) height, + NULL); + } + + void GetDimensions(Widget w, unsigned int *width, unsigned int *height) + { + Dimension ww, wh; + + XtVaGetValues(w, + XmNwidth, &ww, + XmNheight, &wh, + NULL); + + *width = (unsigned int) ww; + *height = (unsigned int) wh; + } + + #define MAX_PULLDOWN_LENGTH 30 + + OptionStructure *CreateOptionChoice(Widget parent, char *labelstr, int ncols, + int nchoices, OptionItem *items) + { + Arg args[2]; + XmString str; + OptionStructure *retval; + + retval = xmalloc(sizeof(OptionStructure)); + + XtSetArg(args[0], XmNpacking, XmPACK_COLUMN); + retval->pulldown = XmCreatePulldownMenu(parent, "pulldownMenu", args, 1); + + retval->ncols = ncols; + + retval->nchoices = 0; + retval->options = NULL; + UpdateOptionChoice(retval, nchoices, items); + + str = XmStringCreateLocalized(labelstr); + XtSetArg(args[0], XmNlabelString, str); + XtSetArg(args[1], XmNsubMenuId, retval->pulldown); + + retval->menu = XmCreateOptionMenu(parent, "optionMenu", args, 2); + + XmStringFree(str); + + XtManageChild(retval->menu); + + return retval; + } + + void UpdateOptionChoice(OptionStructure *optp, int nchoices, OptionItem *items) + { + int i, nold, ncols, nw; + Widget *wlist; + + nold = optp->nchoices; + + if (optp->ncols == 0) { + ncols = 1; + } else { + ncols = optp->ncols; + } + + /* Don't create too tall pulldowns */ + if (nchoices > MAX_PULLDOWN_LENGTH*ncols) { + ncols = (nchoices + MAX_PULLDOWN_LENGTH - 1)/MAX_PULLDOWN_LENGTH; + } + + XtVaSetValues(optp->pulldown, XmNnumColumns, ncols, NULL); + + nw = nold - nchoices; + if (nw > 0) { + /* Unmanage extra items before destroying to speed the things up */ + wlist = xmalloc(nw*sizeof(Widget)); + for (i = nchoices; i < nold; i++) { + wlist[i - nchoices] = optp->options[i].widget; + } + XtUnmanageChildren(wlist, nw); + xfree(wlist); + + for (i = nchoices; i < nold; i++) { + XtDestroyWidget(optp->options[i].widget); + } + } + + optp->options = xrealloc(optp->options, nchoices*sizeof(OptionWidgetItem)); + optp->nchoices = nchoices; + + for (i = nold; i < nchoices; i++) { + optp->options[i].widget = + XmCreatePushButton(optp->pulldown, "button", NULL, 0); + } + + for (i = 0; i < nchoices; i++) { + optp->options[i].value = items[i].value; + if (items[i].label != NULL) { + XmString str, ostr; + XtVaGetValues(optp->options[i].widget, XmNlabelString, &ostr, NULL); + str = XmStringCreateLocalized(items[i].label); + if (XmStringCompare(str, ostr) != True) { + XtVaSetValues(optp->options[i].widget, XmNlabelString, str, NULL); + } + XmStringFree(str); + } + } + + nw = nchoices - nold; + if (nw > 0) { + wlist = xmalloc(nw*sizeof(Widget)); + for (i = nold; i < nchoices; i++) { + wlist[i - nold] = optp->options[i].widget; + } + XtManageChildren(wlist, nw); + xfree(wlist); + } + } + + OptionStructure *CreateBitmapOptionChoice(Widget parent, char *labelstr, int ncols, + int nchoices, int width, int height, BitmapOptionItem *items) + { + int i; + XmString str; + OptionStructure *retval; + Pixel fg, bg; + Pixmap ptmp; + + retval = xmalloc(sizeof(OptionStructure)); + if (retval == NULL) { + errmsg("Malloc error in CreateBitmapOptionChoice()"); + } + retval->nchoices = nchoices; + retval->options = xmalloc(nchoices*sizeof(OptionWidgetItem)); + if (retval->options == NULL) { + errmsg("Malloc error in CreateBitmapOptionChoice()"); + XCFREE(retval); + return retval; + } + + + retval->pulldown = XmCreatePulldownMenu(parent, "pulldownMenu", NULL, 0); + XtVaSetValues(retval->pulldown, + XmNentryAlignment, XmALIGNMENT_CENTER, + NULL); + + if (ncols > 0) { + XtVaSetValues(retval->pulldown, + XmNpacking, XmPACK_COLUMN, + XmNnumColumns, ncols, + NULL); + } + + XtVaGetValues(retval->pulldown, + XmNforeground, &fg, + XmNbackground, &bg, + NULL); + + for (i = 0; i < nchoices; i++) { + retval->options[i].value = items[i].value; + if (items[i].bitmap != NULL) { + ptmp = XCreatePixmapFromBitmapData(disp, root, + (char *) items[i].bitmap, width, height, + fg, bg, depth); + retval->options[i].widget = + XtVaCreateWidget("pixButton", xmPushButtonWidgetClass, + retval->pulldown, + XmNlabelType, XmPIXMAP, + XmNlabelPixmap, ptmp, + NULL); + } else { + retval->options[i].widget = + XmCreatePushButton(retval->pulldown, "None", NULL, 0); + } + + } + for (i = 0; i < nchoices; i++) { + XtManageChild(retval->options[i].widget); + } + + retval->menu = XmCreateOptionMenu(parent, "optionMenu", NULL, 0); + str = XmStringCreateLocalized(labelstr); + XtVaSetValues(retval->menu, + XmNlabelString, str, + XmNsubMenuId, retval->pulldown, + NULL); + XmStringFree(str); + XtManageChild(retval->menu); + + return retval; + } + + + void SetOptionChoice(OptionStructure *opt, int value) + { + int i; + Arg a; + + if (opt->options == NULL || opt->nchoices <= 0) { + return; + } + + for (i = 0; i < opt->nchoices; i++) { + if (opt->options[i].value == value) { + XtSetArg(a, XmNmenuHistory, opt->options[i].widget); + XtSetValues(opt->menu, &a, 1); + return; + } + } + } + + int GetOptionChoice(OptionStructure *opt) + { + Arg a; + Widget warg; + int i; + + if (opt->options == NULL || opt->nchoices <= 0) { + errmsg("Internal error in GetOptionChoice()"); + return 0; + } + + XtSetArg(a, XmNmenuHistory, &warg); + XtGetValues(opt->menu, &a, 1); + + for (i = 0; i < opt->nchoices; i++) { + if (opt->options[i].widget == warg) { + return(opt->options[i].value); + } + } + errmsg("Internal error in GetOptionChoice()"); + return 0; + } + + typedef struct { + OptionStructure *opt; + void (*cbproc)(); + void *anydata; + } OC_CBdata; + + static void oc_int_cb_proc(Widget w, XtPointer client_data, XtPointer call_data) + { + int value; + + OC_CBdata *cbdata = (OC_CBdata *) client_data; + + value = GetOptionChoice(cbdata->opt); + cbdata->cbproc(value, cbdata->anydata); + } + + void AddOptionChoiceCB(OptionStructure *opt, OC_CBProc cbproc, void *anydata) + { + OC_CBdata *cbdata; + int i; + + cbdata = xmalloc(sizeof(OC_CBdata)); + + cbdata->opt = opt; + cbdata->cbproc = cbproc; + cbdata->anydata = anydata; + for (i = 0; i < opt->nchoices; i++) { + XtAddCallback(opt->options[i].widget, XmNactivateCallback, + oc_int_cb_proc, (XtPointer) cbdata); + } + } + + + static char list_translation_table[] = "\ + CtrlA: list_selectall_action()\n\ + CtrlU: list_unselectall_action()\n\ + CtrlI: list_invertselection_action()"; + + ListStructure *CreateListChoice(Widget parent, char *labelstr, int type, + int nvisible, int nchoices, OptionItem *items) + { + Arg args[4]; + Widget lab; + ListStructure *retval; + + retval = xmalloc(sizeof(ListStructure)); + retval->rc = XmCreateRowColumn(parent, "rcList", NULL, 0); + AddHelpCB(retval->rc, "doc/UsersGuide.html#list-selector"); + + lab = XmCreateLabel(retval->rc, labelstr, NULL, 0); + XtManageChild(lab); + + XtSetArg(args[0], XmNlistSizePolicy, XmCONSTANT); + XtSetArg(args[1], XmNscrollBarDisplayPolicy, XmSTATIC); + if (type == LIST_TYPE_SINGLE) { + XtSetArg(args[2], XmNselectionPolicy, XmSINGLE_SELECT); + } else { + XtSetArg(args[2], XmNselectionPolicy, XmEXTENDED_SELECT); + } + XtSetArg(args[3], XmNvisibleItemCount, nvisible); + retval->list = XmCreateScrolledList(retval->rc, "listList", args, 4); + retval->values = NULL; + + XtOverrideTranslations(retval->list, + XtParseTranslationTable(list_translation_table)); + + UpdateListChoice(retval, nchoices, items); + + XtManageChild(retval->list); + + XtManageChild(retval->rc); + + return retval; + } + + void UpdateListChoice(ListStructure *listp, int nchoices, OptionItem *items) + { + int i, nsel; + int *selvalues; + XmString str; + + if (listp == NULL) { + return; + } + + nsel = GetListChoices(listp, &selvalues); + + listp->nchoices = nchoices; + listp->values = xrealloc(listp->values, nchoices*SIZEOF_INT); + for (i = 0; i < nchoices; i++) { + listp->values[i] = items[i].value; + } + + XmListDeleteAllItems(listp->list); + for (i = 0; i < nchoices; i++) { + str = XmStringCreateLocalized(items[i].label); + XmListAddItemUnselected(listp->list, str, 0); + XmStringFree(str); + } + SelectListChoices(listp, nsel, selvalues); + if (nsel > 0) { + xfree(selvalues); + } + } + + int SelectListChoice(ListStructure *listp, int choice) + { + int top, visible; + int i = 0; + + while (i < listp->nchoices && listp->values[i] != choice) { + i++; + } + if (i < listp->nchoices) { + i++; + XmListDeselectAllItems(listp->list); + XmListSelectPos(listp->list, i, True); + XtVaGetValues(listp->list, XmNtopItemPosition, &top, + XmNvisibleItemCount, &visible, + NULL); + if (i < top) { + XmListSetPos(listp->list, i); + } else if (i >= top + visible) { + XmListSetBottomPos(listp->list, i); + } + + return RETURN_SUCCESS; + } else { + return RETURN_FAILURE; + } + } + + void SelectListChoices(ListStructure *listp, int nchoices, int *choices) + { + int i = 0, j; + unsigned char selection_type_save; + int bottom, visible; + + XtVaGetValues(listp->list, XmNselectionPolicy, &selection_type_save, NULL); + XtVaSetValues(listp->list, XmNselectionPolicy, XmMULTIPLE_SELECT, NULL); + + XmListDeselectAllItems(listp->list); + for (j = 0; j < nchoices; j++) { + i = 0; + while (i < listp->nchoices && listp->values[i] != choices[j]) { + i++; + } + if (i < listp->nchoices) { + i++; + XmListSelectPos(listp->list, i, True); + } + } + + if (nchoices > 0) { + /* Rewind list so the last choice is always visible */ + XtVaGetValues(listp->list, XmNtopItemPosition, &bottom, + XmNvisibleItemCount, &visible, + NULL); + if (i > bottom) { + XmListSetBottomPos(listp->list, i); + } else if (i <= bottom - visible) { + XmListSetPos(listp->list, i); + } + } + + XtVaSetValues(listp->list, XmNselectionPolicy, selection_type_save, NULL); + } + + int GetListChoices(ListStructure *listp, int **values) + { + int i, n; + + if (XmListGetSelectedPos(listp->list, values, &n) != True) { + return 0; + } + + for (i = 0; i < n; i++) { + (*values)[i] = listp->values[(*values)[i] - 1]; + } + + return n; + } + + int GetSingleListChoice(ListStructure *listp, int *value) + { + int n, *values, retval; + + n = GetListChoices(listp, &values); + if (n == 1) { + *value = values[0]; + retval = RETURN_SUCCESS; + } else { + retval = RETURN_FAILURE; + } + if (n > 0) { + xfree(values); + } + return retval; + } + + typedef struct { + ListStructure *listp; + void (*cbproc)(); + void *anydata; + } List_CBdata; + + static void list_int_cb_proc(Widget w, XtPointer client_data, XtPointer call_data) + { + int n, *values; + List_CBdata *cbdata = (List_CBdata *) client_data; + + n = GetListChoices(cbdata->listp, &values); + + cbdata->cbproc(n, values, cbdata->anydata); + + if (n > 0) { + xfree(values); + } + } + + void AddListChoiceCB(ListStructure *listp, List_CBProc cbproc, void *anydata) + { + List_CBdata *cbdata; + + cbdata = xmalloc(sizeof(List_CBdata)); + cbdata->listp = listp; + cbdata->cbproc = (List_CBProc) cbproc; + cbdata->anydata = anydata; + XtAddCallback(listp->list, + XmNsingleSelectionCallback, list_int_cb_proc, (XtPointer) cbdata); + XtAddCallback(listp->list, + XmNmultipleSelectionCallback, list_int_cb_proc, (XtPointer) cbdata); + XtAddCallback(listp->list, + XmNextendedSelectionCallback, list_int_cb_proc, (XtPointer) cbdata); + } + + + static void spin_arrow_cb(Widget w, XtPointer client_data, XtPointer call_data) + { + SpinStructure *spinp; + double value, incr; + + spinp = (SpinStructure *) client_data; + value = GetSpinChoice(spinp); + incr = spinp->incr; + + if (w == spinp->arrow_up) { + incr = spinp->incr; + } else if (w == spinp->arrow_down) { + incr = -spinp->incr; + } else { + errmsg("Wrong call to spin_arrow_cb()"); + return; + } + value += incr; + SetSpinChoice(spinp, value); + } + + SpinStructure *CreateSpinChoice(Widget parent, char *s, int len, + int type, double min, double max, double incr) + { + SpinStructure *retval; + Widget fr, form; + XmString str; + + if (min >= max) { + errmsg("min >= max in CreateSpinChoice()!"); + return NULL; + } + + retval = xmalloc(sizeof(SpinStructure)); + + retval->type = type; + retval->min = min; + retval->max = max; + retval->incr = incr; + + retval->rc = XtVaCreateWidget("rc", xmRowColumnWidgetClass, parent, + XmNorientation, XmHORIZONTAL, + NULL); + str = XmStringCreateLocalized(s); + XtVaCreateManagedWidget("label", xmLabelWidgetClass, retval->rc, + XmNlabelString, str, + NULL); + XmStringFree(str); + fr = XtVaCreateWidget("fr", xmFrameWidgetClass, retval->rc, + XmNshadowType, XmSHADOW_ETCHED_OUT, + NULL); + form = XtVaCreateWidget("form", xmFormWidgetClass, fr, + NULL); + retval->text = XtVaCreateWidget("text", xmTextWidgetClass, form, + XmNtraversalOn, True, + XmNcolumns, len, + NULL); + retval->arrow_up = XtVaCreateWidget("form", xmArrowButtonGadgetClass, form, + XmNarrowDirection, XmARROW_UP, + NULL); + XtAddCallback(retval->arrow_up, XmNactivateCallback, + spin_arrow_cb, (XtPointer) retval); + retval->arrow_down = XtVaCreateWidget("form", xmArrowButtonGadgetClass, form, + XmNarrowDirection, XmARROW_DOWN, + NULL); + XtAddCallback(retval->arrow_down, XmNactivateCallback, + spin_arrow_cb, (XtPointer) retval); + XtVaSetValues(retval->text, + XmNtopAttachment, XmATTACH_FORM, + XmNleftAttachment, XmATTACH_FORM, + XmNbottomAttachment, XmATTACH_FORM, + XmNrightAttachment, XmATTACH_NONE, + NULL); + XtVaSetValues(retval->arrow_down, + XmNtopAttachment, XmATTACH_FORM, + XmNbottomAttachment, XmATTACH_FORM, + XmNleftAttachment, XmATTACH_WIDGET, + XmNleftWidget, retval->text, + XmNrightAttachment, XmATTACH_NONE, + NULL); + XtVaSetValues(retval->arrow_up, + XmNtopAttachment, XmATTACH_FORM, + XmNbottomAttachment, XmATTACH_FORM, + XmNrightAttachment, XmATTACH_FORM, + XmNleftAttachment, XmATTACH_WIDGET, + XmNleftWidget, retval->arrow_down, + NULL); + + XtManageChild(retval->text); + XtManageChild(retval->arrow_up); + XtManageChild(retval->arrow_down); + XtManageChild(form); + XtManageChild(fr); + XtManageChild(retval->rc); + + return retval; + } + + void SetSpinChoice(SpinStructure *spinp, double value) + { + char buf[64]; + + if (value < spinp->min) { + XBell(disp, 50); + value = spinp->min; + } else if (value > spinp->max) { + XBell(disp, 50); + value = spinp->max; + } + + if (spinp->type == SPIN_TYPE_FLOAT) { + sprintf(buf, "%g", value); + } else { + sprintf(buf, "%d", (int) rint(value)); + } + XmTextSetString(spinp->text, buf); + } + + double GetSpinChoice(SpinStructure *spinp) + { + double retval; + + xv_evalexpr(spinp->text, &retval); + if (retval < spinp->min) { + errmsg("Input value below min limit in GetSpinChoice()"); + retval = spinp->min; + SetSpinChoice(spinp, retval); + } else if (retval > spinp->max) { + errmsg("Input value above max limit in GetSpinChoice()"); + retval = spinp->max; + SetSpinChoice(spinp, retval); + } + + if (spinp->type == SPIN_TYPE_INT) { + return rint(retval); + } else { + return retval; + } + } + + + TextStructure *CreateTextInput(Widget parent, char *s) + { + TextStructure *retval; + XmString str; + + retval = xmalloc(sizeof(TextStructure)); + retval->form = XtVaCreateWidget("form", xmFormWidgetClass, parent, NULL); + + str = XmStringCreateLocalized(s); + retval->label = XtVaCreateManagedWidget("label", + xmLabelWidgetClass, retval->form, + XmNlabelString, str, + XmNtopAttachment, XmATTACH_FORM, + XmNbottomAttachment, XmATTACH_FORM, + XmNleftAttachment, XmATTACH_FORM, + XmNrightAttachment, XmATTACH_NONE, + NULL); + XmStringFree(str); + + retval->text = XtVaCreateManagedWidget("cstext", + xmTextWidgetClass, retval->form, + XmNtraversalOn, True, + XmNtopAttachment, XmATTACH_FORM, + XmNbottomAttachment, XmATTACH_FORM, + XmNleftAttachment, XmATTACH_WIDGET, + XmNleftWidget, retval->label, + XmNrightAttachment, XmATTACH_FORM, + NULL); + + XtManageChild(retval->form); + + return retval; + } + + void cstext_edit_action(Widget w, XEvent *e, String *par, Cardinal *npar) + { + create_fonttool(w); + } + + static char cstext_translation_table[] = "\ + CtrlE: cstext_edit_action()"; + + TextStructure *CreateCSText(Widget parent, char *s) + { + TextStructure *retval; + + retval = CreateTextInput(parent, s); + XtOverrideTranslations(retval->text, + XtParseTranslationTable(cstext_translation_table)); + + return retval; + } + + char *GetTextString(TextStructure *cst) + { + static char *buf = NULL; + char *s; + + s = XmTextGetString(cst->text); + buf = copy_string(buf, s); + XtFree(s); + + return buf; + } + + void SetTextString(TextStructure *cst, char *s) + { + XmTextSetString(cst->text, s ? s : ""); + } + + typedef struct { + void (*cbproc)(); + void *anydata; + } Text_CBdata; + + static void text_int_cb_proc(Widget w, XtPointer client_data, XtPointer call_data) + { + Text_CBdata *cbdata = (Text_CBdata *) client_data; + cbdata->cbproc(cbdata->anydata); + } + + void AddTextInputCB(TextStructure *cst, Text_CBProc cbproc, void *data) + { + Text_CBdata *cbdata; + + cbdata = xmalloc(sizeof(Text_CBdata)); + cbdata->anydata = data; + cbdata->cbproc = cbproc; + + XtAddCallback(cst->text, + XmNactivateCallback, text_int_cb_proc, (XtPointer) cbdata); + } + + int GetTextCursorPos(TextStructure *cst) + { + return XmTextGetInsertionPosition(cst->text); + } + + void TextInsert(TextStructure *cst, int pos, char *s) + { + XmTextInsert(cst->text, pos, s); + } + + + typedef struct { + void (*cbproc)(); + void *anydata; + } Button_CBdata; + + Widget CreateButton(Widget parent, char *label) + { + Widget button; + XmString xmstr; + + xmstr = XmStringCreateLocalized(label); + button = XtVaCreateManagedWidget("button", + xmPushButtonWidgetClass, parent, + XmNalignment, XmALIGNMENT_CENTER, + XmNlabelString, xmstr, + /* + * XmNmarginLeft, 5, + * XmNmarginRight, 5, + * XmNmarginTop, 3, + * XmNmarginBottom, 2, + */ + NULL); + XmStringFree(xmstr); + + return button; + } + + Widget CreateBitmapButton(Widget parent, + int width, int height, const unsigned char *bits) + { + Widget button; + Pixmap pm; + Pixel fg, bg; + + button = XtVaCreateManagedWidget("button", + xmPushButtonWidgetClass, parent, + XmNlabelType, XmPIXMAP, + NULL); + + /* + * We need to get right fore- and background colors for pixmap. + */ + XtVaGetValues(button, + XmNforeground, &fg, + XmNbackground, &bg, + NULL); + pm = XCreatePixmapFromBitmapData(disp, + root, (char *) bits, width, height, fg, bg, depth); + XtVaSetValues(button, XmNlabelPixmap, pm, NULL); + + return button; + } + + static void button_int_cb_proc(Widget w, XtPointer client_data, XtPointer call_data) + { + Button_CBdata *cbdata = (Button_CBdata *) client_data; + cbdata->cbproc(cbdata->anydata); + } + + void AddButtonCB(Widget button, Button_CBProc cbproc, void *data) + { + Button_CBdata *cbdata; + + cbdata = xmalloc(sizeof(Button_CBdata)); + cbdata->anydata = data; + cbdata->cbproc = cbproc; + XtAddCallback(button, + XmNactivateCallback, button_int_cb_proc, (XtPointer) cbdata); + } + + static void fsb_setcwd_cb(void *data) + { + char *bufp; + XmString directory; + Widget fsb = (Widget) data; + + XtVaGetValues(fsb, XmNdirectory, &directory, NULL); + bufp = GetStringSimple(directory); + XmStringFree(directory); + if (bufp != NULL) { + set_workingdir(bufp); + XtFree(bufp); + } + } + + #define FSB_CWD 0 + #define FSB_HOME 1 + #define FSB_ROOT 2 + #define FSB_CYGDRV 3 + + static void fsb_cd_cb(int value, void *data) + { + char *bufp; + XmString dir, pattern, dirmask; + Widget FSB = (Widget) data; + + switch (value) { + case FSB_CWD: + bufp = get_workingdir(); + break; + case FSB_HOME: + bufp = get_userhome(); + break; + case FSB_ROOT: + bufp = "/"; + break; + case FSB_CYGDRV: + bufp = "/cygdrive/"; + break; + default: + return; + } + + XtVaGetValues(FSB, XmNpattern, &pattern, NULL); + + dir = XmStringCreateLocalized(bufp); + dirmask = XmStringConcatAndFree(dir, pattern); + + XmFileSelectionDoSearch(FSB, dirmask); + XmStringFree(dirmask); + } + + static OptionItem fsb_items[] = { + {FSB_CWD, "Cwd"}, + {FSB_HOME, "Home"}, + {FSB_ROOT, "/"} + #ifdef __CYGWIN__ + ,{FSB_CYGDRV, "My Computer"} + #endif + }; + + #define FSB_ITEMS_NUM sizeof(fsb_items)/sizeof(OptionItem) + + #if XmVersion >= 2000 + static void show_hidden_cb(int onoff, void *data) + { + FSBStructure *fsb = (FSBStructure *) data; + XtVaSetValues(fsb->FSB, XmNfileFilterStyle, + onoff ? XmFILTER_NONE:XmFILTER_HIDDEN_FILES, NULL); + } + #endif + + FSBStructure *CreateFileSelectionBox(Widget parent, char *s) + { + FSBStructure *retval; + OptionStructure *opt; + Widget fr, form, button; + XmString xmstr; + char *bufp, *resname; + + retval = xmalloc(sizeof(FSBStructure)); + resname = label_to_resname(s, "FSB"); + retval->FSB = XmCreateFileSelectionDialog(parent, resname, NULL, 0); + xfree(resname); + retval->dialog = XtParent(retval->FSB); + handle_close(retval->dialog); + bufp = copy_string(NULL, "Grace: "); + bufp = concat_strings(bufp, s); + XtVaSetValues(retval->dialog, XmNtitle, bufp, NULL); + xfree(bufp); + + xmstr = XmStringCreateLocalized(get_workingdir()); + XtVaSetValues(retval->FSB, XmNdirectory, xmstr, NULL); + XmStringFree(xmstr); + + XtAddCallback(retval->FSB, + XmNcancelCallback, destroy_dialog, retval->dialog); + AddHelpCB(retval->FSB, "doc/UsersGuide.html#FS-dialog"); + + retval->rc = XmCreateRowColumn(retval->FSB, "rc", NULL, 0); + #if XmVersion >= 2000 + button = CreateToggleButton(retval->rc, "Show hidden files"); + AddToggleButtonCB(button, show_hidden_cb, retval); + XtVaSetValues(retval->FSB, XmNfileFilterStyle, XmFILTER_HIDDEN_FILES, NULL); + #endif + fr = CreateFrame(retval->rc, NULL); + form = XtVaCreateWidget("form", xmFormWidgetClass, fr, NULL); + opt = CreateOptionChoice(form, "Chdir to:", 1, FSB_ITEMS_NUM, fsb_items); + AddOptionChoiceCB(opt, fsb_cd_cb, (void *) retval->FSB); + button = CreateButton(form, "Set as cwd"); + AddButtonCB(button, fsb_setcwd_cb, (void *) retval->FSB); + + XtVaSetValues(opt->menu, + XmNleftAttachment, XmATTACH_FORM, + XmNtopAttachment, XmATTACH_FORM, + XmNbottomAttachment, XmATTACH_FORM, + XmNrightAttachment, XmATTACH_NONE, + NULL); + XtVaSetValues(button, + XmNleftAttachment, XmATTACH_NONE, + XmNtopAttachment, XmATTACH_FORM, + XmNbottomAttachment, XmATTACH_FORM, + XmNrightAttachment, XmATTACH_FORM, + NULL); + XtManageChild(form); + + XtManageChild(retval->rc); + + return retval; + } + + typedef struct { + FSBStructure *fsb; + int (*cbproc)(); + void *anydata; + } FSB_CBdata; + + static void fsb_int_cb_proc(Widget w, XtPointer client_data, XtPointer call_data) + { + char *s; + int ok; + + FSB_CBdata *cbdata = (FSB_CBdata *) client_data; + XmFileSelectionBoxCallbackStruct *cbs = + (XmFileSelectionBoxCallbackStruct *) call_data; + + s = GetStringSimple(cbs->value); + if (s == NULL) { + errmsg("Error converting XmString to char string"); + return; + } + + set_wait_cursor(); + + ok = cbdata->cbproc(s, cbdata->anydata); + XtFree(s); + if (ok) { + XtUnmanageChild(cbdata->fsb->dialog); + } + unset_wait_cursor(); + } + + void AddFileSelectionBoxCB(FSBStructure *fsb, FSB_CBProc cbproc, void *anydata) + { + FSB_CBdata *cbdata; + + cbdata = xmalloc(sizeof(FSB_CBdata)); + cbdata->fsb = fsb; + cbdata->cbproc = (FSB_CBProc) cbproc; + cbdata->anydata = anydata; + XtAddCallback(fsb->FSB, + XmNokCallback, fsb_int_cb_proc, (XtPointer) cbdata); + } + + void SetFileSelectionBoxPattern(FSBStructure *fsb, char *pattern) + { + XmString xmstr; + + if (pattern != NULL) { + xmstr = XmStringCreateLocalized(pattern); + XtVaSetValues(fsb->FSB, XmNpattern, xmstr, NULL); + XmStringFree(xmstr); + } + } + + Widget CreateLabel(Widget parent, char *s) + { + Widget label; + + label = XtVaCreateManagedWidget(s, + xmLabelWidgetClass, parent, + XmNalignment, XmALIGNMENT_BEGINNING, + XmNrecomputeSize, True, + NULL); + return label; + } + + void AlignLabel(Widget w, int alignment) + { + unsigned char xm_alignment; + + switch(alignment) { + case ALIGN_BEGINNING: + xm_alignment = XmALIGNMENT_BEGINNING; + break; + case ALIGN_CENTER: + xm_alignment = XmALIGNMENT_CENTER; + break; + case ALIGN_END: + xm_alignment = XmALIGNMENT_END; + break; + default: + errmsg("Internal error in AlignLabel()"); + return; + break; + } + XtVaSetValues(w, + XmNalignment, xm_alignment, + NULL); + } + + static OptionItem *font_option_items; + static OptionItem *settype_option_items; + static BitmapOptionItem *pattern_option_items; + static BitmapOptionItem *lines_option_items; + + #define LINES_BM_HEIGHT 15 + #define LINES_BM_WIDTH 64 + + int init_option_menus(void) { + int i, j, k, l, n; + + n = number_of_fonts(); + font_option_items = xmalloc(n*sizeof(OptionItem)); + if (font_option_items == NULL) { + errmsg("Malloc error in init_option_menus()"); + return RETURN_FAILURE; + } + for (i = 0; i < n; i++) { + font_option_items[i].value = i; + font_option_items[i].label = get_fontalias(i); + } + + n = number_of_patterns(); + pattern_option_items = xmalloc(n*sizeof(BitmapOptionItem)); + if (pattern_option_items == NULL) { + errmsg("Malloc error in init_option_menus()"); + xfree(font_option_items); + return RETURN_FAILURE; + } + for (i = 0; i < n; i++) { + pattern_option_items[i].value = i; + if (i == 0) { + pattern_option_items[i].bitmap = NULL; + } else { + pattern_option_items[i].bitmap = pat_bits[i]; + } + } + + n = number_of_linestyles(); + lines_option_items = xmalloc(n*sizeof(BitmapOptionItem)); + if (lines_option_items == NULL) { + errmsg("Malloc error in init_option_menus()"); + xfree(pattern_option_items); + xfree(font_option_items); + return RETURN_FAILURE; + } + for (i = 0; i < n; i++) { + lines_option_items[i].value = i; + if (i == 0) { + lines_option_items[i].bitmap = NULL; + continue; + } + + lines_option_items[i].bitmap = + xcalloc(LINES_BM_HEIGHT*LINES_BM_WIDTH/8/SIZEOF_CHAR, SIZEOF_CHAR); + + k = LINES_BM_WIDTH*(LINES_BM_HEIGHT/2); + while (k < LINES_BM_WIDTH*(LINES_BM_HEIGHT/2 + 1)) { + for (j = 0; j < dash_array_length[i]; j++) { + for (l = 0; l < dash_array[i][j]; l++) { + if (k < LINES_BM_WIDTH*(LINES_BM_HEIGHT/2 + 1)) { + if (j % 2 == 0) { + /* black */ + lines_option_items[i].bitmap[k/8] |= 1 << k % 8; + } + k++; + } + } + } + } + } + + settype_option_items = xmalloc(NUMBER_OF_SETTYPES*sizeof(OptionItem)); + if (settype_option_items == NULL) { + errmsg("Malloc error in init_option_menus()"); + return RETURN_FAILURE; + } + for (i = 0; i < NUMBER_OF_SETTYPES; i++) { + settype_option_items[i].value = i; + settype_option_items[i].label = copy_string(NULL, set_types(i)); + lowtoupper(settype_option_items[i].label); + } + + return RETURN_SUCCESS; + } + + OptionStructure *CreateFontChoice(Widget parent, char *s) + { + return (CreateOptionChoice(parent, + s, 0, number_of_fonts(), font_option_items)); + } + + OptionStructure *CreatePatternChoice(Widget parent, char *s) + { + return (CreateBitmapOptionChoice(parent, s, 4, number_of_patterns(), + 16, 16, pattern_option_items)); + } + + OptionStructure *CreateLineStyleChoice(Widget parent, char *s) + { + return (CreateBitmapOptionChoice(parent, s, 0, number_of_linestyles(), + LINES_BM_WIDTH, LINES_BM_HEIGHT, lines_option_items)); + } + + OptionStructure *CreateSetTypeChoice(Widget parent, char *s) + { + return (CreateOptionChoice(parent, + s, 0, NUMBER_OF_SETTYPES, settype_option_items)); + } + + static BitmapOptionItem just_option_items[12] = + { + {JUST_LEFT |JUST_BLINE , j_lm_o_bits}, + {JUST_CENTER|JUST_BLINE , j_cm_o_bits}, + {JUST_RIGHT |JUST_BLINE , j_rm_o_bits}, + {JUST_LEFT |JUST_BOTTOM, j_lb_b_bits}, + {JUST_CENTER|JUST_BOTTOM, j_cb_b_bits}, + {JUST_RIGHT |JUST_BOTTOM, j_rb_b_bits}, + {JUST_LEFT |JUST_MIDDLE, j_lm_b_bits}, + {JUST_CENTER|JUST_MIDDLE, j_cm_b_bits}, + {JUST_RIGHT |JUST_MIDDLE, j_rm_b_bits}, + {JUST_LEFT |JUST_TOP , j_lt_b_bits}, + {JUST_CENTER|JUST_TOP , j_ct_b_bits}, + {JUST_RIGHT |JUST_TOP , j_rt_b_bits} + }; + + OptionStructure *CreateJustChoice(Widget parent, char *s) + { + return (CreateBitmapOptionChoice(parent, s, 4, + 12, JBITMAP_WIDTH, JBITMAP_HEIGHT, just_option_items)); + } + + RestrictionStructure *CreateRestrictionChoice(Widget parent, char *s) + { + RestrictionStructure *retval; + Widget rc; + OptionItem restr_items[7]; + + restr_items[0].value = RESTRICT_NONE; + restr_items[0].label = "None"; + restr_items[1].value = RESTRICT_REG0; + restr_items[1].label = "Region 0"; + restr_items[2].value = RESTRICT_REG1; + restr_items[2].label = "Region 1"; + restr_items[3].value = RESTRICT_REG2; + restr_items[3].label = "Region 2"; + restr_items[4].value = RESTRICT_REG3; + restr_items[4].label = "Region 3"; + restr_items[5].value = RESTRICT_REG4; + restr_items[5].label = "Region 4"; + restr_items[6].value = RESTRICT_WORLD; + restr_items[6].label = "Inside graph"; + + retval = xmalloc(sizeof(RestrictionStructure)); + + retval->frame = CreateFrame(parent, s); + rc = XtVaCreateWidget("rc", + xmRowColumnWidgetClass, retval->frame, + XmNorientation, XmHORIZONTAL, + NULL); + + retval->r_sel = CreateOptionChoice(rc, + "Restriction:", 1, 7, restr_items); + retval->negate = CreateToggleButton(rc, "Negated"); + XtManageChild(rc); + + return retval; + } + + + static OptionItem *graph_select_items = NULL; + static int ngraph_select_items = 0; + static ListStructure **graph_selectors = NULL; + static int ngraph_selectors = 0; + + void graph_select_cb(Widget list, XtPointer client_data, XtPointer call_data) + { + XmListCallbackStruct *cbs = (XmListCallbackStruct *) call_data; + ListStructure *plist = (ListStructure *) client_data; + int gno; + + gno = plist->values[cbs->item_position - 1]; + switch_current_graph(gno); + } + + void update_graph_selectors(void) + { + int i, new_n = number_of_graphs(); + char buf[64]; + OptionItem *p; + + for (i = 0; i < ngraph_select_items; i++) { + xfree(graph_select_items[i].label); + } + p = xrealloc(graph_select_items, new_n*sizeof(OptionItem)); + if (p == NULL && new_n != 0) { + ngraph_select_items = 0; + return; + } else { + graph_select_items = p; + } + + for (i = 0; i < new_n; i++) { + graph_select_items[i].value = i; + sprintf(buf, "(%c) G%d (%d sets)", + is_graph_hidden(i) ? '-':'+', i, number_of_sets(i)); + graph_select_items[i].label = copy_string(NULL, buf); + } + ngraph_select_items = new_n; + + for (i = 0; i < ngraph_selectors; i++) { + UpdateListChoice(graph_selectors[i], + ngraph_select_items, graph_select_items); + } + } + + typedef struct { + Widget popup; + Widget label_item; + Widget focus_item; + Widget hide_item; + Widget show_item; + Widget duplicate_item; + Widget kill_item; + Widget copy12_item; + Widget copy21_item; + Widget move12_item; + Widget move21_item; + Widget swap_item; + } GraphPopupMenu; + + typedef enum { + GraphMenuFocusCB, + GraphMenuHideCB, + GraphMenuShowCB, + GraphMenuDuplicateCB, + GraphMenuKillCB, + GraphMenuCopy12CB, + GraphMenuCopy21CB, + GraphMenuMove12CB, + GraphMenuMove21CB, + GraphMenuSwapCB, + GraphMenuNewCB + } GraphMenuCBtype; + + void graph_menu_cb(ListStructure *listp, GraphMenuCBtype type) + { + int err = FALSE; + int i, n, *values; + char buf[32]; + + n = GetListChoices(listp, &values); + + switch (type) { + case GraphMenuFocusCB: + if (n == 1) { + switch_current_graph(values[0]); + } else { + err = TRUE; + } + break; + case GraphMenuHideCB: + if (n > 0) { + for (i = 0; i < n; i++) { + set_graph_hidden(values[i], TRUE); + } + } else { + err = TRUE; + } + break; + case GraphMenuShowCB: + if (n > 0) { + for (i = 0; i < n; i++) { + set_graph_hidden(values[i], FALSE); + } + } else { + err = TRUE; + } + break; + case GraphMenuDuplicateCB: + if (n > 0) { + for (i = 0; i < n; i++) { + duplicate_graph(values[i]); + } + } else { + err = TRUE; + } + break; + case GraphMenuKillCB: + if (n > 0) { + if (yesno("Kill selected graph(s)?", NULL, NULL, NULL)) { + for (i = n - 1; i >= 0; i--) { + kill_graph(values[i]); + } + } + } else { + err = TRUE; + } + break; + case GraphMenuCopy12CB: + if (n == 2) { + sprintf(buf, "Overwrite G%d?", values[1]); + if (yesno(buf, NULL, NULL, NULL)) { + copy_graph(values[0], values[1]); + } + } else { + err = TRUE; + } + break; + case GraphMenuCopy21CB: + if (n == 2) { + sprintf(buf, "Overwrite G%d?", values[0]); + if (yesno(buf, NULL, NULL, NULL)) { + copy_graph(values[1], values[0]); + } + } else { + err = TRUE; + } + break; + case GraphMenuMove12CB: + if (n == 2) { + sprintf(buf, "Replace G%d?", values[1]); + if (yesno(buf, NULL, NULL, NULL)) { + move_graph(values[0], values[1]); + } + } else { + err = TRUE; + } + break; + case GraphMenuMove21CB: + if (n == 2) { + sprintf(buf, "Replace G%d?", values[0]); + if (yesno(buf, NULL, NULL, NULL)) { + move_graph(values[1], values[0]); + } + } else { + err = TRUE; + } + break; + case GraphMenuSwapCB: + if (n == 2) { + swap_graph(values[0], values[1]); + } else { + err = TRUE; + } + break; + case GraphMenuNewCB: + set_graph_active(number_of_graphs()); + break; + default: + err = TRUE; + break; + } + + if (n > 0) { + xfree(values); + } + + if (err == FALSE) { + update_all(); + xdrawgraph(); + } + } + + void switch_focus_proc(void *data) + { + graph_menu_cb((ListStructure *) data, GraphMenuFocusCB); + } + + void hide_graph_proc(void *data) + { + graph_menu_cb((ListStructure *) data, GraphMenuHideCB); + } + + void show_graph_proc(void *data) + { + graph_menu_cb((ListStructure *) data, GraphMenuShowCB); + } + + void duplicate_graph_proc(void *data) + { + graph_menu_cb((ListStructure *) data, GraphMenuDuplicateCB); + } + + void kill_graph_proc(void *data) + { + graph_menu_cb((ListStructure *) data, GraphMenuKillCB); + } + + void copy12_graph_proc(void *data) + { + graph_menu_cb((ListStructure *) data, GraphMenuCopy12CB); + } + + void copy21_graph_proc(void *data) + { + graph_menu_cb((ListStructure *) data, GraphMenuCopy21CB); + } + + void move12_graph_proc(void *data) + { + graph_menu_cb((ListStructure *) data, GraphMenuMove12CB); + } + + void move21_graph_proc(void *data) + { + graph_menu_cb((ListStructure *) data, GraphMenuMove21CB); + } + + void swap_graph_proc(void *data) + { + graph_menu_cb((ListStructure *) data, GraphMenuSwapCB); + } + + void create_new_graph_proc(void *data) + { + graph_menu_cb((ListStructure *) data, GraphMenuNewCB); + } + + GraphPopupMenu *CreateGraphPopupEntries(ListStructure *listp) + { + GraphPopupMenu *graph_popup_menu; + Widget popup; + + graph_popup_menu = xmalloc(sizeof(GraphPopupMenu)); + + popup = XmCreatePopupMenu(listp->list, "graphPopupMenu", NULL, 0); + graph_popup_menu->popup = popup; + + graph_popup_menu->label_item = CreateMenuLabel(popup, "Selection:"); + CreateMenuSeparator(popup); + graph_popup_menu->focus_item = CreateMenuButton(popup, "Focus to", 'F', + switch_focus_proc, (void *) listp); + CreateMenuSeparator(popup); + graph_popup_menu->hide_item = CreateMenuButton(popup, "Hide", 'H', + hide_graph_proc, (void *) listp); + graph_popup_menu->show_item = CreateMenuButton(popup, "Show", 'S', + show_graph_proc, (void *) listp); + graph_popup_menu->duplicate_item = CreateMenuButton(popup,"Duplicate", 'D', + duplicate_graph_proc, (void *) listp); + graph_popup_menu->kill_item = CreateMenuButton(popup, "Kill", 'K', + kill_graph_proc, (void *) listp); + CreateMenuSeparator(popup); + graph_popup_menu->copy12_item = CreateMenuButton(popup, "Copy 1 to 2", '\0', + copy12_graph_proc, (void *) listp); + graph_popup_menu->copy21_item = CreateMenuButton(popup, "Copy 2 to 1", '\0', + copy21_graph_proc, (void *) listp); + graph_popup_menu->move12_item = CreateMenuButton(popup, "Move 1 to 2", '\0', + move12_graph_proc, (void *) listp); + graph_popup_menu->move21_item = CreateMenuButton(popup, "Move 2 to 1", '\0', + move21_graph_proc, (void *) listp); + graph_popup_menu->swap_item = CreateMenuButton(popup, "Swap", 'w', + swap_graph_proc, (void *) listp); + CreateMenuSeparator(popup); + CreateMenuButton(popup, "Create new", 'C', + create_new_graph_proc, (void *) listp); + + return graph_popup_menu; + } + + void graph_popup(Widget parent, ListStructure *listp, XButtonPressedEvent *event) + { + int i, n; + int *values; + char buf[64]; + Widget popup; + GraphPopupMenu* graph_popup_menu; + + if (event->button != 3) { + return; + } + + graph_popup_menu = (GraphPopupMenu*) listp->anydata; + popup = graph_popup_menu->popup; + + n = GetListChoices(listp, &values); + if (n > 0) { + sprintf(buf, "G%d", values[0]); + for (i = 1; i < n; i++) { + if (strlen(buf) > 30) { + strcat(buf, "..."); + break; + } + sprintf(buf, "%s, G%d", buf, values[i]); + } + } else { + strcpy(buf, "None"); + } + + SetLabel(graph_popup_menu->label_item, buf); + + if (n == 0) { + XtSetSensitive(graph_popup_menu->hide_item, False); + XtSetSensitive(graph_popup_menu->show_item, False); + XtSetSensitive(graph_popup_menu->duplicate_item, False); + XtSetSensitive(graph_popup_menu->kill_item, False); + } else { + XtSetSensitive(graph_popup_menu->hide_item, True); + XtSetSensitive(graph_popup_menu->show_item, True); + XtSetSensitive(graph_popup_menu->duplicate_item, True); + XtSetSensitive(graph_popup_menu->kill_item, True); + } + if (n == 1) { + XtSetSensitive(graph_popup_menu->focus_item, True); + } else { + XtSetSensitive(graph_popup_menu->focus_item, False); + } + if (n == 2) { + sprintf(buf, "Copy G%d to G%d", values[0], values[1]); + SetLabel(graph_popup_menu->copy12_item, buf); + XtManageChild(graph_popup_menu->copy12_item); + sprintf(buf, "Copy G%d to G%d", values[1], values[0]); + SetLabel(graph_popup_menu->copy21_item, buf); + XtManageChild(graph_popup_menu->copy21_item); + sprintf(buf, "Move G%d to G%d", values[0], values[1]); + SetLabel(graph_popup_menu->move12_item, buf); + XtManageChild(graph_popup_menu->move12_item); + sprintf(buf, "Move G%d to G%d", values[1], values[0]); + SetLabel(graph_popup_menu->move21_item, buf); + XtManageChild(graph_popup_menu->move21_item); + XtSetSensitive(graph_popup_menu->swap_item, True); + } else { + XtUnmanageChild(graph_popup_menu->copy12_item); + XtUnmanageChild(graph_popup_menu->copy21_item); + XtUnmanageChild(graph_popup_menu->move12_item); + XtUnmanageChild(graph_popup_menu->move21_item); + XtSetSensitive(graph_popup_menu->swap_item, False); + } + + if (n > 0) { + xfree(values); + } + XmMenuPosition(popup, event); + XtManageChild(popup); + } + + static void list_selectall(Widget list) + { + int i, n; + unsigned char selection_type_save; + + XtVaGetValues(list, + XmNselectionPolicy, &selection_type_save, + XmNitemCount, &n, + NULL); + if (selection_type_save == XmSINGLE_SELECT) { + XBell(disp, 50); + return; + } + + XtVaSetValues(list, XmNselectionPolicy, XmMULTIPLE_SELECT, NULL); + + XmListDeselectAllItems(list); + for (i = 1; i <= n; i++) { + XmListSelectPos(list, i, False); + } + + XtVaSetValues(list, XmNselectionPolicy, selection_type_save, NULL); + } + + void list_selectall_action(Widget w, XEvent *e, String *par, Cardinal *npar) + { + list_selectall(w); + } + + static void list_selectall_cb(void *data) + { + ListStructure *listp = (ListStructure *) data; + list_selectall(listp->list); + } + + static void list_unselectall(Widget list) + { + XmListDeselectAllItems(list); + } + + void list_unselectall_action(Widget w, XEvent *e, String *par, Cardinal *npar) + { + list_unselectall(w); + } + + static void list_unselectall_cb(void *data) + { + ListStructure *listp = (ListStructure *) data; + list_unselectall(listp->list); + } + + static void list_invertselection(Widget list) + { + int i, n; + unsigned char selection_type_save; + + XtVaGetValues(list, + XmNselectionPolicy, &selection_type_save, + XmNitemCount, &n, + NULL); + if (selection_type_save == XmSINGLE_SELECT) { + XBell(disp, 50); + return; + } + + XtVaSetValues(list, XmNselectionPolicy, XmMULTIPLE_SELECT, NULL); + for (i = 0; i < n; i++) { + XmListSelectPos(list, i, False); + } + XtVaSetValues(list, XmNselectionPolicy, selection_type_save, NULL); + } + + static void list_invertselection_cb(void *data) + { + ListStructure *listp = (ListStructure *) data; + list_invertselection(listp->list); + } + + void list_invertselection_action(Widget w, XEvent *e, String *par, + Cardinal *npar) + { + list_invertselection(w); + } + + void set_graph_selectors(int gno) + { + int i; + + for (i = 0; i < ngraph_selectors; i++) { + SelectListChoice(graph_selectors[i], gno); + } + } + + ListStructure *CreateGraphChoice(Widget parent, char *labelstr, int type) + { + ListStructure *retvalp; + int nvisible; + + ngraph_selectors++; + graph_selectors = xrealloc(graph_selectors, + ngraph_selectors*sizeof(ListStructure *)); + + nvisible = (type == LIST_TYPE_SINGLE) ? 2 : 4; + retvalp = CreateListChoice(parent, labelstr, type, nvisible, + ngraph_select_items, graph_select_items); + if (retvalp == NULL) { + return NULL; + } + AddHelpCB(retvalp->rc, "doc/UsersGuide.html#graph-selector"); + graph_selectors[ngraph_selectors - 1] = retvalp; + + XtAddCallback(retvalp->list, XmNdefaultActionCallback, + graph_select_cb, retvalp); + retvalp->anydata = CreateGraphPopupEntries(retvalp); + + XtAddEventHandler(retvalp->list, ButtonPressMask, False, + (XtEventHandler) graph_popup, retvalp); + + if (ngraph_select_items == 0) { + update_graph_selectors(); + } else { + UpdateListChoice(retvalp, ngraph_select_items, graph_select_items); + } + + SelectListChoice(retvalp, get_cg()); + + return retvalp; + } + + /* Set selectors */ + static ListStructure **set_selectors = NULL; + static int nset_selectors = 0; + + void UpdateSetChoice(ListStructure *listp, int gno) + { + int i, j, n = number_of_sets(gno); + char buf[64]; + OptionItem *set_select_items; + SetChoiceData *sdata; + + sdata = (SetChoiceData *) listp->anydata; + sdata->gno = gno; + + if (n <= 0) { + UpdateListChoice(listp, 0, NULL); + return; + } + + set_select_items = xmalloc(n*sizeof(OptionItem)); + if (set_select_items == NULL) { + return; + } + + for (i = 0, j = 0; i < n; i++) { + if ((sdata->show_nodata == TRUE || is_set_active(gno, i) == TRUE) && + (sdata->show_hidden == TRUE || is_set_hidden(gno, i) != TRUE )) { + set_select_items[j].value = i; + sprintf(buf, "(%c) G%d.S%d[%d][%d]", + is_set_hidden(gno, i) ? '-':'+', + gno, i, dataset_cols(gno, i), getsetlength(gno, i)); + set_select_items[j].label = copy_string(NULL, buf); + if (sdata->view_comments == TRUE) { + set_select_items[j].label = + concat_strings(set_select_items[j].label, " \""); + set_select_items[j].label = + concat_strings(set_select_items[j].label, + getcomment(gno, i)); + set_select_items[j].label = + concat_strings(set_select_items[j].label, "\""); + } + j++; + } + } + UpdateListChoice(listp, j, set_select_items); + + xfree(set_select_items); + } + + void update_set_selectors(int gno) + { + int i, cg; + SetChoiceData *sdata; + + cg = get_cg(); + update_graph_selectors(); + for (i = 0; i < nset_selectors; i++) { + sdata = (SetChoiceData *) set_selectors[i]->anydata; + if (sdata->standalone == TRUE && (gno == cg || gno == ALL_GRAPHS)) { + UpdateSetChoice(set_selectors[i], cg); + } else if (sdata->standalone == FALSE && sdata->gno == gno) { + UpdateSetChoice(set_selectors[i], gno); + } + } + } + + void set_menu_cb(ListStructure *listp, SetMenuCBtype type) + { + SetChoiceData *sdata; + int err = FALSE; + int gno; + int i, n, setno, *values; + char buf[32]; + + n = GetListChoices(listp, &values); + sdata = (SetChoiceData *) listp->anydata; + gno = sdata->gno; + + switch (type) { + case SetMenuHideCB: + if (n > 0) { + for (i = 0; i < n; i++) { + set_set_hidden(gno, values[i], TRUE); + } + } else { + err = TRUE; + } + break; + case SetMenuShowCB: + if (n > 0) { + for (i = 0; i < n; i++) { + set_set_hidden(gno, values[i], FALSE); + } + } else { + err = TRUE; + } + break; + case SetMenuBringfCB: + if (n == 1) { + pushset(gno, values[0], PUSH_SET_TOFRONT); + } else { + err = TRUE; + } + break; + case SetMenuSendbCB: + if (n == 1) { + pushset(gno, values[0], PUSH_SET_TOBACK); + } else { + err = TRUE; + } + break; + case SetMenuDuplicateCB: + if (n > 0) { + for (i = 0; i < n; i++) { + setno = nextset(gno); + do_copyset(gno, values[i], gno, setno); + } + } else { + err = TRUE; + } + break; + case SetMenuKillCB: + if (n > 0) { + if (yesno("Kill selected set(s)?", NULL, NULL, NULL)) { + for (i = 0; i < n; i++) { + killset(gno, values[i]); + } + } + } else { + err = TRUE; + } + break; + case SetMenuKillDCB: + if (n > 0) { + if (yesno("Kill data in selected set(s)?", NULL, NULL, NULL)) { + for (i = 0; i < n; i++) { + killsetdata(gno, values[i]); + } + } + } else { + err = TRUE; + } + break; + case SetMenuCopy12CB: + if (n == 2) { + sprintf(buf, "Overwrite S%d?", values[1]); + if (yesno(buf, NULL, NULL, NULL)) { + do_copyset(gno, values[0], gno, values[1]); + } + } else { + err = TRUE; + } + break; + case SetMenuCopy21CB: + if (n == 2) { + sprintf(buf, "Overwrite S%d?", values[0]); + if (yesno(buf, NULL, NULL, NULL)) { + do_copyset(gno, values[1], gno, values[0]); + } + } else { + err = TRUE; + } + break; + case SetMenuMove12CB: + if (n == 2) { + sprintf(buf, "Replace S%d?", values[1]); + if (yesno(buf, NULL, NULL, NULL)) { + moveset(gno, values[0], gno, values[1]); + } + } else { + err = TRUE; + } + break; + case SetMenuMove21CB: + if (n == 2) { + sprintf(buf, "Replace S%d?", values[0]); + if (yesno(buf, NULL, NULL, NULL)) { + moveset(gno, values[1], gno, values[0]); + } + } else { + err = TRUE; + } + break; + case SetMenuSwapCB: + if (n == 2) { + swapset(gno, values[0], gno, values[1]); + } else { + err = TRUE; + } + break; + case SetMenuNewFCB: + create_leval_frame((void *) gno); + break; + case SetMenuNewSCB: + if ((setno = nextset(gno)) != -1) { + setcomment(gno, setno, "Editor"); + set_set_hidden(gno, setno, FALSE); + create_ss_frame(gno, setno); + } else { + err = TRUE; + } + break; + case SetMenuNewECB: + if ((setno = nextset(gno)) != -1) { + setcomment(gno, setno, "Editor"); + set_set_hidden(gno, setno, FALSE); + do_ext_editor(gno, setno); + } else { + err = TRUE; + } + break; + case SetMenuNewBCB: + create_eblock_frame(gno); + break; + case SetMenuEditSCB: + if (n == 1) { + create_ss_frame(gno, values[0]); + } else { + err = TRUE; + } + break; + case SetMenuEditECB: + if (n == 1) { + do_ext_editor(gno, values[0]); + } else { + err = TRUE; + } + break; + case SetMenuPackCB: + packsets(gno); + break; + default: + err = TRUE; + break; + } + + if (n > 0) { + xfree(values); + } + + if (err == FALSE) { + update_all(); + xdrawgraph(); + } + } + + + void hide_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuHideCB); + } + + void show_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuShowCB); + } + + void bringf_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuBringfCB); + } + + void sendb_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuSendbCB); + } + + void duplicate_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuDuplicateCB); + } + + void kill_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuKillCB); + } + + void killd_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuKillDCB); + } + + void copy12_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuCopy12CB); + } + + void copy21_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuCopy21CB); + } + + void move12_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuMove12CB); + } + + void move21_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuMove21CB); + } + + void swap_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuSwapCB); + } + + void newF_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuNewFCB); + } + + void newS_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuNewSCB); + } + + void newE_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuNewECB); + } + + void newB_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuNewBCB); + } + + void editS_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuEditSCB); + } + + void editE_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuEditECB); + } + + void pack_set_proc(void *data) + { + set_menu_cb((ListStructure *) data, SetMenuPackCB); + } + + void shownd_set_proc(int onoff, void *data) + { + ListStructure *listp = (ListStructure *) data; + SetChoiceData *sdata = (SetChoiceData *) listp->anydata; + + sdata->show_nodata = onoff; + UpdateSetChoice(listp, sdata->gno); + } + + void showh_set_proc(int onoff, void *data) + { + ListStructure *listp = (ListStructure *) data; + SetChoiceData *sdata = (SetChoiceData *) listp->anydata; + + sdata->show_hidden = onoff; + UpdateSetChoice(listp, sdata->gno); + } + + void view_comments_set_proc(int onoff, void *data) + { + ListStructure *listp = (ListStructure *) data; + SetChoiceData *sdata = (SetChoiceData *) listp->anydata; + + sdata->view_comments = onoff; + UpdateSetChoice(listp, sdata->gno); + } + + void update_set_proc(void *data) + { + ListStructure *listp = (ListStructure *) data; + SetChoiceData *sdata = (SetChoiceData *) listp->anydata; + + UpdateSetChoice(listp, sdata->gno); + } + + SetPopupMenu *CreateSetPopupEntries(ListStructure *listp) + { + SetPopupMenu *set_popup_menu; + Widget popup, submenupane; + + set_popup_menu = xmalloc(sizeof(SetPopupMenu)); + popup = XmCreatePopupMenu(listp->list, "setPopupMenu", NULL, 0); + set_popup_menu->popup = popup; + + set_popup_menu->label_item = CreateMenuLabel(popup, "Selection:"); + + CreateMenuSeparator(popup); + + set_popup_menu->hide_item = CreateMenuButton(popup, "Hide", '\0', + hide_set_proc, (void *) listp); + set_popup_menu->show_item = CreateMenuButton(popup, "Show", '\0', + show_set_proc, (void *) listp); + set_popup_menu->bringf_item = CreateMenuButton(popup, "Bring to front", '\0', + bringf_set_proc, (void *) listp); + set_popup_menu->sendb_item = CreateMenuButton(popup, "Send to back", '\0', + sendb_set_proc, (void *) listp); + CreateMenuSeparator(popup); + set_popup_menu->duplicate_item = CreateMenuButton(popup, "Duplicate", '\0', + duplicate_set_proc, (void *) listp); + set_popup_menu->kill_item = CreateMenuButton(popup, "Kill", '\0', + kill_set_proc, (void *) listp); + set_popup_menu->killd_item = CreateMenuButton(popup, "Kill data", '\0', + killd_set_proc, (void *) listp); + CreateMenuSeparator(popup); + set_popup_menu->copy12_item = CreateMenuButton(popup, "Copy 1 to 2", '\0', + copy12_set_proc, (void *) listp); + set_popup_menu->copy21_item = CreateMenuButton(popup, "Copy 2 to 1", '\0', + copy21_set_proc, (void *) listp); + set_popup_menu->move12_item = CreateMenuButton(popup, "Move 1 to 2", '\0', + move12_set_proc, (void *) listp); + set_popup_menu->move21_item = CreateMenuButton(popup, "Move 2 to 1", '\0', + move21_set_proc, (void *) listp); + set_popup_menu->swap_item = CreateMenuButton(popup, "Swap", '\0', + swap_set_proc, (void *) listp); + CreateMenuSeparator(popup); + set_popup_menu->edit_item = CreateMenu(popup, "Edit", 'E', FALSE); + CreateMenuButton(set_popup_menu->edit_item, "In spreadsheet", '\0', + editS_set_proc, (void *) listp); + CreateMenuButton(set_popup_menu->edit_item, "In text editor", '\0', + editE_set_proc, (void *) listp); + submenupane = CreateMenu(popup, "Create new", '\0', FALSE); + CreateMenuButton(submenupane, "By formula", '\0', + newF_set_proc, (void *) listp); + CreateMenuButton(submenupane, "In spreadsheet", '\0', + newS_set_proc, (void *) listp); + CreateMenuButton(submenupane, "In text editor", '\0', + newE_set_proc, (void *) listp); + CreateMenuButton(submenupane, "From block data", '\0', + newB_set_proc, (void *) listp); + + CreateMenuSeparator(popup); + + CreateMenuButton(popup, "Pack all sets", '\0', + pack_set_proc, (void *) listp); + + CreateMenuSeparator(popup); + + submenupane = CreateMenu(popup, "Selector operations", 'o', FALSE); + CreateMenuToggle(submenupane, + "View set comments", '\0', view_comments_set_proc, (void *) listp); + CreateMenuSeparator(submenupane); + set_popup_menu->shownd_item = CreateMenuToggle(submenupane, + "Show data-less", '\0', shownd_set_proc, (void *) listp); + set_popup_menu->showh_item = CreateMenuToggle(submenupane, + "Show hidden", '\0', showh_set_proc, (void *) listp); + CreateMenuSeparator(submenupane); + CreateMenuButton(submenupane, "Select all", '\0', + list_selectall_cb, (void *) listp); + CreateMenuButton(submenupane, "Unselect all", '\0', + list_unselectall_cb, (void *) listp); + CreateMenuButton(submenupane, "Invert selection", '\0', + list_invertselection_cb, (void *) listp); + CreateMenuSeparator(submenupane); + CreateMenuButton(submenupane, "Update", '\0', + update_set_proc, (void *) listp); + + return set_popup_menu; + } + + void set_popup(Widget parent, ListStructure *listp, XButtonPressedEvent *event) + { + SetChoiceData *sdata; + int i, n; + int *values; + char buf[64]; + Widget popup; + SetPopupMenu* set_popup_menu; + + if (event->button != 3) { + return; + } + + sdata = (SetChoiceData *) listp->anydata; + set_popup_menu = sdata->menu; + popup = set_popup_menu->popup; + + n = GetListChoices(listp, &values); + if (n > 0) { + sprintf(buf, "S%d", values[0]); + for (i = 1; i < n; i++) { + if (strlen(buf) > 30) { + strcat(buf, "..."); + break; + } + sprintf(buf, "%s, S%d", buf, values[i]); + } + } else { + strcpy(buf, "None"); + } + + SetLabel(set_popup_menu->label_item, buf); + + SetToggleButtonState(set_popup_menu->shownd_item, sdata->show_nodata); + SetToggleButtonState(set_popup_menu->showh_item, sdata->show_hidden); + + if (n == 0) { + XtSetSensitive(set_popup_menu->hide_item, False); + XtSetSensitive(set_popup_menu->show_item, False); + XtSetSensitive(set_popup_menu->duplicate_item, False); + XtSetSensitive(set_popup_menu->kill_item, False); + XtSetSensitive(set_popup_menu->killd_item, False); + } else { + XtSetSensitive(set_popup_menu->hide_item, True); + XtSetSensitive(set_popup_menu->show_item, True); + XtSetSensitive(set_popup_menu->duplicate_item, True); + XtSetSensitive(set_popup_menu->kill_item, True); + XtSetSensitive(set_popup_menu->killd_item, True); + } + if (n == 1) { + XtSetSensitive(set_popup_menu->bringf_item, True); + XtSetSensitive(set_popup_menu->sendb_item, True); + XtSetSensitive(set_popup_menu->edit_item, True); + } else { + XtSetSensitive(set_popup_menu->bringf_item, False); + XtSetSensitive(set_popup_menu->sendb_item, False); + XtSetSensitive(set_popup_menu->edit_item, False); + } + if (n == 2) { + sprintf(buf, "Copy S%d to S%d", values[0], values[1]); + SetLabel(set_popup_menu->copy12_item, buf); + XtManageChild(set_popup_menu->copy12_item); + sprintf(buf, "Copy S%d to S%d", values[1], values[0]); + SetLabel(set_popup_menu->copy21_item, buf); + XtManageChild(set_popup_menu->copy21_item); + sprintf(buf, "Move S%d to S%d", values[0], values[1]); + SetLabel(set_popup_menu->move12_item, buf); + XtManageChild(set_popup_menu->move12_item); + sprintf(buf, "Move S%d to S%d", values[1], values[0]); + SetLabel(set_popup_menu->move21_item, buf); + XtManageChild(set_popup_menu->move21_item); + XtSetSensitive(set_popup_menu->swap_item, True); + } else { + XtUnmanageChild(set_popup_menu->copy12_item); + XtUnmanageChild(set_popup_menu->copy21_item); + XtUnmanageChild(set_popup_menu->move12_item); + XtUnmanageChild(set_popup_menu->move21_item); + XtSetSensitive(set_popup_menu->swap_item, False); + } + + if (n > 0) { + xfree(values); + } + XmMenuPosition(popup, event); + XtManageChild(popup); + } + + static void ss_edit_cb(Widget list, XtPointer client_data, XtPointer call_data) + { + XmListCallbackStruct *cbs = (XmListCallbackStruct *) call_data; + ListStructure *plist = (ListStructure *) client_data; + SetChoiceData *sdata = (SetChoiceData *) plist->anydata; + int gno, setno; + + gno = sdata->gno; + setno = plist->values[cbs->item_position - 1]; + create_ss_frame(gno, setno); + } + + + ListStructure *CreateSetChoice(Widget parent, char *labelstr, + int type, int standalone) + { + ListStructure *retvalp; + SetChoiceData *sdata; + int nvisible; + + nvisible = (type == LIST_TYPE_SINGLE) ? 4 : 8; + retvalp = CreateListChoice(parent, labelstr, type, nvisible, 0, NULL); + if (retvalp == NULL) { + return NULL; + } + AddHelpCB(retvalp->rc, "doc/UsersGuide.html#set-selector"); + + sdata = xmalloc(sizeof(SetChoiceData)); + if (sdata == NULL) { + XCFREE(retvalp); + return NULL; + } + + sdata->standalone = standalone; + sdata->view_comments = FALSE; + sdata->show_hidden = TRUE; + sdata->show_nodata = FALSE; + sdata->menu = CreateSetPopupEntries(retvalp); + XtAddEventHandler(retvalp->list, ButtonPressMask, False, + (XtEventHandler) set_popup, retvalp); + + XtAddCallback(retvalp->list, XmNdefaultActionCallback, ss_edit_cb, retvalp); + + retvalp->anydata = sdata; + + if (standalone == TRUE) { + UpdateSetChoice(retvalp, get_cg()); + } + + nset_selectors++; + set_selectors = xrealloc(set_selectors, + nset_selectors*sizeof(ListStructure *)); + set_selectors[nset_selectors - 1] = retvalp; + + return retvalp; + } + + static void update_sets_cb(int n, int *values, void *data) + { + int gno; + ListStructure *set_listp = (ListStructure *) data; + + if (n == 1) { + gno = values[0]; + } else { + gno = -1; + } + UpdateSetChoice(set_listp, gno); + } + + GraphSetStructure *CreateGraphSetSelector(Widget parent, char *s, int sel_type) + { + GraphSetStructure *retval; + Widget rc; + + retval = xmalloc(sizeof(GraphSetStructure)); + retval->frame = CreateFrame(parent, s); + rc = XtVaCreateWidget("rc", xmRowColumnWidgetClass, retval->frame, NULL); + retval->graph_sel = CreateGraphChoice(rc, "Graph:", LIST_TYPE_SINGLE); + retval->set_sel = CreateSetChoice(rc, "Set:", sel_type, FALSE); + AddListChoiceCB(retval->graph_sel, + update_sets_cb, (void *) retval->set_sel); + UpdateSetChoice(retval->set_sel, get_cg()); + XtManageChild(rc); + + return retval; + } + + SrcDestStructure *CreateSrcDestSelector(Widget parent, int sel_type) + { + SrcDestStructure *retval; + + retval = xmalloc(sizeof(SrcDestStructure)); + + retval->form = XtVaCreateWidget("form", + xmFormWidgetClass, parent, + XmNfractionBase, 2, + NULL); + retval->src = CreateGraphSetSelector(retval->form, "Source", sel_type); + retval->dest = CreateGraphSetSelector(retval->form, "Destination", sel_type); + XtVaSetValues(retval->src->frame, + XmNtopAttachment, XmATTACH_FORM, + XmNbottomAttachment, XmATTACH_FORM, + XmNleftAttachment, XmATTACH_FORM, + XmNrightAttachment, XmATTACH_POSITION, + XmNrightPosition, 1, + NULL); + + XtVaSetValues(retval->dest->frame, + XmNtopAttachment, XmATTACH_FORM, + XmNbottomAttachment, XmATTACH_FORM, + XmNleftAttachment, XmATTACH_POSITION, + XmNleftPosition, 1, + XmNrightAttachment, XmATTACH_FORM, + NULL); + + XtManageChild(retval->form); + + return retval; + } + + + void paint_color_selector(OptionStructure *optp) + { + int i, color; + long bg, fg; + + for (i = 0; i < ncolor_option_items; i++) { + color = color_option_items[i].value; + bg = xvlibcolors[color]; + if ((get_colorintensity(color) < 0.5 && is_video_reversed() == FALSE) || + (get_colorintensity(color) > 0.5 && is_video_reversed() == TRUE )) { + fg = xvlibcolors[0]; + } else { + fg = xvlibcolors[1]; + } + XtVaSetValues(optp->options[i].widget, + XmNbackground, bg, + XmNforeground, fg, + NULL); + } + } + + void update_color_selectors(void) + { + int i, j; + CMap_entry *pcmap; + + for (i = 0, j = 0; i < number_of_colors(); i++) { + pcmap = get_cmap_entry(i); + if (pcmap != NULL && pcmap->ctype == COLOR_MAIN) { + j++; + } + } + ncolor_option_items = j; + + color_option_items = xrealloc(color_option_items, + ncolor_option_items*sizeof(OptionItem)); + for (i = 0, j = 0; i < number_of_colors(); i++) { + pcmap = get_cmap_entry(i); + if (pcmap != NULL && pcmap->ctype == COLOR_MAIN) { + color_option_items[j].value = i; + color_option_items[j].label = get_colorname(i); + j++; + } + } + + for (i = 0; i < ncolor_selectors; i++) { + UpdateOptionChoice(color_selectors[i], + ncolor_option_items, color_option_items); + paint_color_selector(color_selectors[i]); + } + + } + + OptionStructure *CreateColorChoice(Widget parent, char *s) + { + OptionStructure *retvalp = NULL; + + ncolor_selectors++; + color_selectors = xrealloc(color_selectors, + ncolor_selectors*sizeof(OptionStructure *)); + if (color_selectors == NULL) { + errmsg("Malloc failed in CreateColorChoice()"); + return retvalp; + } + + retvalp = CreateOptionChoice(parent, s, 4, + ncolor_option_items, color_option_items); + + color_selectors[ncolor_selectors - 1] = retvalp; + + paint_color_selector(retvalp); + + return retvalp; + } + + SpinStructure *CreateLineWidthChoice(Widget parent, char *s) + { + return CreateSpinChoice(parent, s, 3, SPIN_TYPE_FLOAT, 0.0, MAX_LINEWIDTH, 0.5); + } + + + + Widget *CreatePanelChoice(Widget parent, char *labelstr, int nchoices,...) + { + va_list var; + int i = 0; + XmString str; + char *s; + Widget *retval; + + nchoices--; + + retval = (Widget *) XtMalloc((nchoices + 2) * sizeof(Widget)); + + retval[1] = XmCreatePulldownMenu(parent, "pulldown", NULL, 0); + + va_start(var, nchoices); + i = 0; + while ((s = va_arg(var, char *)) != NULL) { + retval[i + 2] = XmCreatePushButton(retval[1], s, NULL, 0); + i++; + } + if (i != nchoices) { + errmsg("Incorrect number of selections in CreatePanelChoice()"); + } + va_end(var); + + XtManageChildren(retval + 2, nchoices); + + retval[0] = XmCreateOptionMenu(parent, "optionmenu", NULL, 0); + str = XmStringCreateLocalized(labelstr); + XtVaSetValues(retval[0], + XmNlabelString, str, + XmNsubMenuId, retval[1], + NULL); + XmStringFree(str); + XtManageChild(retval[0]); + + return retval; + } + + + void SetChoice(Widget * w, int value) + { + Arg a; + + if (w == (Widget *) NULL) { + return; + } + if (w[value + 2] == (Widget) NULL) { + errwin("Internal error, SetChoice: Attempt to set NULL Widget"); + return; + } + XtSetArg(a, XmNmenuHistory, w[value + 2]); + XtSetValues(w[0], &a, 1); + } + + int GetChoice(Widget * w) + { + Arg a; + Widget warg; + int i; + + if (w == NULL) { + errwin("Internal error, GetChoice called with NULL argument"); + return 0; + } + XtSetArg(a, XmNmenuHistory, &warg); + XtGetValues(w[0], &a, 1); + i = 0; + while (w[i + 2] != warg) { + if (w[i + 2] == NULL) { + errwin("Internal error, GetChoice: Found NULL in Widget list"); + return 0; + } + i++; + } + return i; + } + + static OptionItem fmt_option_items[31] = + { + {FORMAT_DECIMAL, "Decimal" }, + {FORMAT_EXPONENTIAL, "Exponential" }, + {FORMAT_GENERAL, "General" }, + {FORMAT_POWER, "Power" }, + {FORMAT_SCIENTIFIC, "Scientific" }, + {FORMAT_ENGINEERING, "Engineering" }, + {FORMAT_DDMMYY, "DD-MM-YY" }, + {FORMAT_MMDDYY, "MM-DD-YY" }, + {FORMAT_YYMMDD, "YY-MM-DD" }, + {FORMAT_MMYY, "MM-YY" }, + {FORMAT_MMDD, "MM-DD" }, + {FORMAT_MONTHDAY, "Month-DD" }, + {FORMAT_DAYMONTH, "DD-Month" }, + {FORMAT_MONTHS, "Month (abrev.)" }, + {FORMAT_MONTHSY, "Month (abrev.)-YY" }, + {FORMAT_MONTHL, "Month" }, + {FORMAT_DAYOFWEEKS, "Day of week (abrev.)"}, + {FORMAT_DAYOFWEEKL, "Day of week" }, + {FORMAT_DAYOFYEAR, "Day of year" }, + {FORMAT_HMS, "HH:MM:SS" }, + {FORMAT_MMDDHMS, "MM-DD HH:MM:SS" }, + {FORMAT_MMDDYYHMS, "MM-DD-YY HH:MM:SS" }, + {FORMAT_YYMMDDHMS, "YY-MM-DD HH:MM:SS" }, + {FORMAT_DEGREESLON, "Degrees (lon)" }, + {FORMAT_DEGREESMMLON, "DD MM' (lon)" }, + {FORMAT_DEGREESMMSSLON, "DD MM' SS.s\" (lon)" }, + {FORMAT_MMSSLON, "MM' SS.s\" (lon)" }, + {FORMAT_DEGREESLAT, "Degrees (lat)" }, + {FORMAT_DEGREESMMLAT, "DD MM' (lat)" }, + {FORMAT_DEGREESMMSSLAT, "DD MM' SS.s\" (lat)" }, + {FORMAT_MMSSLAT, "MM' SS.s\" (lat)" } + }; + + OptionStructure *CreateFormatChoice(Widget parent, char *s) + { + OptionStructure *retval; + + retval = CreateOptionChoice(parent, s, 4, 31, fmt_option_items); + + return(retval); + } + + static OptionItem as_option_items[4] = + { + {AUTOSCALE_NONE, "None"}, + {AUTOSCALE_X, "X"}, + {AUTOSCALE_Y, "Y"}, + {AUTOSCALE_XY, "XY"} + }; + + OptionStructure *CreateASChoice(Widget parent, char *s) + { + OptionStructure *retval; + + retval = CreateOptionChoice(parent, s, 1, 4, as_option_items); + /* As init value, use this */ + SetOptionChoice(retval, autoscale_onread); + + return(retval); + } + + Widget *CreatePrecisionChoice(Widget parent, char *s) + { + Widget *w; + + w = CreatePanelChoice(parent, s, + 11, + "0", "1", "2", "3", "4", + "5", "6", "7", "8", "9", + NULL, + 0); + + return(w); + } + + + Widget CreateScale(Widget parent, char *s, int min, int max, int delta) + { + Widget w; + XmString str; + + str = XmStringCreateLocalized(s); + + w = XtVaCreateManagedWidget("scroll", + xmScaleWidgetClass, parent, + XmNtitleString, str, + XmNminimum, min, + XmNmaximum, max, + XmNscaleMultiple, delta, + XmNvalue, 0, + XmNshowValue, True, + XmNprocessingDirection, XmMAX_ON_RIGHT, + XmNorientation, XmHORIZONTAL, + #if XmVersion >= 2000 + XmNsliderMark, XmROUND_MARK, + #endif + NULL); + + XmStringFree(str); + + return w; + } + + void SetScaleValue(Widget w, int value) + { + XtVaSetValues(w, XmNvalue, value, NULL); + } + + int GetScaleValue(Widget w) + { + int value; + XtVaGetValues(w, XmNvalue, &value, NULL); + return value; + } + + void SetScaleWidth(Widget w, int width) + { + XtVaSetValues(w, XmNscaleWidth, (Dimension) width, NULL); + } + + Widget CreateAngleChoice(Widget parent, char *s) + { + return CreateScale(parent, s, 0, 360, 10); + } + + int GetAngleChoice(Widget w) + { + return GetScaleValue(w); + } + + void SetAngleChoice(Widget w, int angle) + { + SetScaleValue(w, angle); + } + + Widget CreateCharSizeChoice(Widget parent, char *s) + { + return CreateScale(parent, s, 0, 1000, 25); + } + + double GetCharSizeChoice(Widget w) + { + return ((double) GetScaleValue(w)/100); + } + + void SetCharSizeChoice(Widget w, double size) + { + int value = (int) rint(size*100); + SetScaleValue(w, value); + } + + + Widget CreateToggleButton(Widget parent, char *s) + { + return (XtVaCreateManagedWidget(s, xmToggleButtonWidgetClass, parent, NULL)); + } + + int GetToggleButtonState(Widget w) + { + return (XmToggleButtonGetState(w)); + } + + void SetToggleButtonState(Widget w, int value) + { + if (w == NULL) { + return; + } + XmToggleButtonSetState(w, value ? True:False, False); + + return; + } + + typedef struct { + void (*cbproc)(); + void *anydata; + } TB_CBdata; + + static void tb_int_cb_proc(Widget w, XtPointer client_data, XtPointer call_data) + { + int onoff; + + TB_CBdata *cbdata = (TB_CBdata *) client_data; + + onoff = GetToggleButtonState(w); + cbdata->cbproc(onoff, cbdata->anydata); + } + + void AddToggleButtonCB(Widget w, TB_CBProc cbproc, void *anydata) + { + TB_CBdata *cbdata; + + cbdata = xmalloc(sizeof(TB_CBdata)); + + cbdata->cbproc = cbproc; + cbdata->anydata = anydata; + XtAddCallback(w, + XmNvalueChangedCallback, tb_int_cb_proc, (XtPointer) cbdata); + } + + Widget CreateDialogForm(Widget parent, char *s) + { + Widget dialog, w; + char *bufp; + int standalone; + + if (parent == NULL) { + standalone = TRUE; + parent = XtAppCreateShell("XMgrace", "XMgrace", + topLevelShellWidgetClass, disp, + NULL, 0); + } else { + standalone = FALSE; + } + bufp = label_to_resname(s, "Dialog"); + dialog = XmCreateDialogShell(parent, bufp, NULL, 0); + xfree(bufp); + + if (standalone) { + RegisterEditRes(dialog); + } + + handle_close(dialog); + + bufp = copy_string(NULL, "Grace: "); + bufp = concat_strings(bufp, s); + XtVaSetValues(dialog, + XmNtitle, bufp, + NULL); + xfree(bufp); + + w = XmCreateForm(dialog, "form", NULL, 0); + + return w; + } + + void SetDialogFormResizable(Widget form, int onoff) + { + XtVaSetValues(form, + XmNresizePolicy, onoff ? XmRESIZE_ANY:XmRESIZE_NONE, + NULL); + XtVaSetValues(XtParent(form), + XmNallowShellResize, onoff ? True:False, + NULL); + } + + void AddDialogFormChild(Widget form, Widget child) + { + Widget last_widget; + + XtVaGetValues(form, XmNuserData, &last_widget, NULL); + if (last_widget) { + XtVaSetValues(child, + XmNtopAttachment, XmATTACH_WIDGET, + XmNtopWidget, last_widget, + NULL); + XtVaSetValues(last_widget, + XmNbottomAttachment, XmATTACH_NONE, + NULL); + } else { + XtVaSetValues(child, + XmNtopAttachment, XmATTACH_FORM, + NULL); + } + XtVaSetValues(child, + XmNleftAttachment, XmATTACH_FORM, + XmNrightAttachment, XmATTACH_FORM, + XmNbottomAttachment, XmATTACH_FORM, + NULL); + XtVaSetValues(form, + XmNuserData, child, + NULL); + } + + typedef struct { + Widget form; + int close; + int (*cbproc)(); + void *anydata; + } AACDialog_CBdata; + + void aacdialog_int_cb_proc(void *data) + { + AACDialog_CBdata *cbdata; + int retval; + + set_wait_cursor(); + + cbdata = (AACDialog_CBdata *) data; + + retval = cbdata->cbproc(cbdata->anydata); + + if (cbdata->close && retval == RETURN_SUCCESS) { + XtUnmanageChild(XtParent(cbdata->form)); + } + + unset_wait_cursor(); + } + + void CreateAACDialog(Widget form, + Widget container, AACDialog_CBProc cbproc, void *data) + { + Widget fr, aacbut[3]; + AACDialog_CBdata *cbdata_accept, *cbdata_apply; + char *aaclab[3] = {"Apply", "Accept", "Close"}; + + fr = CreateFrame(form, NULL); + XtVaSetValues(fr, + XmNtopAttachment, XmATTACH_NONE, + XmNleftAttachment, XmATTACH_FORM, + XmNrightAttachment, XmATTACH_FORM, + XmNbottomAttachment, XmATTACH_FORM, + NULL); + CreateCommandButtons(fr, 3, aacbut, aaclab); + + AddDialogFormChild(form, container); + XtVaSetValues(container, + XmNbottomAttachment, XmATTACH_WIDGET, + XmNbottomWidget, fr, + NULL); + + XtVaSetValues(form, XmNcancelButton, aacbut[2], NULL); + + cbdata_accept = xmalloc(sizeof(AACDialog_CBdata)); + cbdata_accept->form = form; + cbdata_accept->anydata = data; + cbdata_accept->cbproc = cbproc; + cbdata_accept->close = TRUE; + + cbdata_apply = xmalloc(sizeof(AACDialog_CBdata)); + cbdata_apply->form = form; + cbdata_apply->anydata = data; + cbdata_apply->cbproc = cbproc; + cbdata_apply->close = FALSE; + + AddButtonCB(aacbut[0], aacdialog_int_cb_proc, cbdata_apply); + AddButtonCB(aacbut[1], aacdialog_int_cb_proc, cbdata_accept); + AddButtonCB(aacbut[2], destroy_dialog_cb, XtParent(form)); + + XtManageChild(container); + XtManageChild(form); + } + + TransformStructure *CreateTransformDialogForm(Widget parent, + char *s, int sel_type) + { + TransformStructure *retval; + + retval = xmalloc(sizeof(TransformStructure)); + + retval->form = CreateDialogForm(parent, s); + + retval->srcdest = CreateSrcDestSelector(retval->form, sel_type); + AddDialogFormChild(retval->form, retval->srcdest->form); + + /* + * retval->restr = CreateRestrictionChoice(retval->form, "Source data filtering"); + * AddDialogFormChild(retval->form, retval->restr->frame); + */ + + return retval; + } + + int GetTransformDialogSettings(TransformStructure *tdialog, int exclusive, + int *gsrc, int *gdest, + int *nssrc, int **svaluessrc, int *nsdest, int **svaluesdest) + { + int gsrc_ok, gdest_ok; + + gsrc_ok = GetSingleListChoice(tdialog->srcdest->src->graph_sel, gsrc); + gdest_ok = GetSingleListChoice(tdialog->srcdest->dest->graph_sel, gdest); + if (gsrc_ok == RETURN_FAILURE || gdest_ok == RETURN_FAILURE) { + errmsg("Please select single source and destination graphs"); + return RETURN_FAILURE; + } + + *nssrc = GetListChoices(tdialog->srcdest->src->set_sel, svaluessrc); + if (*nssrc == 0) { + errmsg("No source sets selected"); + return RETURN_FAILURE; + } + *nsdest = GetListChoices(tdialog->srcdest->dest->set_sel, svaluesdest); + if (*nsdest != 0 && *nssrc != *nsdest) { + errmsg("Different number of source and destination sets"); + xfree(*svaluessrc); + xfree(*svaluesdest); + return RETURN_FAILURE; + } + + /* check for mutually exclusive selections */ + if (exclusive && *gsrc == *gdest && *nsdest != 0) { + int i; + for (i = 0; i < *nssrc; i++) { + if ((*svaluessrc)[i] == (*svaluesdest)[i]) { + xfree(*svaluessrc); + xfree(*svaluesdest); + errmsg("Source and destination set(s) are not mutually exclusive"); + return RETURN_FAILURE; + } + } + } + + return RETURN_SUCCESS; + } + + Widget CreateVContainer(Widget parent) + { + Widget rc; + + rc = XmCreateRowColumn(parent, "VContainer", NULL, 0); + XtManageChild(rc); + + return rc; + } + + Widget CreateHContainer(Widget parent) + { + Widget rc; + + rc = XmCreateRowColumn(parent, "HContainer", NULL, 0); + XtVaSetValues(rc, XmNorientation, XmHORIZONTAL, NULL); + XtManageChild(rc); + + return rc; + } + + + Widget CreateFrame(Widget parent, char *s) + { + Widget fr; + + fr = XtVaCreateManagedWidget("frame", xmFrameWidgetClass, parent, NULL); + if (s != NULL) { + XtVaCreateManagedWidget(s, xmLabelGadgetClass, fr, + XmNchildType, XmFRAME_TITLE_CHILD, + NULL); + } + + return (fr); + } + + + typedef struct { + int ncols; + int nrows; + } GridData; + + Widget CreateGrid(Widget parent, int ncols, int nrows) + { + Widget w; + int nfractions; + GridData *gd; + + if (ncols <= 0 || nrows <= 0) { + errmsg("Wrong call to CreateGrid()"); + ncols = 1; + nrows = 1; + } + + nfractions = 0; + do { + nfractions++; + } while (nfractions % ncols || nfractions % nrows); + + gd = xmalloc(sizeof(GridData)); + gd->ncols = ncols; + gd->nrows = nrows; + + w = XmCreateForm(parent, "grid_form", NULL, 0); + XtVaSetValues(w, + XmNfractionBase, nfractions, + XmNuserData, gd, + NULL); + + XtManageChild(w); + return w; + } + + void PlaceGridChild(Widget grid, Widget w, int col, int row) + { + int nfractions, w1, h1; + GridData *gd; + + XtVaGetValues(grid, + XmNfractionBase, &nfractions, + XmNuserData, &gd, + NULL); + + if (gd == NULL) { + errmsg("PlaceGridChild() called with a non-grid widget"); + return; + } + if (col < 0 || col >= gd->ncols) { + errmsg("PlaceGridChild() called with wrong `col' argument"); + return; + } + if (row < 0 || row >= gd->nrows) { + errmsg("PlaceGridChild() called with wrong `row' argument"); + return; + } + + w1 = nfractions/gd->ncols; + h1 = nfractions/gd->nrows; + + XtVaSetValues(w, + XmNleftAttachment , XmATTACH_POSITION, + XmNleftPosition , col*w1 , + XmNrightAttachment , XmATTACH_POSITION, + XmNrightPosition , (col + 1)*w1 , + XmNtopAttachment , XmATTACH_POSITION, + XmNtopPosition , row*h1 , + XmNbottomAttachment, XmATTACH_POSITION, + XmNbottomPosition , (row + 1)*h1 , + NULL); + } + + + Widget CreateTab(Widget parent) + { + Widget tab; + + tab = XtVaCreateManagedWidget("tab", xmTabWidgetClass, parent, NULL); + + return (tab); + } + + Widget CreateTabPage(Widget parent, char *s) + { + Widget w; + XmString str; + + w = XmCreateRowColumn(parent, "tabPage", NULL, 0); + str = XmStringCreateLocalized(s); + XtVaSetValues(w, XmNtabLabel, str, NULL); + XmStringFree(str); + XtManageChild(w); + + return (w); + } + + void SelectTabPage(Widget tab, Widget w) + { + XmTabSetTabWidget(tab, w, True); + } + + Widget CreateTextItem2(Widget parent, int len, char *s) + { + Widget w; + Widget rc; + XmString str; + rc = XmCreateRowColumn(parent, "rc", NULL, 0); + XtVaSetValues(rc, XmNorientation, XmHORIZONTAL, NULL); + str = XmStringCreateLocalized(s); + XtVaCreateManagedWidget("label", xmLabelWidgetClass, rc, + XmNlabelString, str, + NULL); + XmStringFree(str); + w = XtVaCreateManagedWidget("text", xmTextWidgetClass, rc, + XmNtraversalOn, True, + XmNcolumns, len, + NULL); + XtManageChild(rc); + return w; + } + + Widget CreateTextItem4(Widget parent, int len, char *label) + { + Widget retval; + XtVaCreateManagedWidget(label, xmLabelWidgetClass, parent, NULL); + retval = XtVaCreateManagedWidget("text", + xmTextWidgetClass, parent, + XmNcolumns, len, + NULL); + return retval; + } + + + /* + * create a multiline editable window + * parent = parent widget + * hgt = number of lines in edit window + * s = label for window + * + * returns the edit window widget + */ + Widget CreateScrollTextItem2(Widget parent, int hgt, char *s) + { + Widget w, form, label; + XmString str; + Arg args[4]; + int ac; + + form = XmCreateForm(parent, "form", NULL, 0); + + str = XmStringCreateLocalized(s); + label = XtVaCreateManagedWidget("label", + xmLabelWidgetClass, form, + XmNlabelString, str, + XmNtopAttachment, XmATTACH_FORM, + XmNleftAttachment, XmATTACH_FORM, + XmNrightAttachment, XmATTACH_FORM, + NULL); + XmStringFree(str); + + ac = 0; + if (hgt > 0) { + XtSetArg(args[ac], XmNrows, hgt); ac++; + } + XtSetArg(args[ac], XmNeditMode, XmMULTI_LINE_EDIT); ac++; + XtSetArg(args[ac], XmNwordWrap, True); ac++; + XtSetArg(args[ac], XmNvisualPolicy, XmVARIABLE); ac++; + w = XmCreateScrolledText(form, "text", args, ac); + XtVaSetValues(XtParent(w), + XmNtopAttachment, XmATTACH_WIDGET, + XmNtopWidget, label, + XmNleftAttachment, XmATTACH_FORM, + XmNrightAttachment, XmATTACH_FORM, + XmNbottomAttachment, XmATTACH_FORM, + NULL); + XtManageChild(w); + + XtManageChild(form); + return w; + } + + + char *xv_getstr(Widget w) + /* + * return the string from a text widget + * + * NB - newlines are converted to spaces + */ + { + char *s; + int i; + static char buf[MAX_STRING_LENGTH]; + + strncpy(buf, s = XmTextGetString(w), MAX_STRING_LENGTH - 1); + XtFree(s); + + i=strlen(buf); + for (i--; i >= 0; i--) { + if (buf[i] == '\n') { + buf[i] = ' '; + } + } + return buf; + } + + + /* + * xv_evalexpr - take a text field and pass it to the parser if it needs to + * evaluated, else use atof(). + * place the double result in answer + * if an error, return False, else True + */ + Boolean xv_evalexpr(Widget w, double *answer ) + { + char *s; + static char *buf = NULL; + int i, len, ier = 0; + double result; + + buf = copy_string(buf, s = XmTextGetString(w)); + XtFree(s); + + if (!(len = strlen( buf ) )) { /* check for zero length */ + *answer = 0; + return RETURN_FAILURE; + } + /* first character may be a sign */ + if (!fpdigit[(int) buf[0]] && buf[0] != '-' && buf[0] != '+') { + i = len +1; + } else { + i = 1; + } + + for (; ireason; + + keep_grab = False; + + XtRemoveGrab(XtParent(w)); + XtUnmanageChild(w); + switch (why) { + case XmCR_OK: + yesno_retval = 1; + /* process ok action */ + break; + case XmCR_CANCEL: + yesno_retval = 0; + /* process cancel action */ + break; + } + } + + static void update_yesno(Widget w, char *msg, char *ha) + { + Widget hb; + XmString str; + + if (msg != NULL) { + str = XmStringCreateLocalized(msg); + } else { + str = XmStringCreateLocalized("Warning"); + } + XtVaSetValues(w, XmNmessageString, str, NULL); + XmStringFree(str); + + hb = XtNameToWidget(w, "Help"); + if (ha) { + AddButtonCB(hb, HelpCB, ha); + XtSetSensitive(hb, True); + } else { + XtSetSensitive(hb, False); + } + } + + int yesnowin(char *msg, char *s1, char *s2, char *help_anchor) + { + static Widget yesno_popup = NULL; + XEvent event; + + keep_grab = True; + + if (yesno_popup == NULL) { + yesno_popup = XmCreateErrorDialog(app_shell, "warndlg", NULL, 0); + + XtAddCallback(yesno_popup, XmNokCallback, yesnoCB, NULL); + XtAddCallback(yesno_popup, XmNcancelCallback, yesnoCB, NULL); + } + update_yesno(yesno_popup, msg, help_anchor); + RaiseWindow(yesno_popup); + + XtAddGrab(XtParent(yesno_popup), True, False); + while (keep_grab || XtAppPending(app_con)) { + XtAppNextEvent(app_con, &event); + XtDispatchEvent(&event); + } + return yesno_retval; + } + + + Widget CreateAACButtons(Widget parent, Widget form, Button_CBProc aac_cb) + { + Widget w; + Widget aacbut[3]; + static char *aaclab[3] = {"Apply", "Accept", "Close"}; + + w = CreateCommandButtons(parent, 3, aacbut, aaclab); + AddButtonCB(aacbut[0], aac_cb, (void *) AAC_APPLY); + AddButtonCB(aacbut[1], aac_cb, (void *) AAC_ACCEPT); + AddButtonCB(aacbut[2], aac_cb, (void *) AAC_CLOSE); + + if (form != NULL) { + XtVaSetValues(form, XmNcancelButton, aacbut[2], NULL); + } + + return w; + } + + void SetLabel(Widget w, char *s) + { + XmString str; + + str = XmStringCreateLocalized(s); + XtVaSetValues(w, XmNlabelString, str, NULL); + XmStringFree(str); + } + + void SetFixedFont(Widget w) + { + XFontStruct *f; + XmFontList xmf; + + f = XLoadQueryFont(disp, "fixed"); + xmf = XmFontListCreate(f, charset); + if (xmf == NULL) { + errmsg("Can't load font \"fixed\""); + return; + } else { + XtVaSetValues(w, XmNfontList, xmf, NULL); + XmFontListFree(xmf); + } + } + + char *GetStringSimple(XmString xms) + { + char *s; + + if (XmStringGetLtoR(xms, charset, &s)) { + return s; + } else { + return NULL; + } + } + + extern int ReqUpdateColorSel; + + void update_all(void) + { + int gno = get_cg(); + + if (!inwin) { + return; + } + + update_set_lists(gno); + + update_set_selectors(ALL_GRAPHS); + update_ss_editors(ALL_GRAPHS); + + if (ReqUpdateColorSel == TRUE) { + update_color_selectors(); + ReqUpdateColorSel = FALSE; + } + + update_ticks(gno); + update_props_items(); + update_hotlinks(); + update_prune_frame(); + update_locator_items(gno); + set_stack_message(); + set_left_footer(NULL); + } + + void update_all_cb(void *data) + { + update_all(); + } diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/plotwin.c ../grace-5.1.12iu/src/plotwin.c *** ./src/plotwin.c 2000-07-12 16:31:48.000000000 -0600 --- ../grace-5.1.12iu/src/plotwin.c 2003-02-24 16:36:56.000000000 -0700 *************** *** 57,71 **** --- 57,84 ---- static OptionStructure *timestamp_color_item; Widget timestamp_x_item; Widget timestamp_y_item; + static Widget instantupdate_item; + static int instantupdate=0; static int plot_define_notify_proc(void *data); static void update_plot_items(void); + + void oc_plot_cb( int a, void *data ) + { + plot_define_notify_proc( data ); + } + void create_plot_frame_cb(void *data) { create_plot_frame(); } + void plotwin_iu(int a, void *data) + { + instantupdate = a; + } + void create_plot_frame(void) { set_wait_cursor(); *************** *** 77,97 **** --- 90,132 ---- panel = CreateVContainer(plot_frame); + instantupdate_item = CreateToggleButton(panel, "Instant update"); + SetToggleButtonState( instantupdate_item, instantupdate ); + AddToggleButtonCB(instantupdate_item, (TB_CBProc)plotwin_iu, NULL); + fr = CreateFrame(panel, "Page background"); rc = CreateHContainer(fr); bg_color_item = CreateColorChoice(rc, "Color:"); + AddOptionChoiceCB( bg_color_item, (TB_CBProc)oc_plot_cb, + (void *)bg_color_item); bg_fill_item = CreateToggleButton(rc, "Fill"); + AddToggleButtonCB( bg_fill_item, (TB_CBProc)oc_plot_cb, + (void *)bg_fill_item); fr = CreateFrame(panel, "Time stamp"); rc = CreateVContainer(fr); timestamp_active_item = CreateToggleButton(rc, "Enable"); + AddToggleButtonCB( timestamp_active_item, (TB_CBProc)oc_plot_cb, + (void *)timestamp_active_item); timestamp_font_item = CreateFontChoice(rc, "Font:"); + AddOptionChoiceCB( timestamp_font_item, (TB_CBProc)oc_plot_cb, + (void *)timestamp_font_item); timestamp_color_item = CreateColorChoice(rc, "Color:"); + AddOptionChoiceCB( timestamp_color_item, (TB_CBProc)oc_plot_cb, + (void *)timestamp_color_item); timestamp_size_item = CreateCharSizeChoice(rc, "Character size"); + AddScaleCB( timestamp_size_item, (Scale_CBProc)oc_plot_cb, + (void *)timestamp_size_item); timestamp_rotate_item = CreateAngleChoice(rc, "Angle"); + AddScaleCB( timestamp_rotate_item, (Scale_CBProc)oc_plot_cb, + (void *)timestamp_rotate_item); timestamp_x_item = CreateTextItem2(rc, 10, "Timestamp X:"); + AddTextItem2CB( timestamp_x_item, (Button_CBProc)plot_define_notify_proc, + (void *)timestamp_x_item); timestamp_y_item = CreateTextItem2(rc, 10, "Timestamp Y:"); + AddTextItem2CB( timestamp_y_item, (Button_CBProc)plot_define_notify_proc, + (void *)timestamp_y_item); CreateAACDialog(plot_frame, panel, plot_define_notify_proc, NULL); } *************** *** 126,143 **** static int plot_define_notify_proc(void *data) { setbgcolor(GetOptionChoice(bg_color_item)); setbgfill(GetToggleButtonState(bg_fill_item)); timestamp.active = GetToggleButtonState(timestamp_active_item); timestamp.font = GetOptionChoice(timestamp_font_item); timestamp.color = GetOptionChoice(timestamp_color_item); timestamp.charsize = GetCharSizeChoice(timestamp_size_item); ! timestamp.rot = GetAngleChoice(timestamp_rotate_item); xv_evalexpr(timestamp_x_item, ×tamp.x); xv_evalexpr(timestamp_y_item, ×tamp.y); set_dirtystate(); xdrawgraph(); --- 161,190 ---- static int plot_define_notify_proc(void *data) { + if(!instantupdate && data!=NULL) + return RETURN_SUCCESS; + + if(data==bg_color_item || data==NULL) setbgcolor(GetOptionChoice(bg_color_item)); + if(data==bg_fill_item || data==NULL) setbgfill(GetToggleButtonState(bg_fill_item)); + if(data==timestamp_active_item || data==NULL) timestamp.active = GetToggleButtonState(timestamp_active_item); + if(data==timestamp_font_item || data==NULL) timestamp.font = GetOptionChoice(timestamp_font_item); + if(data==timestamp_color_item || data==NULL) timestamp.color = GetOptionChoice(timestamp_color_item); + if(data==timestamp_size_item || data==NULL) timestamp.charsize = GetCharSizeChoice(timestamp_size_item); ! if(data==timestamp_rotate_item || data==NULL) ! timestamp.rot = (double) GetAngleChoice(timestamp_rotate_item); + if(data==timestamp_x_item || data==NULL) xv_evalexpr(timestamp_x_item, ×tamp.x); + if(data==timestamp_y_item || data==NULL) xv_evalexpr(timestamp_y_item, ×tamp.y); set_dirtystate(); xdrawgraph(); diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/regionwin.c ../grace-5.1.12iu/src/regionwin.c *** ./src/regionwin.c 2002-08-27 13:58:52.000000000 -0600 --- ../grace-5.1.12iu/src/regionwin.c 2003-02-24 16:36:56.000000000 -0700 *************** *** 60,67 **** static void do_clear_region(Widget w, XtPointer client_data, XtPointer call_data); ! static Widget *define_region_item; ! static Widget *define_type_item; static char buf[256]; --- 60,67 ---- static void do_clear_region(Widget w, XtPointer client_data, XtPointer call_data); ! static OptionStructure *define_region_item; ! static OptionStructure *define_type_item; static char buf[256]; *************** *** 126,132 **** unset_wait_cursor(); } ! static Widget *clear_region_item; static void do_clear_region(Widget w, XtPointer client_data, XtPointer call_data) { --- 126,132 ---- unset_wait_cursor(); } ! static OptionStructure *clear_region_item; static void do_clear_region(Widget w, XtPointer client_data, XtPointer call_data) { *************** *** 216,223 **** unset_wait_cursor(); } ! static Widget *reporton_region_item; ! static Widget *reporton_type_item; static void do_reporton_region(Widget w, XtPointer client_data, XtPointer call_data) { --- 216,223 ---- unset_wait_cursor(); } ! static OptionStructure *reporton_region_item; ! static OptionStructure *reporton_type_item; static void do_reporton_region(Widget w, XtPointer client_data, XtPointer call_data) { diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/rstdrv.c ../grace-5.1.12iu/src/rstdrv.c *** ./src/rstdrv.c 2002-12-11 14:24:35.000000000 -0700 --- ../grace-5.1.12iu/src/rstdrv.c 2003-02-24 16:36:56.000000000 -0700 *************** *** 1001,1007 **** static int set_pnm_setup_proc(void *data); static Widget pnm_setup_frame; static Widget pnm_setup_rawbits_item; ! static Widget *pnm_setup_format_item; #ifdef HAVE_LIBPNG static void update_png_setup_frame(void); --- 1001,1007 ---- static int set_pnm_setup_proc(void *data); static Widget pnm_setup_frame; static Widget pnm_setup_rawbits_item; ! static OptionStructure *pnm_setup_format_item; #ifdef HAVE_LIBPNG static void update_png_setup_frame(void); *************** *** 1110,1116 **** static Widget jpg_setup_progressive_item; static SpinStructure *jpg_setup_quality_item; static SpinStructure *jpg_setup_smoothing_item; ! static Widget *jpg_setup_dct_item; void jpg_gui_setup(void) { --- 1110,1116 ---- static Widget jpg_setup_progressive_item; static SpinStructure *jpg_setup_quality_item; static SpinStructure *jpg_setup_smoothing_item; ! static OptionStructure *jpg_setup_dct_item; void jpg_gui_setup(void) { *************** *** 1141,1147 **** "Fast integer", "Slow integer", "Float", ! 0, 0); CreateAACDialog(jpg_setup_frame, jpg_setup_rc, set_jpg_setup_proc, NULL); } --- 1141,1147 ---- "Fast integer", "Slow integer", "Float", ! 0, 0); CreateAACDialog(jpg_setup_frame, jpg_setup_rc, set_jpg_setup_proc, NULL); } diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/setappwin.c ../grace-5.1.12iu/src/setappwin.c *** ./src/setappwin.c 2003-02-21 14:36:49.000000000 -0700 --- ../grace-5.1.12iu/src/setappwin.c 2003-02-26 10:54:42.000000000 -0700 *************** *** 64,70 **** static Widget duplegs_item; static OptionStructure *type_item; ! static Widget *toggle_symbols_item; static Widget symsize_item; static SpinStructure *symskip_item; static OptionStructure *symcolor_item; --- 64,70 ---- static Widget duplegs_item; static OptionStructure *type_item; ! static OptionStructure *toggle_symbols_item; static Widget symsize_item; static SpinStructure *symskip_item; static OptionStructure *symcolor_item; *************** *** 81,99 **** static SpinStructure *toggle_width_item; static Widget dropline_item; static OptionStructure *toggle_lines_item; ! static Widget *toggle_linet_item; ! static Widget *toggle_filltype_item; ! static Widget *toggle_fillrule_item; static OptionStructure *toggle_fillpat_item; static OptionStructure *toggle_fillcol_item; static ListStructure *toggle_symset_item; static Widget baseline_item; ! static Widget *baselinetype_item; static TextStructure *legend_str_item; static Widget errbar_active_item; ! static Widget *errbar_ptype_item; static OptionStructure *errbar_color_item; static OptionStructure *errbar_pattern_item; static Widget errbar_size_item; --- 81,99 ---- static SpinStructure *toggle_width_item; static Widget dropline_item; static OptionStructure *toggle_lines_item; ! static OptionStructure *toggle_linet_item; ! static OptionStructure *toggle_filltype_item; ! static OptionStructure *toggle_fillrule_item; static OptionStructure *toggle_fillpat_item; static OptionStructure *toggle_fillcol_item; static ListStructure *toggle_symset_item; static Widget baseline_item; ! static OptionStructure *baselinetype_item; static TextStructure *legend_str_item; static Widget errbar_active_item; ! static OptionStructure *errbar_ptype_item; static OptionStructure *errbar_color_item; static OptionStructure *errbar_pattern_item; static Widget errbar_size_item; *************** *** 105,129 **** static SpinStructure *errbar_cliplen_item; static Widget avalue_active_item; ! static Widget *avalue_type_item; static OptionStructure *avalue_font_item; static OptionStructure *avalue_color_item; static Widget avalue_charsize_item ; static Widget avalue_angle_item; static OptionStructure *avalue_format_item; ! static Widget *avalue_precision_item; static Widget avalue_offsetx; static Widget avalue_offsety; static Widget avalue_prestr; static Widget avalue_appstr; static Widget csync_item; static void UpdateSymbols(int gno, int value); static void set_cset_proc(int n, int *values, void *data); static int setapp_aac_cb(void *data); static void setapp_data_proc(void *data); static void csync_cb(int value, void *data); /* * create the symbols popup --- 105,151 ---- static SpinStructure *errbar_cliplen_item; static Widget avalue_active_item; ! static OptionStructure *avalue_type_item; static OptionStructure *avalue_font_item; static OptionStructure *avalue_color_item; static Widget avalue_charsize_item ; static Widget avalue_angle_item; static OptionStructure *avalue_format_item; ! static OptionStructure *avalue_precision_item; static Widget avalue_offsetx; static Widget avalue_offsety; static Widget avalue_prestr; static Widget avalue_appstr; static Widget csync_item; + static Widget instantupdate_item; + static int instantupdate=0; static void UpdateSymbols(int gno, int value); static void set_cset_proc(int n, int *values, void *data); static int setapp_aac_cb(void *data); static void setapp_data_proc(void *data); static void csync_cb(int value, void *data); + static int oc_setapp_cb( int c, void *data ); + int sp_setapp_cb( double a, void *data ); + + /* + * callback functions to do incremental set appearance updates + */ + static int oc_setapp_cb( int c, void *data ) + { + return setapp_aac_cb( data ); + } + + int sp_setapp_cb( double a, void *data ) + { + return setapp_aac_cb( data ); + } + + void setwin_iu( int a, void *data ) + { + instantupdate = a; + } /* * create the symbols popup *************** *** 175,180 **** --- 197,205 ---- "Duplicate legends", 'D', NULL, NULL); csync_item = CreateMenuToggle(menupane, "Color sync", 's', NULL, NULL); SetToggleButtonState(csync_item, TRUE); + instantupdate_item = CreateMenuToggle(menupane, "Instantaneous update", + 'u', setwin_iu, NULL); + SetToggleButtonState(instantupdate_item, instantupdate); menupane = CreateMenu(menubar, "Help", 'H', TRUE); CreateMenuHelpButton(menupane, "On set appearance", 's', *************** *** 196,202 **** setapp_main = CreateTabPage(setapp_tab, "Main"); fr = CreateFrame(setapp_main, "Set presentation"); ! type_item = CreateSetTypeChoice(fr, "Type:"); rc2 = CreateHContainer(setapp_main); --- 221,229 ---- setapp_main = CreateTabPage(setapp_tab, "Main"); fr = CreateFrame(setapp_main, "Set presentation"); ! type_item = CreateSetTypeChoice(fr, "Type:"); ! AddOptionChoiceCB( type_item, (OC_CBProc)oc_setapp_cb, ! type_item ); rc2 = CreateHContainer(setapp_main); *************** *** 219,228 **** --- 246,263 ---- "Char", /* 11 */ NULL, 0); + AddChoiceCB( toggle_symbols_item, (OC_CBProc)oc_setapp_cb, + (void *)toggle_symbols_item); symsize_item = CreateCharSizeChoice(rc, "Size"); + AddScaleCB( symsize_item, (Scale_CBProc)oc_setapp_cb, + (void *)symsize_item); symcolor_item = CreateColorChoice(rc, "Color:"); AddOptionChoiceCB(symcolor_item, csync_cb, (void *) CSYNC_SYM); + AddOptionChoiceCB(symcolor_item, (OC_CBProc)oc_setapp_cb, + (void *)symcolor_item ); symchar_item = CreateTextItem2(rc, 3, "Symbol char:"); + AddTextItem2CB( symchar_item, (Button_CBProc)setapp_aac_cb, + (void *)symchar_item ); fr = CreateFrame(rc2, "Line properties"); rc = CreateVContainer(fr); *************** *** 236,253 **** "3-Segments", NULL, 0); toggle_lines_item = CreateLineStyleChoice(rc, "Style:"); toggle_width_item = CreateLineWidthChoice(rc, "Width:"); toggle_color_item = CreateColorChoice(rc, "Color:"); ! AddOptionChoiceCB(toggle_color_item, csync_cb, (void *) CSYNC_LINE); fr = CreateFrame(setapp_main, "Legend"); legend_str_item = CreateCSText(fr, "String:"); fr = CreateFrame(setapp_main, "Display options"); rc2 = CreateHContainer(fr); avalue_active_item = CreateToggleButton(rc2, "Annotate values"); errbar_active_item = CreateToggleButton(rc2, "Display error bars"); /* ------------ Symbols tab -------------- */ --- 271,302 ---- "3-Segments", NULL, 0); + AddChoiceCB(toggle_linet_item, (OC_CBProc)oc_setapp_cb, + (void *)toggle_linet_item); toggle_lines_item = CreateLineStyleChoice(rc, "Style:"); + AddOptionChoiceCB( toggle_lines_item, (OC_CBProc)oc_setapp_cb, + (void *)toggle_lines_item); toggle_width_item = CreateLineWidthChoice(rc, "Width:"); + AddSpinButtonCB( toggle_width_item, (Spin_CBProc)sp_setapp_cb, + (void *)toggle_width_item); toggle_color_item = CreateColorChoice(rc, "Color:"); ! AddOptionChoiceCB( toggle_color_item, csync_cb, (void *)CSYNC_LINE); ! AddOptionChoiceCB( toggle_color_item, (OC_CBProc)oc_setapp_cb, ! (void *)toggle_color_item); fr = CreateFrame(setapp_main, "Legend"); legend_str_item = CreateCSText(fr, "String:"); + AddTextInputCB( legend_str_item, (Button_CBProc)setapp_aac_cb, + (void *)legend_str_item); fr = CreateFrame(setapp_main, "Display options"); rc2 = CreateHContainer(fr); avalue_active_item = CreateToggleButton(rc2, "Annotate values"); + AddToggleButtonCB( avalue_active_item, (TB_CBProc)oc_setapp_cb, + avalue_active_item ); errbar_active_item = CreateToggleButton(rc2, "Display error bars"); + AddToggleButtonCB( errbar_active_item, (OC_CBProc)oc_setapp_cb, + &errbar_active_item ); /* ------------ Symbols tab -------------- */ *************** *** 259,278 **** rc2 = CreateHContainer(rc); symlines_item = CreateLineStyleChoice(rc2, "Style:"); symlinew_item = CreateLineWidthChoice(rc2, "Width:"); sympattern_item = CreatePatternChoice(rc, "Pattern:"); fr = CreateFrame(setapp_symbols, "Symbol fill"); rc = CreateHContainer(fr); symfillcolor_item = CreateColorChoice(rc, "Color:"); symfillpattern_item = CreatePatternChoice(rc, "Pattern:"); fr = CreateFrame(setapp_symbols, "Extra"); rc = CreateVContainer(fr); symskip_item = CreateSpinChoice(rc, "Symbol skip:", 5, SPIN_TYPE_INT, (double) 0, (double) 100000, (double) 1); char_font_item = CreateFontChoice(rc, "Font for char symbol:"); ! /* ------------ Line tab -------------- */ --- 308,339 ---- rc2 = CreateHContainer(rc); symlines_item = CreateLineStyleChoice(rc2, "Style:"); + AddOptionChoiceCB( symlines_item, (OC_CBProc)oc_setapp_cb, (void *)symlines_item ); symlinew_item = CreateLineWidthChoice(rc2, "Width:"); + AddSpinButtonCB( symlinew_item, (Spin_CBProc)sp_setapp_cb, + (void *)symlinew_item ); sympattern_item = CreatePatternChoice(rc, "Pattern:"); + AddOptionChoiceCB( sympattern_item, (OC_CBProc)oc_setapp_cb, + (void *)sympattern_item ); fr = CreateFrame(setapp_symbols, "Symbol fill"); rc = CreateHContainer(fr); symfillcolor_item = CreateColorChoice(rc, "Color:"); + AddOptionChoiceCB( symfillcolor_item, (OC_CBProc)oc_setapp_cb, + (void *)symfillcolor_item ); symfillpattern_item = CreatePatternChoice(rc, "Pattern:"); + AddOptionChoiceCB( symfillpattern_item, (OC_CBProc)oc_setapp_cb, + (void *)symfillpattern_item ); fr = CreateFrame(setapp_symbols, "Extra"); rc = CreateVContainer(fr); symskip_item = CreateSpinChoice(rc, "Symbol skip:", 5, SPIN_TYPE_INT, (double) 0, (double) 100000, (double) 1); + AddSpinButtonCB( symskip_item, (Spin_CBProc)sp_setapp_cb, + (void *)(&symskip_item) ); char_font_item = CreateFontChoice(rc, "Font for char symbol:"); ! AddOptionChoiceCB( char_font_item, (OC_CBProc)oc_setapp_cb, ! (void *)char_font_item ); /* ------------ Line tab -------------- */ *************** *** 281,287 **** --- 342,352 ---- fr = CreateFrame(setapp_line, "Line properties"); rc = CreateHContainer(fr); toggle_pattern_item = CreatePatternChoice(rc, "Pattern:"); + AddOptionChoiceCB( toggle_pattern_item, (OC_CBProc)oc_setapp_cb, + (void *)toggle_pattern_item ); dropline_item = CreateToggleButton(rc, "Draw drop lines"); + AddToggleButtonCB( dropline_item, (OC_CBProc)oc_setapp_cb, + (void *)dropline_item ); fr = CreateFrame(setapp_line, "Fill properties"); rc = CreateVContainer(fr); *************** *** 293,307 **** --- 358,380 ---- "To baseline", NULL, 0); + AddChoiceCB(toggle_filltype_item, (OC_CBProc)oc_setapp_cb, + (void *)toggle_filltype_item); toggle_fillrule_item = CreatePanelChoice(rc2, "Rule:", 3, "Winding", "Even-Odd", NULL, 0); + AddChoiceCB(toggle_fillrule_item, (OC_CBProc)oc_setapp_cb, + (void *)toggle_fillrule_item); rc2 = CreateHContainer(rc); toggle_fillpat_item = CreatePatternChoice(rc2, "Pattern:"); + AddOptionChoiceCB( toggle_fillpat_item, (OC_CBProc)oc_setapp_cb, + (void *)toggle_fillpat_item ); toggle_fillcol_item = CreateColorChoice(rc2, "Color:"); + AddOptionChoiceCB( toggle_fillcol_item, (OC_CBProc)oc_setapp_cb, + (void *)toggle_fillcol_item ); fr = CreateFrame(setapp_line, "Base line"); rc = CreateHContainer(fr); *************** *** 315,321 **** --- 388,398 ---- "Set average", NULL, 0); + AddOptionChoiceCB( baselinetype_item, (OC_CBProc)oc_setapp_cb, + (void *)baselinetype_item ); baseline_item = CreateToggleButton(rc, "Draw line"); + AddToggleButtonCB( baseline_item, (OC_CBProc)oc_setapp_cb, + (void *)baseline_item ); /* ------------ AValue tab -------------- */ *************** *** 327,348 **** --- 404,439 ---- rc2 = CreateHContainer(rc); avalue_font_item = CreateFontChoice(rc2, "Font:"); + AddOptionChoiceCB( avalue_font_item, (OC_CBProc)oc_setapp_cb, + avalue_font_item); avalue_charsize_item = CreateCharSizeChoice(rc2, "Char size"); SetScaleWidth(avalue_charsize_item, 120); + AddScaleCB( avalue_charsize_item, (OC_CBProc)oc_setapp_cb, + avalue_charsize_item ); rc2 = CreateHContainer(rc); avalue_color_item = CreateColorChoice(rc2, "Color:"); + AddOptionChoiceCB( avalue_color_item, (OC_CBProc)oc_setapp_cb, + (void *) avalue_color_item); avalue_angle_item = CreateAngleChoice(rc2, "Angle"); SetScaleWidth(avalue_angle_item, 180); + AddScaleCB( avalue_angle_item, (OC_CBProc)oc_setapp_cb, + (void *)avalue_angle_item ); rc2 = CreateHContainer(rc); avalue_prestr = CreateTextItem2(rc2, 10, "Prepend:"); + AddTextItem2CB( avalue_prestr, (Button_CBProc)setapp_aac_cb, + (void *)avalue_prestr ); avalue_appstr = CreateTextItem2(rc2, 10, "Append:"); + AddTextItem2CB( avalue_appstr, (Button_CBProc)setapp_aac_cb, + (void *)avalue_appstr ); fr = CreateFrame(setapp_avalue, "Format options"); rc = CreateVContainer(fr); rc2 = CreateHContainer(rc); avalue_format_item = CreateFormatChoice(rc, "Format:"); + AddOptionChoiceCB( avalue_format_item, (OC_CBProc)oc_setapp_cb, + (void *) avalue_format_item); avalue_type_item = CreatePanelChoice(rc2, "Type:", 7, "None", *************** *** 353,364 **** --- 444,463 ---- "Z", NULL, 0); + AddChoiceCB(avalue_type_item, (OC_CBProc)oc_setapp_cb, + avalue_type_item ); avalue_precision_item = CreatePrecisionChoice(rc2, "Precision:"); + AddChoiceCB(avalue_precision_item, (OC_CBProc)oc_setapp_cb, + avalue_precision_item ); fr = CreateFrame(setapp_avalue, "Placement"); rc2 = CreateHContainer(fr); avalue_offsetx = CreateTextItem2(rc2, 10, "X offset:"); + AddTextItem2CB( avalue_offsetx, (Button_CBProc)setapp_aac_cb, + avalue_offsetx ); avalue_offsety = CreateTextItem2(rc2, 10, "Y offset:"); + AddTextItem2CB( avalue_offsety, (Button_CBProc)setapp_aac_cb, + avalue_offsety ); /* ------------ Errbar tab -------------- */ *************** *** 379,406 **** "Both", NULL, 0); errbar_color_item = CreateColorChoice(rc, "Color:"); errbar_pattern_item = CreatePatternChoice(rc, "Pattern:"); fr = CreateFrame(rc1, "Clipping"); rc = CreateVContainer(fr); errbar_aclip_item = CreateToggleButton(rc, "Arrow clip"); errbar_cliplen_item = CreateSpinChoice(rc, "Max length:", 3, SPIN_TYPE_FLOAT, 0.0, 10.0, 0.1); rc1 = CreateVContainer(rc2); fr = CreateFrame(rc1, "Bar line"); rc = CreateVContainer(fr); errbar_size_item = CreateCharSizeChoice(rc, "Size"); errbar_width_item = CreateLineWidthChoice(rc, "Width:"); errbar_lines_item = CreateLineStyleChoice(rc, "Style:"); fr = CreateFrame(rc1, "Riser line"); rc = CreateVContainer(fr); errbar_riserlinew_item = CreateLineWidthChoice(rc, "Width:"); errbar_riserlines_item = CreateLineStyleChoice(rc, "Style:"); ! SelectTabPage(setapp_tab, setapp_main); --- 478,524 ---- "Both", NULL, 0); + AddChoiceCB(errbar_ptype_item, (OC_CBProc)oc_setapp_cb, + (void *)errbar_ptype_item ); errbar_color_item = CreateColorChoice(rc, "Color:"); + AddOptionChoiceCB( errbar_color_item, (OC_CBProc)oc_setapp_cb, + (void *) errbar_color_item); errbar_pattern_item = CreatePatternChoice(rc, "Pattern:"); + AddOptionChoiceCB( errbar_pattern_item, (OC_CBProc)oc_setapp_cb, + (void *) errbar_pattern_item); fr = CreateFrame(rc1, "Clipping"); rc = CreateVContainer(fr); errbar_aclip_item = CreateToggleButton(rc, "Arrow clip"); + AddToggleButtonCB( errbar_aclip_item, (OC_CBProc)oc_setapp_cb, + (void *) errbar_aclip_item ); errbar_cliplen_item = CreateSpinChoice(rc, "Max length:", 3, SPIN_TYPE_FLOAT, 0.0, 10.0, 0.1); + AddSpinButtonCB( errbar_cliplen_item, (Spin_CBProc)sp_setapp_cb, + (void *)errbar_cliplen_item ); rc1 = CreateVContainer(rc2); fr = CreateFrame(rc1, "Bar line"); rc = CreateVContainer(fr); errbar_size_item = CreateCharSizeChoice(rc, "Size"); + AddScaleCB( errbar_size_item, (OC_CBProc)oc_setapp_cb, + (void *)errbar_size_item ); errbar_width_item = CreateLineWidthChoice(rc, "Width:"); + AddSpinButtonCB( errbar_width_item, (Spin_CBProc)sp_setapp_cb, + (void *) errbar_width_item); errbar_lines_item = CreateLineStyleChoice(rc, "Style:"); + AddOptionChoiceCB( errbar_lines_item, (OC_CBProc)oc_setapp_cb, + (void *) errbar_lines_item); fr = CreateFrame(rc1, "Riser line"); rc = CreateVContainer(fr); errbar_riserlinew_item = CreateLineWidthChoice(rc, "Width:"); + AddSpinButtonCB( errbar_riserlinew_item, (Spin_CBProc)sp_setapp_cb, + (void *) errbar_riserlinew_item); errbar_riserlines_item = CreateLineStyleChoice(rc, "Style:"); ! AddOptionChoiceCB( errbar_riserlines_item, (OC_CBProc)oc_setapp_cb, ! (void *) errbar_riserlines_item); SelectTabPage(setapp_tab, setapp_main); *************** *** 492,536 **** } else { for(i = 0; i < cd; i++) { setno = selset[i]; ! get_graph_plotarr(get_cg(), setno, &p); ! p.symskip = symskip; ! p.symsize = symsize; ! p.symlinew = symlinew; ! p.symlines = symlines; ! p.symchar = symchar; ! p.charfont = charfont; ! p.filltype = filltype; ! p.fillrule = fillrule; ! p.setfillpen.pattern = fillpat; ! p.setfillpen.color = fillcol; ! if (cd == 1 || duplegs) { ! strcpy(p.lstr, GetTextString(legend_str_item)); ! } ! p.sym = sym; ! p.linet = linet; ! p.lines = line; ! p.linew = wid; ! p.linepen.color = color; ! p.linepen.pattern = pattern; ! p.sympen.color = symcolor; ! p.sympen.pattern = sympattern; ! p.symfillpen.color = symfillcolor; ! p.symfillpen.pattern = symfillpattern; ! p.dropline = dropline; ! p.baseline = baseline; ! p.baseline_type = baselinetype; ! ! errbar.ptype = GetChoice(errbar_ptype_item); ! errbar.pen.color = GetOptionChoice(errbar_color_item); ! errbar.pen.pattern = GetOptionChoice(errbar_pattern_item); ! errbar.arrow_clip = GetToggleButtonState(errbar_aclip_item); ! errbar.cliplen = GetSpinChoice(errbar_cliplen_item); ! ! p.errbar = errbar; ! p.avalue = avalue; ! ! set_graph_plotarr(get_cg(), setno, &p); ! set_dataset_type(get_cg(), setno, type); } xfree(selset); } --- 610,763 ---- } else { for(i = 0; i < cd; i++) { setno = selset[i]; ! if(data==type_item || data==NULL){ ! set_dataset_type(get_cg(), setno, GetOptionChoice(type_item)); ! } ! get_graph_plotarr( get_cg(), setno, &p ); ! if(data == &symskip_item || data == NULL){ ! p.symskip = GetSpinChoice(symskip_item); ! } ! if(data == symsize_item || data == NULL){ ! p.symsize = GetCharSizeChoice(symsize_item); ! } ! if(data == symlinew_item || data == NULL){ ! p.symlinew = GetSpinChoice(symlinew_item); ! } ! if(data == symlines_item || data == NULL){ ! p.symlines = GetOptionChoice(symlines_item); ! } ! if(data==symchar_item || data == NULL){ ! p.symchar = atoi(xv_getstr(symchar_item)); ! } ! if(data==char_font_item || data==NULL){ ! p.charfont = GetOptionChoice(char_font_item); ! } ! if(data==toggle_filltype_item || data==NULL){ ! p.filltype = GetChoice(toggle_filltype_item); ! } ! if(data==toggle_fillrule_item || data==NULL){ ! p.fillrule = GetChoice(toggle_fillrule_item); ! } ! if(data==toggle_fillpat_item || data==NULL){ ! p.setfillpen.pattern = GetOptionChoice(toggle_fillpat_item); ! } ! if(data==toggle_fillcol_item || data==NULL){ ! p.setfillpen.color = GetOptionChoice(toggle_fillcol_item); ! } ! if(data==legend_str_item || data==NULL){ ! if (cd==1 || duplegs) { ! strcpy(p.lstr, GetTextString(legend_str_item)); ! } ! } ! if(data==toggle_symbols_item || data==NULL){ ! p.sym = GetChoice(toggle_symbols_item); ! } ! if(data==toggle_linet_item || data==NULL){ ! p.linet = GetChoice(toggle_linet_item); ! } ! if(data==toggle_lines_item || data==NULL){ ! p.lines = GetOptionChoice(toggle_lines_item); ! } ! if(data==toggle_width_item || data==NULL){ ! p.linew = GetSpinChoice(toggle_width_item); ! } ! if(data==toggle_color_item || data==NULL){ ! p.linepen.color = GetOptionChoice(toggle_color_item); ! } ! if(data==toggle_pattern_item || data==NULL){ ! p.linepen.pattern = GetOptionChoice(toggle_pattern_item); ! } ! if(data==symcolor_item || data==NULL){ ! p.sympen.color = GetOptionChoice(symcolor_item); ! } ! if(data==sympattern_item || data==NULL){ ! p.sympen.pattern = GetOptionChoice(sympattern_item); ! } ! if(data==symfillcolor_item || data==NULL){ ! p.symfillpen.color = GetOptionChoice(symfillcolor_item); ! } ! if(data==symfillpattern_item || data==NULL){ ! p.symfillpen.pattern = GetOptionChoice(symfillpattern_item); ! } ! if(data== dropline_item || data==NULL){ ! p.dropline = GetToggleButtonState(dropline_item); ! } ! if(data==baseline_item || data==NULL){ ! p.baseline = GetToggleButtonState(baseline_item); ! } ! if(data== baselinetype_item || data==NULL){ ! p.baseline_type = GetChoice(baselinetype_item); ! } ! if(data==errbar_active_item || data==NULL){ ! p.errbar.active = GetToggleButtonState(errbar_active_item); ! } ! if(data==errbar_size_item || data==NULL){ ! p.errbar.barsize = GetCharSizeChoice(errbar_size_item); ! } ! if(data==errbar_width_item || data==NULL){ ! p.errbar.linew = GetSpinChoice(errbar_width_item); ! } ! if(data==errbar_lines_item || data==NULL){ ! p.errbar.lines = GetOptionChoice(errbar_lines_item); ! } ! if(data==errbar_riserlinew_item || data==NULL){ ! p.errbar.riser_linew = GetSpinChoice(errbar_riserlinew_item); ! } ! if(data==errbar_riserlines_item || data==NULL){ ! p.errbar.riser_lines = GetOptionChoice(errbar_riserlines_item); ! } ! if(data==errbar_ptype_item || data==NULL){ ! p.errbar.ptype = GetChoice(errbar_ptype_item); ! } ! if(data==errbar_color_item || data==NULL){ ! p.errbar.pen.color = GetOptionChoice(errbar_color_item); ! } ! if(data==errbar_pattern_item || data==NULL){ ! p.errbar.pen.pattern = GetOptionChoice(errbar_pattern_item); ! } ! if(data==errbar_aclip_item || data==NULL){ ! p.errbar.arrow_clip = GetToggleButtonState(errbar_aclip_item); ! } ! if(data==errbar_cliplen_item || data==NULL){ ! p.errbar.cliplen = GetSpinChoice(errbar_cliplen_item); ! } ! if(data==avalue_active_item || data==NULL){ ! p.avalue.active = GetToggleButtonState(avalue_active_item); ! } ! if(data==avalue_type_item || data==NULL){ ! p.avalue.type = GetChoice(avalue_type_item); ! } ! if(data==avalue_charsize_item || data==NULL){ ! p.avalue.size = GetCharSizeChoice(avalue_charsize_item); ! } ! if(data==avalue_font_item || data==NULL){ ! p.avalue.font = GetOptionChoice(avalue_font_item); ! } ! if(data==avalue_color_item || data==NULL){ ! p.avalue.color = GetOptionChoice(avalue_color_item); ! } ! if(data==avalue_angle_item || data==NULL){ ! p.avalue.angle = GetAngleChoice(avalue_angle_item); ! } ! if(data==avalue_format_item || data==NULL){ ! p.avalue.format = GetOptionChoice(avalue_format_item); ! } ! if(data==avalue_precision_item || data==NULL){ ! p.avalue.prec = GetChoice(avalue_precision_item); ! } ! if(data==avalue_prestr || data==NULL){ ! strcpy(p.avalue.prestr, xv_getstr(avalue_prestr)); ! } ! if(data==avalue_appstr || data==NULL){ ! strcpy(p.avalue.appstr, xv_getstr(avalue_appstr)); ! } ! if(data==avalue_offsetx || data==NULL){ ! xv_evalexpr(avalue_offsetx, &p.avalue.offset.x ); ! } ! if(data==avalue_offsety || data==NULL){ ! xv_evalexpr(avalue_offsety, &p.avalue.offset.y); ! } ! set_graph_plotarr(get_cg(), setno, &p); } xfree(selset); } *************** *** 601,610 **** case SET_XYDXDX: case SET_XYDYDY: case SET_XYDXDXDYDY: ! SetSensitive(errbar_ptype_item[4], False); break; default: ! SetSensitive(errbar_ptype_item[4], True); break; } SetChoice(errbar_ptype_item, p.errbar.ptype); --- 828,837 ---- case SET_XYDXDX: case SET_XYDYDY: case SET_XYDXDXDYDY: ! SetSensitive(errbar_ptype_item->options[2].widget, False); break; default: ! SetSensitive(errbar_ptype_item->options[2].widget, True); break; } SetChoice(errbar_ptype_item, p.errbar.ptype); *************** *** 680,686 **** return; } else { for(i = 0; i < cd; i++) { ! setno = selset[i]; switch (proc_type) { case SETAPP_STRIP_LEGENDS: set_legend_string(cg, setno, --- 907,915 ---- return; } else { for(i = 0; i < cd; i++) { ! if( get_graph_plotarr( cg, selset[i], &p ) == RETURN_FAILURE ) ! return; ! setno = selset[i]; switch (proc_type) { case SETAPP_STRIP_LEGENDS: set_legend_string(cg, setno, *************** *** 744,746 **** --- 973,976 ---- mask++; } } + diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/setappwin.c.orig ../grace-5.1.12iu/src/setappwin.c.orig *** ./src/setappwin.c.orig 1969-12-31 17:00:00.000000000 -0700 --- ../grace-5.1.12iu/src/setappwin.c.orig 2003-02-21 14:36:49.000000000 -0700 *************** *** 0 **** --- 1,746 ---- + /* + * Grace - GRaphing, Advanced Computation and Exploration of data + * + * Home page: http://plasma-gate.weizmann.ac.il/Grace/ + * + * Copyright (c) 1991-1995 Paul J Turner, Portland, OR + * Copyright (c) 1996-2003 Grace Development Team + * + * Maintained by Evgeny Stambulchik + * + * + * All Rights Reserved + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + + /* + * + * Set appearance + * + */ + + #include + + #include + #include + + #include "globals.h" + + #include "graphs.h" + #include "utils.h" + #include "motifinc.h" + #include "protos.h" + + #define cg get_cg() + + #define SETAPP_STRIP_LEGENDS 0 + #define SETAPP_LOAD_COMMENTS 1 + #define SETAPP_ALL_COLORS 2 + #define SETAPP_ALL_SYMBOLS 3 + #define SETAPP_ALL_LINEW 4 + #define SETAPP_ALL_LINES 5 + #define SETAPP_ALL_BW 6 + + #define CSYNC_LINE 0 + #define CSYNC_SYM 1 + + static int cset = 0; /* the current set from the symbols panel */ + + static Widget setapp_dialog = NULL; + + static Widget duplegs_item; + + static OptionStructure *type_item; + static Widget *toggle_symbols_item; + static Widget symsize_item; + static SpinStructure *symskip_item; + static OptionStructure *symcolor_item; + static OptionStructure *sympattern_item; + static OptionStructure *symfillcolor_item; + static OptionStructure *symfillpattern_item; + static SpinStructure *symlinew_item; + static OptionStructure *symlines_item; + static Widget symchar_item; + static OptionStructure *char_font_item; + + static OptionStructure *toggle_color_item; + static OptionStructure *toggle_pattern_item; + static SpinStructure *toggle_width_item; + static Widget dropline_item; + static OptionStructure *toggle_lines_item; + static Widget *toggle_linet_item; + static Widget *toggle_filltype_item; + static Widget *toggle_fillrule_item; + static OptionStructure *toggle_fillpat_item; + static OptionStructure *toggle_fillcol_item; + static ListStructure *toggle_symset_item; + static Widget baseline_item; + static Widget *baselinetype_item; + + static TextStructure *legend_str_item; + + static Widget errbar_active_item; + static Widget *errbar_ptype_item; + static OptionStructure *errbar_color_item; + static OptionStructure *errbar_pattern_item; + static Widget errbar_size_item; + static SpinStructure *errbar_width_item; + static OptionStructure *errbar_lines_item; + static SpinStructure *errbar_riserlinew_item; + static OptionStructure *errbar_riserlines_item; + static Widget errbar_aclip_item; + static SpinStructure *errbar_cliplen_item; + + static Widget avalue_active_item; + static Widget *avalue_type_item; + static OptionStructure *avalue_font_item; + static OptionStructure *avalue_color_item; + static Widget avalue_charsize_item ; + static Widget avalue_angle_item; + static OptionStructure *avalue_format_item; + static Widget *avalue_precision_item; + static Widget avalue_offsetx; + static Widget avalue_offsety; + static Widget avalue_prestr; + static Widget avalue_appstr; + + static Widget csync_item; + + static void UpdateSymbols(int gno, int value); + static void set_cset_proc(int n, int *values, void *data); + static int setapp_aac_cb(void *data); + static void setapp_data_proc(void *data); + static void csync_cb(int value, void *data); + + /* + * create the symbols popup + */ + void define_symbols_popup(void *data) + { + int setno; + + set_wait_cursor(); + + setno = (int) data; + if (is_valid_setno(cg, setno) == TRUE) { + cset = setno; + } + + if (setapp_dialog == NULL) { + Widget setapp_tab, setapp_main, setapp_symbols, + setapp_line, setapp_errbar, setapp_avalue, fr, rc, rc1, rc2; + Widget menubar, menupane; + + setapp_dialog = CreateDialogForm(app_shell, "Set Appearance"); + + menubar = CreateMenuBar(setapp_dialog); + AddDialogFormChild(setapp_dialog, menubar); + ManageChild(menubar); + + menupane = CreateMenu(menubar, "File", 'F', FALSE); + CreateMenuCloseButton(menupane, setapp_dialog); + + menupane = CreateMenu(menubar, "Edit", 'E', FALSE); + CreateMenuButton(menupane, "Set different colors", 'c', + setapp_data_proc, (void *) SETAPP_ALL_COLORS); + CreateMenuButton(menupane, "Set different symbols", 's', + setapp_data_proc, (void *) SETAPP_ALL_SYMBOLS); + CreateMenuButton(menupane, "Set different line widths", 'w', + setapp_data_proc, (void *) SETAPP_ALL_LINEW); + CreateMenuButton(menupane, "Set different line styles", 'y', + setapp_data_proc, (void *) SETAPP_ALL_LINES); + CreateMenuButton(menupane, "Set black & white", 'B', + setapp_data_proc, (void *) SETAPP_ALL_BW); + CreateMenuSeparator(menupane); + CreateMenuButton(menupane, "Load comments", 'm', + setapp_data_proc, (void *) SETAPP_LOAD_COMMENTS); + CreateMenuButton(menupane, "Strip legends", 'l', + setapp_data_proc, (void *) SETAPP_STRIP_LEGENDS); + + menupane = CreateMenu(menubar, "Options", 'O', FALSE); + duplegs_item = CreateMenuToggle(menupane, + "Duplicate legends", 'D', NULL, NULL); + csync_item = CreateMenuToggle(menupane, "Color sync", 's', NULL, NULL); + SetToggleButtonState(csync_item, TRUE); + + menupane = CreateMenu(menubar, "Help", 'H', TRUE); + CreateMenuHelpButton(menupane, "On set appearance", 's', + setapp_dialog, "doc/UsersGuide.html#set-appearance"); + + toggle_symset_item = CreateSetChoice(setapp_dialog, "Select set:", + LIST_TYPE_MULTIPLE, TRUE); + AddDialogFormChild(setapp_dialog, toggle_symset_item->rc); + AddListChoiceCB(toggle_symset_item, set_cset_proc, NULL); + + + /* ------------ Tabs -------------- */ + + setapp_tab = CreateTab(setapp_dialog); + + + /* ------------ Main tab -------------- */ + + setapp_main = CreateTabPage(setapp_tab, "Main"); + + fr = CreateFrame(setapp_main, "Set presentation"); + type_item = CreateSetTypeChoice(fr, "Type:"); + + rc2 = CreateHContainer(setapp_main); + + fr = CreateFrame(rc2, "Symbol properties"); + rc = CreateVContainer(fr); + toggle_symbols_item = CreatePanelChoice(rc, + "Type:", + 13, + "None", /* 0 */ + "Circle", /* 1 */ + "Square", /* 2 */ + "Diamond", /* 3 */ + "Triangle up", /* 4 */ + "Triangle left", /* 5 */ + "Triangle down", /* 6 */ + "Triangle right", /* 7 */ + "Plus", /* 8 */ + "X", /* 9 */ + "Star", /* 10 */ + "Char", /* 11 */ + NULL, + 0); + symsize_item = CreateCharSizeChoice(rc, "Size"); + symcolor_item = CreateColorChoice(rc, "Color:"); + AddOptionChoiceCB(symcolor_item, csync_cb, (void *) CSYNC_SYM); + symchar_item = CreateTextItem2(rc, 3, "Symbol char:"); + + fr = CreateFrame(rc2, "Line properties"); + rc = CreateVContainer(fr); + toggle_linet_item = CreatePanelChoice(rc, "Type:", + 7, + "None", + "Straight", + "Left stairs", + "Right stairs", + "Segments", + "3-Segments", + NULL, + 0); + toggle_lines_item = CreateLineStyleChoice(rc, "Style:"); + toggle_width_item = CreateLineWidthChoice(rc, "Width:"); + toggle_color_item = CreateColorChoice(rc, "Color:"); + AddOptionChoiceCB(toggle_color_item, csync_cb, (void *) CSYNC_LINE); + + fr = CreateFrame(setapp_main, "Legend"); + legend_str_item = CreateCSText(fr, "String:"); + + fr = CreateFrame(setapp_main, "Display options"); + rc2 = CreateHContainer(fr); + avalue_active_item = CreateToggleButton(rc2, "Annotate values"); + errbar_active_item = CreateToggleButton(rc2, "Display error bars"); + + + /* ------------ Symbols tab -------------- */ + + setapp_symbols = CreateTabPage(setapp_tab, "Symbols"); + + fr = CreateFrame(setapp_symbols, "Symbol outline"); + rc = CreateVContainer(fr); + + rc2 = CreateHContainer(rc); + symlines_item = CreateLineStyleChoice(rc2, "Style:"); + symlinew_item = CreateLineWidthChoice(rc2, "Width:"); + sympattern_item = CreatePatternChoice(rc, "Pattern:"); + + fr = CreateFrame(setapp_symbols, "Symbol fill"); + rc = CreateHContainer(fr); + symfillcolor_item = CreateColorChoice(rc, "Color:"); + symfillpattern_item = CreatePatternChoice(rc, "Pattern:"); + + fr = CreateFrame(setapp_symbols, "Extra"); + rc = CreateVContainer(fr); + symskip_item = CreateSpinChoice(rc, "Symbol skip:", + 5, SPIN_TYPE_INT, (double) 0, (double) 100000, (double) 1); + char_font_item = CreateFontChoice(rc, "Font for char symbol:"); + + + /* ------------ Line tab -------------- */ + + setapp_line = CreateTabPage(setapp_tab, "Line"); + + fr = CreateFrame(setapp_line, "Line properties"); + rc = CreateHContainer(fr); + toggle_pattern_item = CreatePatternChoice(rc, "Pattern:"); + dropline_item = CreateToggleButton(rc, "Draw drop lines"); + + fr = CreateFrame(setapp_line, "Fill properties"); + rc = CreateVContainer(fr); + rc2 = CreateHContainer(rc); + toggle_filltype_item = CreatePanelChoice(rc2, "Type:", + 4, + "None", + "As polygon", + "To baseline", + NULL, + 0); + toggle_fillrule_item = CreatePanelChoice(rc2, "Rule:", + 3, + "Winding", + "Even-Odd", + NULL, + 0); + rc2 = CreateHContainer(rc); + toggle_fillpat_item = CreatePatternChoice(rc2, "Pattern:"); + toggle_fillcol_item = CreateColorChoice(rc2, "Color:"); + + fr = CreateFrame(setapp_line, "Base line"); + rc = CreateHContainer(fr); + baselinetype_item = CreatePanelChoice(rc, "Type:", + 7, + "Zero", + "Set min", + "Set max", + "Graph min", + "Graph max", + "Set average", + NULL, + 0); + baseline_item = CreateToggleButton(rc, "Draw line"); + + + /* ------------ AValue tab -------------- */ + + setapp_avalue = CreateTabPage(setapp_tab, "Ann. values"); + + fr = CreateFrame(setapp_avalue, "Text properties"); + rc = CreateVContainer(fr); + + rc2 = CreateHContainer(rc); + avalue_font_item = CreateFontChoice(rc2, "Font:"); + avalue_charsize_item = CreateCharSizeChoice(rc2, "Char size"); + SetScaleWidth(avalue_charsize_item, 120); + + rc2 = CreateHContainer(rc); + avalue_color_item = CreateColorChoice(rc2, "Color:"); + avalue_angle_item = CreateAngleChoice(rc2, "Angle"); + SetScaleWidth(avalue_angle_item, 180); + + rc2 = CreateHContainer(rc); + avalue_prestr = CreateTextItem2(rc2, 10, "Prepend:"); + avalue_appstr = CreateTextItem2(rc2, 10, "Append:"); + + fr = CreateFrame(setapp_avalue, "Format options"); + rc = CreateVContainer(fr); + rc2 = CreateHContainer(rc); + avalue_format_item = CreateFormatChoice(rc, "Format:"); + avalue_type_item = CreatePanelChoice(rc2, "Type:", + 7, + "None", + "X", + "Y", + "X, Y", + "String", + "Z", + NULL, + 0); + avalue_precision_item = CreatePrecisionChoice(rc2, "Precision:"); + + fr = CreateFrame(setapp_avalue, "Placement"); + rc2 = CreateHContainer(fr); + avalue_offsetx = CreateTextItem2(rc2, 10, "X offset:"); + avalue_offsety = CreateTextItem2(rc2, 10, "Y offset:"); + + + /* ------------ Errbar tab -------------- */ + + setapp_errbar = CreateTabPage(setapp_tab, "Error bars"); + + rc2 = CreateHContainer(setapp_errbar); + + rc1 = CreateVContainer(rc2); + + fr = CreateFrame(rc1, "Common"); + rc = CreateVContainer(fr); + errbar_ptype_item = CreatePanelChoice(rc, + "Placement:", + 4, + "Normal", + "Opposite", + "Both", + NULL, + 0); + errbar_color_item = CreateColorChoice(rc, "Color:"); + errbar_pattern_item = CreatePatternChoice(rc, "Pattern:"); + + fr = CreateFrame(rc1, "Clipping"); + rc = CreateVContainer(fr); + errbar_aclip_item = CreateToggleButton(rc, "Arrow clip"); + errbar_cliplen_item = CreateSpinChoice(rc, "Max length:", + 3, SPIN_TYPE_FLOAT, 0.0, 10.0, 0.1); + + rc1 = CreateVContainer(rc2); + + fr = CreateFrame(rc1, "Bar line"); + rc = CreateVContainer(fr); + errbar_size_item = CreateCharSizeChoice(rc, "Size"); + errbar_width_item = CreateLineWidthChoice(rc, "Width:"); + errbar_lines_item = CreateLineStyleChoice(rc, "Style:"); + + fr = CreateFrame(rc1, "Riser line"); + rc = CreateVContainer(fr); + errbar_riserlinew_item = CreateLineWidthChoice(rc, "Width:"); + errbar_riserlines_item = CreateLineStyleChoice(rc, "Style:"); + + + SelectTabPage(setapp_tab, setapp_main); + + + CreateAACDialog(setapp_dialog, setapp_tab, setapp_aac_cb, NULL); + } + updatesymbols(cg, cset); + + RaiseWindow(GetParent(setapp_dialog)); + unset_wait_cursor(); + } + + /* + * define symbols for the current set + */ + static int setapp_aac_cb(void *data) + { + int i; + int duplegs; + int type; + int sym, symskip, symlines; + double symlinew; + int line, linet, color, pattern; + double wid; + int dropline, filltype, fillrule, fillpat, fillcol; + int symcolor, sympattern, symfillcolor, symfillpattern; + double symsize; + int baseline, baselinetype; + Errbar errbar; + AValue avalue; + char symchar; + int charfont; + plotarr p; + + int setno; + int *selset, cd; + + duplegs = GetToggleButtonState(duplegs_item); + + type = GetOptionChoice(type_item); + symsize = GetCharSizeChoice(symsize_item); + sym = GetChoice(toggle_symbols_item); + color = GetOptionChoice(toggle_color_item); + pattern = GetOptionChoice(toggle_pattern_item); + wid = GetSpinChoice(toggle_width_item); + baseline = GetToggleButtonState(baseline_item); + baselinetype = GetChoice(baselinetype_item); + dropline = GetToggleButtonState(dropline_item); + line = GetOptionChoice(toggle_lines_item); + linet = GetChoice(toggle_linet_item); + filltype = GetChoice(toggle_filltype_item); + fillrule = GetChoice(toggle_fillrule_item); + fillpat = GetOptionChoice(toggle_fillpat_item); + fillcol = GetOptionChoice(toggle_fillcol_item); + symskip = GetSpinChoice(symskip_item); + symcolor = GetOptionChoice(symcolor_item); + sympattern = GetOptionChoice(sympattern_item); + symfillcolor = GetOptionChoice(symfillcolor_item); + symfillpattern = GetOptionChoice(symfillpattern_item); + symlinew = GetSpinChoice(symlinew_item); + symlines = GetOptionChoice(symlines_item); + symchar = atoi(xv_getstr(symchar_item)); + charfont = GetOptionChoice(char_font_item); + + errbar.active = GetToggleButtonState(errbar_active_item); + errbar.barsize = GetCharSizeChoice(errbar_size_item); + errbar.linew = GetSpinChoice(errbar_width_item); + errbar.lines = GetOptionChoice(errbar_lines_item); + errbar.riser_linew = GetSpinChoice(errbar_riserlinew_item); + errbar.riser_lines = GetOptionChoice(errbar_riserlines_item); + + avalue.active = GetToggleButtonState(avalue_active_item); + avalue.type = GetChoice(avalue_type_item); + avalue.size = GetCharSizeChoice(avalue_charsize_item); + avalue.font = GetOptionChoice(avalue_font_item); + avalue.color = GetOptionChoice(avalue_color_item); + avalue.angle = GetAngleChoice(avalue_angle_item); + avalue.format = GetOptionChoice(avalue_format_item); + avalue.prec = GetChoice(avalue_precision_item); + strcpy(avalue.prestr, xv_getstr(avalue_prestr)); + strcpy(avalue.appstr, xv_getstr(avalue_appstr)); + xv_evalexpr(avalue_offsetx, &avalue.offset.x ); + xv_evalexpr(avalue_offsety, &avalue.offset.y); + + cd = GetListChoices(toggle_symset_item, &selset); + if (cd < 1) { + errwin("No set selected"); + return RETURN_FAILURE; + } else { + for(i = 0; i < cd; i++) { + setno = selset[i]; + get_graph_plotarr(get_cg(), setno, &p); + p.symskip = symskip; + p.symsize = symsize; + p.symlinew = symlinew; + p.symlines = symlines; + p.symchar = symchar; + p.charfont = charfont; + p.filltype = filltype; + p.fillrule = fillrule; + p.setfillpen.pattern = fillpat; + p.setfillpen.color = fillcol; + if (cd == 1 || duplegs) { + strcpy(p.lstr, GetTextString(legend_str_item)); + } + p.sym = sym; + p.linet = linet; + p.lines = line; + p.linew = wid; + p.linepen.color = color; + p.linepen.pattern = pattern; + p.sympen.color = symcolor; + p.sympen.pattern = sympattern; + p.symfillpen.color = symfillcolor; + p.symfillpen.pattern = symfillpattern; + p.dropline = dropline; + p.baseline = baseline; + p.baseline_type = baselinetype; + + errbar.ptype = GetChoice(errbar_ptype_item); + errbar.pen.color = GetOptionChoice(errbar_color_item); + errbar.pen.pattern = GetOptionChoice(errbar_pattern_item); + errbar.arrow_clip = GetToggleButtonState(errbar_aclip_item); + errbar.cliplen = GetSpinChoice(errbar_cliplen_item); + + p.errbar = errbar; + p.avalue = avalue; + + set_graph_plotarr(get_cg(), setno, &p); + set_dataset_type(get_cg(), setno, type); + } + xfree(selset); + } + + xdrawgraph(); + + return RETURN_SUCCESS; + } + + + /* + * freshen up symbol items, generally after a parameter + * file has been read + */ + static void UpdateSymbols(int gno, int value) + { + int i; + char val[24]; + plotarr p; + + if ((cset == value) && (value != -1)) { + get_graph_plotarr(gno, cset, &p); + + SetOptionChoice(type_item, p.type); + for (i = 0; i < type_item->nchoices; i++) { + if (settype_cols(type_item->options[i].value) == + settype_cols(p.type)) { + SetSensitive(type_item->options[i].widget, True); + } else { + SetSensitive(type_item->options[i].widget, False); + } + } + + SetCharSizeChoice(symsize_item, p.symsize); + SetSpinChoice(symskip_item, p.symskip); + sprintf(val, "%d", p.symchar); + xv_setstr(symchar_item, val); + SetChoice(toggle_symbols_item, p.sym); + + SetOptionChoice(symcolor_item, p.sympen.color); + SetOptionChoice(sympattern_item, p.sympen.pattern); + SetOptionChoice(symfillcolor_item, p.symfillpen.color); + SetOptionChoice(symfillpattern_item, p.symfillpen.pattern); + SetSpinChoice(symlinew_item, p.symlinew); + SetOptionChoice(symlines_item, p.symlines); + + SetOptionChoice(char_font_item, p.charfont); + + SetOptionChoice(toggle_color_item, p.linepen.color); + SetOptionChoice(toggle_pattern_item, p.linepen.pattern); + SetSpinChoice(toggle_width_item, p.linew); + SetToggleButtonState(dropline_item, p.dropline); + SetOptionChoice(toggle_lines_item, p.lines); + SetChoice(toggle_linet_item, p.linet); + SetChoice(toggle_filltype_item, p.filltype); + SetChoice(toggle_fillrule_item, p.fillrule); + SetOptionChoice(toggle_fillcol_item, p.setfillpen.color); + SetOptionChoice(toggle_fillpat_item, p.setfillpen.pattern); + + SetToggleButtonState(baseline_item, p.baseline); + SetChoice(baselinetype_item, p.baseline_type); + + SetTextString(legend_str_item, p.lstr); + + SetToggleButtonState(errbar_active_item, p.errbar.active); + + switch (p.type) { + case SET_XYDXDX: + case SET_XYDYDY: + case SET_XYDXDXDYDY: + SetSensitive(errbar_ptype_item[4], False); + break; + default: + SetSensitive(errbar_ptype_item[4], True); + break; + } + SetChoice(errbar_ptype_item, p.errbar.ptype); + SetOptionChoice(errbar_color_item, p.errbar.pen.color); + SetOptionChoice(errbar_pattern_item, p.errbar.pen.pattern); + SetToggleButtonState(errbar_aclip_item, p.errbar.arrow_clip); + SetSpinChoice(errbar_cliplen_item, p.errbar.cliplen); + SetSpinChoice(errbar_width_item, p.errbar.linew); + SetOptionChoice(errbar_lines_item, p.errbar.lines); + SetSpinChoice(errbar_riserlinew_item, p.errbar.riser_linew); + SetOptionChoice(errbar_riserlines_item, p.errbar.riser_lines); + SetCharSizeChoice(errbar_size_item, p.errbar.barsize); + + SetToggleButtonState(avalue_active_item, p.avalue.active); + SetChoice(avalue_type_item, p.avalue.type); + SetCharSizeChoice(avalue_charsize_item, p.avalue.size); + SetOptionChoice(avalue_font_item, p.avalue.font); + SetOptionChoice(avalue_color_item, p.avalue.color); + SetAngleChoice(avalue_angle_item, p.avalue.angle); + SetOptionChoice(avalue_format_item, p.avalue.format); + SetChoice(avalue_precision_item, p.avalue.prec); + + xv_setstr(avalue_prestr, p.avalue.prestr); + xv_setstr(avalue_appstr, p.avalue.appstr); + + sprintf(val, "%f", p.avalue.offset.x); + xv_setstr(avalue_offsetx, val); + sprintf(val, "%f", p.avalue.offset.y); + xv_setstr(avalue_offsety, val); + + /* + * set_graph_plotarr(gno, cset, &p); + */ + } + } + + + static void set_cset_proc(int n, int *values, void *data) + { + if (n == 1) { + cset = values[0]; + UpdateSymbols(cg, cset); + } + } + + void updatesymbols(int gno, int setno) + { + if (gno != cg) { + return; + } + + if (setapp_dialog != NULL) { + if (SelectListChoice(toggle_symset_item, setno) == RETURN_SUCCESS) { + cset = setno; + } + } + } + + + static void setapp_data_proc(void *data) + { + int proc_type; + int *selset, cd; + int i, setno; + plotarr p; + int c = 0, bg = getbgcolor(); + + proc_type = (int) data; + + cd = GetListChoices(toggle_symset_item, &selset); + if (cd < 1) { + errmsg("No set selected"); + return; + } else { + for(i = 0; i < cd; i++) { + setno = selset[i]; + switch (proc_type) { + case SETAPP_STRIP_LEGENDS: + set_legend_string(cg, setno, + mybasename(get_legend_string(cg, setno))); + break; + case SETAPP_LOAD_COMMENTS: + load_comments_to_legend(cg, setno); + break; + case SETAPP_ALL_COLORS: + while (c == bg || get_colortype(c) != COLOR_MAIN) { + c++; + c %= number_of_colors(); + } + set_set_colors(cg, setno, c); + c++; + break; + case SETAPP_ALL_SYMBOLS: + get_graph_plotarr(cg, setno, &p); + p.sym = (i % (MAXSYM - 2)) + 1; + set_graph_plotarr(cg, setno, &p); + break; + case SETAPP_ALL_LINEW: + get_graph_plotarr(cg, setno, &p); + p.linew = ((i % (2*((int) MAX_LINEWIDTH) - 1)) + 1)/2.0; + set_graph_plotarr(cg, setno, &p); + break; + case SETAPP_ALL_LINES: + get_graph_plotarr(cg, setno, &p); + p.lines = (i % (number_of_linestyles() - 1)) + 1; + set_graph_plotarr(cg, setno, &p); + break; + case SETAPP_ALL_BW: + set_set_colors(cg, setno, 1); + break; + } + } + + xfree(selset); + + UpdateSymbols(cg, cset); + set_dirtystate(); + xdrawgraph(); + } + } + + static void csync_cb(int value, void *data) + { + int mask = (int) data; + + if (GetToggleButtonState(csync_item) != TRUE) { + return; + } + + if (mask == CSYNC_LINE) { + SetOptionChoice(symcolor_item, value); + mask++; + } + if (mask == CSYNC_SYM) { + SetOptionChoice(symfillcolor_item, value); + SetOptionChoice(errbar_color_item, value); + mask++; + } + } diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/setappwin.c.rej ../grace-5.1.12iu/src/setappwin.c.rej *** ./src/setappwin.c.rej 1969-12-31 17:00:00.000000000 -0700 --- ../grace-5.1.12iu/src/setappwin.c.rej 2003-02-24 16:36:56.000000000 -0700 *************** *** 0 **** --- 1,141 ---- + *************** + *** 259,276 **** + + rc2 = CreateHContainer(rc); + symlines_item = CreateLineStyleChoice(rc2, "Style:"); + symlinew_item = CreateLineWidthChoice(rc2, "Width:"); + sympattern_item = CreatePatternChoice(rc, "Pattern:"); + + fr = CreateFrame(setapp_symbols, "Symbol fill"); + rc = CreateHContainer(fr); + symfillcolor_item = CreateColorChoice(rc, "Color:"); + symfillpattern_item = CreatePatternChoice(rc, "Pattern:"); + + fr = CreateFrame(setapp_symbols, "Extra"); + rc = CreateVContainer(fr); + symskip_item = CreateTextItem2(rc, 4, "Symbol skip:"); + char_font_item = CreateFontChoice(rc, "Font for char symbol:"); + + + /* ------------ Line tab -------------- */ + --- 308,339 ---- + + rc2 = CreateHContainer(rc); + symlines_item = CreateLineStyleChoice(rc2, "Style:"); + + AddOptionChoiceCB( symlines_item, (OC_CBProc)oc_setapp_cb, + + (void *)symlines_item ); + symlinew_item = CreateLineWidthChoice(rc2, "Width:"); + + AddSpinButtonCB( symlinew_item, (Spin_CBProc)sp_setapp_cb, + + (void *)symlinew_item ); + sympattern_item = CreatePatternChoice(rc, "Pattern:"); + + AddOptionChoiceCB( sympattern_item, (OC_CBProc)oc_setapp_cb, + + (void *)sympattern_item ); + + fr = CreateFrame(setapp_symbols, "Symbol fill"); + rc = CreateHContainer(fr); + symfillcolor_item = CreateColorChoice(rc, "Color:"); + + AddOptionChoiceCB( symfillcolor_item, (OC_CBProc)oc_setapp_cb, + + (void *)symfillcolor_item ); + symfillpattern_item = CreatePatternChoice(rc, "Pattern:"); + + AddOptionChoiceCB( symfillpattern_item, (OC_CBProc)oc_setapp_cb, + + (void *)symfillpattern_item ); + + fr = CreateFrame(setapp_symbols, "Extra"); + rc = CreateVContainer(fr); + symskip_item = CreateTextItem2(rc, 4, "Symbol skip:"); + + AddTextItem2CB( symskip_item, (Button_CBProc)setapp_aac_cb, + + (void *)(&symskip_item) ); + char_font_item = CreateFontChoice(rc, "Font for char symbol:"); + + AddOptionChoiceCB( char_font_item, (OC_CBProc)oc_setapp_cb, + + (void *)char_font_item ); + + + /* ------------ Line tab -------------- */ + *************** + *** 419,489 **** + { + int i; + int duplegs; + - int type; + - int sym, symskip, symlines; + - double symlinew; + - int line, linet, color, pattern; + - double wid; + - int dropline, filltype, fillrule, fillpat, fillcol; + - int symcolor, sympattern, symfillcolor, symfillpattern; + - double symsize; + - int baseline, baselinetype; + - Errbar errbar; + - AValue avalue; + - char symchar; + - int charfont; + plotarr p; + + ! int setno; + ! int *selset, cd; + + duplegs = GetToggleButtonState(duplegs_item); + + - type = GetOptionChoice(type_item); + - symsize = GetCharSizeChoice(symsize_item); + - sym = GetChoice(toggle_symbols_item); + - color = GetOptionChoice(toggle_color_item); + - pattern = GetOptionChoice(toggle_pattern_item); + - wid = GetSpinChoice(toggle_width_item); + - baseline = GetToggleButtonState(baseline_item); + - baselinetype = GetChoice(baselinetype_item); + - dropline = GetToggleButtonState(dropline_item); + - line = GetOptionChoice(toggle_lines_item); + - linet = GetChoice(toggle_linet_item); + - filltype = GetChoice(toggle_filltype_item); + - fillrule = GetChoice(toggle_fillrule_item); + - fillpat = GetOptionChoice(toggle_fillpat_item); + - fillcol = GetOptionChoice(toggle_fillcol_item); + - xv_evalexpri(symskip_item, &symskip); + - symcolor = GetOptionChoice(symcolor_item); + - sympattern = GetOptionChoice(sympattern_item); + - symfillcolor = GetOptionChoice(symfillcolor_item); + - symfillpattern = GetOptionChoice(symfillpattern_item); + - symlinew = GetSpinChoice(symlinew_item); + - symlines = GetOptionChoice(symlines_item); + - symchar = atoi(xv_getstr(symchar_item)); + - charfont = GetOptionChoice(char_font_item); + - + - errbar.active = GetToggleButtonState(errbar_active_item); + - errbar.barsize = GetCharSizeChoice(errbar_size_item); + - errbar.linew = GetSpinChoice(errbar_width_item); + - errbar.lines = GetOptionChoice(errbar_lines_item); + - errbar.riser_linew = GetSpinChoice(errbar_riserlinew_item); + - errbar.riser_lines = GetOptionChoice(errbar_riserlines_item); + - + - avalue.active = GetToggleButtonState(avalue_active_item); + - avalue.type = GetChoice(avalue_type_item); + - avalue.size = GetCharSizeChoice(avalue_charsize_item); + - avalue.font = GetOptionChoice(avalue_font_item); + - avalue.color = GetOptionChoice(avalue_color_item); + - avalue.angle = GetAngleChoice(avalue_angle_item); + - avalue.format = GetOptionChoice(avalue_format_item); + - avalue.prec = GetChoice(avalue_precision_item); + - strcpy(avalue.prestr, xv_getstr(avalue_prestr)); + - strcpy(avalue.appstr, xv_getstr(avalue_appstr)); + - xv_evalexpr(avalue_offsetx, &avalue.offset.x ); + - xv_evalexpr(avalue_offsety, &avalue.offset.y); + - + cd = GetListChoices(toggle_symset_item, &selset); + if (cd < 1) { + errwin("No set selected"); + --- 539,552 ---- + { + int i; + int duplegs; + plotarr p; + + int setno, *selset, cd; + + ! if(!instantupdate && data!=NULL) + ! return RETURN_SUCCESS; + + duplegs = GetToggleButtonState(duplegs_item); + + cd = GetListChoices(toggle_symset_item, &selset); + if (cd < 1) { + errwin("No set selected"); diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/setwin.c ../grace-5.1.12iu/src/setwin.c *** ./src/setwin.c 2000-06-21 18:03:07.000000000 -0600 --- ../grace-5.1.12iu/src/setwin.c 2003-02-24 16:36:56.000000000 -0700 *************** *** 323,330 **** Widget top; ListStructure *sel; OptionStructure *optype_item; ! Widget *xy_item; ! Widget *up_down_item; Widget length_item; Widget start_item; Widget stop_item; --- 323,330 ---- Widget top; ListStructure *sel; OptionStructure *optype_item; ! OptionStructure *xy_item; ! OptionStructure *up_down_item; Widget length_item; Widget start_item; Widget stop_item; diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/strwin.c ../grace-5.1.12iu/src/strwin.c *** ./src/strwin.c 2000-07-12 16:31:48.000000000 -0600 --- ../grace-5.1.12iu/src/strwin.c 2003-02-24 16:36:56.000000000 -0700 *************** *** 61,93 **** static OptionStructure *strings_font_item; static Widget strings_rot_item; static Widget strings_size_item; ! static Widget *strings_loc_item; static OptionStructure *strings_color_item; static OptionStructure *strings_just_item; ! static Widget *lines_arrow_item; static SpinStructure *lines_asize_item; ! static Widget *lines_atype_item; static SpinStructure *lines_a_dL_ff_item; static SpinStructure *lines_a_lL_ff_item; static OptionStructure *lines_color_item; static OptionStructure *lines_style_item; static SpinStructure *lines_width_item; ! static Widget *lines_loc_item; static OptionStructure *boxes_color_item; static OptionStructure *boxes_lines_item; static SpinStructure *boxes_linew_item; static OptionStructure *boxes_fillpat_item; static OptionStructure *boxes_fillcol_item; ! static Widget *boxes_loc_item; static OptionStructure *ellip_color_item; static OptionStructure *ellip_lines_item; static SpinStructure *ellip_linew_item; static OptionStructure *ellip_fillpat_item; static OptionStructure *ellip_fillcol_item; ! static Widget *ellip_loc_item; static void define_ellip_popup(void *data); static void define_strings_popup(void *data); --- 61,93 ---- static OptionStructure *strings_font_item; static Widget strings_rot_item; static Widget strings_size_item; ! static OptionStructure *strings_loc_item; static OptionStructure *strings_color_item; static OptionStructure *strings_just_item; ! static OptionStructure *lines_arrow_item; static SpinStructure *lines_asize_item; ! static OptionStructure *lines_atype_item; static SpinStructure *lines_a_dL_ff_item; static SpinStructure *lines_a_lL_ff_item; static OptionStructure *lines_color_item; static OptionStructure *lines_style_item; static SpinStructure *lines_width_item; ! static OptionStructure *lines_loc_item; static OptionStructure *boxes_color_item; static OptionStructure *boxes_lines_item; static SpinStructure *boxes_linew_item; static OptionStructure *boxes_fillpat_item; static OptionStructure *boxes_fillcol_item; ! static OptionStructure *boxes_loc_item; static OptionStructure *ellip_color_item; static OptionStructure *ellip_lines_item; static SpinStructure *ellip_linew_item; static OptionStructure *ellip_fillpat_item; static OptionStructure *ellip_fillcol_item; ! static OptionStructure *ellip_loc_item; static void define_ellip_popup(void *data); static void define_strings_popup(void *data); *************** *** 511,517 **** OptionStructure *lines_item; OptionStructure *fill_color_item; OptionStructure *fill_pattern_item; ! Widget *loc_item; Widget x1_item; Widget x2_item; Widget y1_item; --- 511,517 ---- OptionStructure *lines_item; OptionStructure *fill_color_item; OptionStructure *fill_pattern_item; ! OptionStructure *loc_item; Widget x1_item; Widget x2_item; Widget y1_item; *************** *** 563,568 **** --- 563,612 ---- } } + void ellipse_edit_proc( Widget w, XtPointer client_data, XtPointer call_data ) + { + EditBoxUI *ui = (EditBoxUI *) client_data; + int ellipno = ui->boxno; + double a, b, c, d; + + if (xv_evalexpr( ui->x1_item, &a ) != RETURN_SUCCESS || + xv_evalexpr( ui->x2_item, &b ) != RETURN_SUCCESS || + xv_evalexpr( ui->y1_item, &c ) != RETURN_SUCCESS || + xv_evalexpr( ui->y2_item, &d ) != RETURN_SUCCESS ) { + return; + } + ellip[ellipno].color = GetOptionChoice(ui->color_item); + ellip[ellipno].loctype = GetChoice(ui->loc_item) ? COORD_VIEW : COORD_WORLD; + ellip[ellipno].lines = GetOptionChoice(ui->lines_item); + ellip[ellipno].linew = GetSpinChoice(ui->linew_item); + ellip[ellipno].fillcolor = GetOptionChoice(ui->fill_color_item); + ellip[ellipno].fillpattern = GetOptionChoice(ui->fill_pattern_item); + ellip[ellipno].x1 = a - b/2.; + ellip[ellipno].x2 = a + b/2.; + ellip[ellipno].y1 = c - d/2.; + ellip[ellipno].y2 = c + d/2.; + + set_dirtystate(); + xdrawgraph(); + } + + + + void sb_ellipse_edit_cb( double s, void *data ) + { + ellipse_edit_proc( NULL, data, NULL ); + } + + void oc_ellipse_edit_cb( int c, void *data ) + { + ellipse_edit_proc( NULL, data, NULL ); + } + + void ti_ellipse_edit_cb( void *data ) + { + ellipse_edit_proc( NULL, data, NULL ); + } + void swap_ellipwv_coords(Widget w, XtPointer client_data, XtPointer call_data) { *************** *** 593,625 **** } - void ellipse_edit_proc(Widget w, XtPointer client_data, XtPointer call_data) - { - EditBoxUI *ui = (EditBoxUI *) client_data; - int ellipno = ui->boxno; - double a, b, c, d; - - if (xv_evalexpr( ui->x1_item, &a ) != RETURN_SUCCESS || - xv_evalexpr( ui->x2_item, &b ) != RETURN_SUCCESS || - xv_evalexpr( ui->y1_item, &c ) != RETURN_SUCCESS || - xv_evalexpr( ui->y2_item, &d ) != RETURN_SUCCESS ) { - return; - } - ellip[ellipno].color = GetOptionChoice(ui->color_item); - ellip[ellipno].loctype = GetChoice(ui->loc_item) ? COORD_VIEW : COORD_WORLD; - ellip[ellipno].lines = GetOptionChoice(ui->lines_item); - ellip[ellipno].linew = GetSpinChoice(ui->linew_item); - ellip[ellipno].fillcolor = GetOptionChoice(ui->fill_color_item); - ellip[ellipno].fillpattern = GetOptionChoice(ui->fill_pattern_item); - ellip[ellipno].x1 = a - b/2.; - ellip[ellipno].x2 = a + b/2.; - ellip[ellipno].y1 = c - d/2.; - ellip[ellipno].y2 = c + d/2.; - - set_dirtystate(); - xdrawgraph(); - } - void swap_boxwv_coords(Widget w, XtPointer client_data, XtPointer call_data) { --- 637,642 ---- *************** *** 668,673 **** --- 685,705 ---- xdrawgraph(); } + void oc_boxedit_cb( int c, void *data ) + { + box_edit_proc( NULL, data, NULL ); + } + + void sb_boxedit_cb( double c, void *data ) + { + box_edit_proc( NULL, data, NULL ); + } + + void ti_boxedit_cb( void *data ) + { + box_edit_proc( NULL, data, NULL ); + } + void box_edit_popup(int boxno) { Widget rc; *************** *** 684,716 **** handle_close(box_ui.top); panel = XmCreateRowColumn(box_ui.top, "boxes_rc", NULL, 0); ! rc = XtVaCreateWidget("rc", xmRowColumnWidgetClass, panel, NULL); box_ui.color_item = CreateColorChoice(rc, "Color: "); box_ui.linew_item = CreateLineWidthChoice(rc, "Line width:"); box_ui.lines_item = CreateLineStyleChoice(rc, "Line style:"); box_ui.fill_pattern_item = CreatePatternChoice(rc, "Fill pattern:"); box_ui.fill_color_item = CreateColorChoice(rc, "Fill color: "); box_ui.loc_item = CreatePanelChoice(rc, "Position in:", 3, "World coordinates", "Viewport coordinates", 0, 0); ! ! XtAddCallback(box_ui.loc_item[2], XmNactivateCallback, ! swap_boxwv_coords, (XtPointer) &box_ui); ! XtAddCallback(box_ui.loc_item[3], XmNactivateCallback, ! swap_boxwv_coords, (XtPointer) &box_ui); ! box_ui.x1_item = CreateTextItem2(rc, 12, "Xmin = "); box_ui.y1_item = CreateTextItem2(rc, 12, "Ymin = "); box_ui.x2_item = CreateTextItem2(rc, 12, "Xmax = "); box_ui.y2_item = CreateTextItem2(rc, 12, "Ymax = "); ManageChild(rc); CreateSeparator(panel); --- 716,753 ---- handle_close(box_ui.top); panel = XmCreateRowColumn(box_ui.top, "boxes_rc", NULL, 0); ! rc = XtVaCreateWidget("rc", xmRowColumnWidgetClass, panel, NULL); box_ui.color_item = CreateColorChoice(rc, "Color: "); + AddOptionChoiceCB(box_ui.color_item, (OC_CBProc)oc_boxedit_cb, &box_ui ); box_ui.linew_item = CreateLineWidthChoice(rc, "Line width:"); + AddSpinButtonCB(box_ui.linew_item, (Spin_CBProc)sb_boxedit_cb, &box_ui ); box_ui.lines_item = CreateLineStyleChoice(rc, "Line style:"); + AddOptionChoiceCB(box_ui.lines_item, (OC_CBProc)oc_boxedit_cb, &box_ui ); box_ui.fill_pattern_item = CreatePatternChoice(rc, "Fill pattern:"); + AddOptionChoiceCB(box_ui.fill_pattern_item, (OC_CBProc)oc_boxedit_cb, &box_ui ); box_ui.fill_color_item = CreateColorChoice(rc, "Fill color: "); + AddOptionChoiceCB(box_ui.fill_color_item,(OC_CBProc)oc_boxedit_cb,&box_ui); box_ui.loc_item = CreatePanelChoice(rc, "Position in:", 3, "World coordinates", "Viewport coordinates", 0, 0); ! AddOptionChoiceCB( box_ui.loc_item, (OC_CBProc)swap_boxwv_coords, ! (void *)&box_ui ); box_ui.x1_item = CreateTextItem2(rc, 12, "Xmin = "); box_ui.y1_item = CreateTextItem2(rc, 12, "Ymin = "); box_ui.x2_item = CreateTextItem2(rc, 12, "Xmax = "); box_ui.y2_item = CreateTextItem2(rc, 12, "Ymax = "); + AddTextItem2CB(box_ui.x1_item,ti_boxedit_cb,&box_ui); + AddTextItem2CB(box_ui.x2_item,ti_boxedit_cb,&box_ui); + AddTextItem2CB(box_ui.y1_item,ti_boxedit_cb,&box_ui); + AddTextItem2CB(box_ui.y2_item,ti_boxedit_cb,&box_ui); ManageChild(rc); CreateSeparator(panel); *************** *** 747,775 **** --- 784,825 ---- rc = XtVaCreateWidget("rc", xmRowColumnWidgetClass, panel, NULL); ellip_ui.color_item = CreateColorChoice(rc, "Color: "); + AddOptionChoiceCB( ellip_ui.color_item, oc_ellipse_edit_cb, &ellip_ui ); ellip_ui.linew_item = CreateLineWidthChoice(rc, "Line width:"); + AddSpinButtonCB( ellip_ui.linew_item, sb_ellipse_edit_cb, &ellip_ui ); ellip_ui.lines_item = CreateLineStyleChoice(rc, "Line style:"); + AddOptionChoiceCB( ellip_ui.lines_item, oc_ellipse_edit_cb, &ellip_ui ); ellip_ui.fill_pattern_item = CreatePatternChoice(rc, "Fill pattern:"); + AddOptionChoiceCB( ellip_ui.fill_pattern_item, oc_ellipse_edit_cb, &ellip_ui ); ellip_ui.fill_color_item = CreateColorChoice(rc, "Fill color: "); + AddOptionChoiceCB( ellip_ui.fill_color_item,oc_ellipse_edit_cb,&ellip_ui ); ellip_ui.loc_item = CreatePanelChoice(rc, "Position in:", 3, "World coordinates", "Viewport coordinates", 0, 0); + /* XtAddCallback(ellip_ui.loc_item[2], XmNactivateCallback, swap_ellipwv_coords, (XtPointer) &ellip_ui ); XtAddCallback(ellip_ui.loc_item[3], XmNactivateCallback, swap_ellipwv_coords, (XtPointer) &ellip_ui ); + */ + AddOptionChoiceCB( ellip_ui.loc_item, (OC_CBProc)swap_ellipwv_coords, + (void *)&ellip_ui ); ellip_ui.x1_item = CreateTextItem2(rc, 12, "Xcentre = "); ellip_ui.y1_item = CreateTextItem2(rc, 12, "Ycentre = "); ellip_ui.x2_item = CreateTextItem2(rc, 12, "Width = "); ellip_ui.y2_item = CreateTextItem2(rc, 12, "Height = "); + AddTextItem2CB( ellip_ui.x1_item, ti_ellipse_edit_cb, &ellip_ui ); + AddTextItem2CB( ellip_ui.x2_item, ti_ellipse_edit_cb, &ellip_ui ); + AddTextItem2CB( ellip_ui.y1_item, ti_ellipse_edit_cb, &ellip_ui ); + AddTextItem2CB( ellip_ui.y2_item, ti_ellipse_edit_cb, &ellip_ui ); ManageChild(rc); CreateSeparator(panel); *************** *** 793,801 **** OptionStructure *color_item; SpinStructure *linew_item; OptionStructure *lines_item; ! Widget *loc_item; ! Widget *arrow_item; ! Widget *atype_item; SpinStructure *asize_item; SpinStructure *dL_ff_item; SpinStructure *lL_ff_item; --- 843,851 ---- OptionStructure *color_item; SpinStructure *linew_item; OptionStructure *lines_item; ! OptionStructure *loc_item; ! OptionStructure *arrow_item; ! OptionStructure *atype_item; SpinStructure *asize_item; SpinStructure *dL_ff_item; SpinStructure *lL_ff_item; *************** *** 880,885 **** --- 930,950 ---- xdrawgraph(); } + void oc_line_edit_cb( int c, void *data ) + { + line_edit_proc( NULL, data, NULL ); + } + + void sb_line_edit_cb( double c, void *data ) + { + line_edit_proc( NULL, data, NULL ); + } + + void ti_line_edit_cb( void *data ) + { + line_edit_proc( NULL, data, NULL ); + } + static EditLineUI line_ui; void line_edit_popup(int lineno) *************** *** 897,909 **** handle_close(line_ui.top); panel = XmCreateRowColumn(line_ui.top, "lines_rc", NULL, 0); ! rc = XtVaCreateWidget("rc", xmRowColumnWidgetClass, panel, NULL); line_ui.color_item = CreateColorChoice(rc, "Color: "); line_ui.linew_item = CreateLineWidthChoice(rc, "Line width:"); line_ui.lines_item = CreateLineStyleChoice(rc, "Line style:"); fr = CreateFrame(rc, "Arrow"); rc2 = XtVaCreateWidget("rc2", xmRowColumnWidgetClass, fr, NULL); --- 962,977 ---- handle_close(line_ui.top); panel = XmCreateRowColumn(line_ui.top, "lines_rc", NULL, 0); ! rc = XtVaCreateWidget("rc", xmRowColumnWidgetClass, panel, NULL); line_ui.color_item = CreateColorChoice(rc, "Color: "); + AddOptionChoiceCB(line_ui.color_item, oc_line_edit_cb, &line_ui ); line_ui.linew_item = CreateLineWidthChoice(rc, "Line width:"); + AddSpinButtonCB(line_ui.linew_item, sb_line_edit_cb, &line_ui ); line_ui.lines_item = CreateLineStyleChoice(rc, "Line style:"); + AddOptionChoiceCB(line_ui.lines_item, oc_line_edit_cb, &line_ui ); fr = CreateFrame(rc, "Arrow"); rc2 = XtVaCreateWidget("rc2", xmRowColumnWidgetClass, fr, NULL); *************** *** 915,920 **** --- 983,989 ---- "Both ends", 0, 0); + AddOptionChoiceCB(line_ui.arrow_item, oc_line_edit_cb, &line_ui ); line_ui.atype_item = CreatePanelChoice(rc2, "Type:", 4, *************** *** 923,935 **** --- 992,1008 ---- "Opaque", 0, 0); + AddOptionChoiceCB(line_ui.atype_item, oc_line_edit_cb, &line_ui ); line_ui.asize_item = CreateSpinChoice(rc2, "Length", 4, SPIN_TYPE_FLOAT, -10.0, 10.0, 0.5); + AddSpinButtonCB(line_ui.asize_item, sb_line_edit_cb, &line_ui ); line_ui.dL_ff_item = CreateSpinChoice(rc2, "d/L form factor", 4, SPIN_TYPE_FLOAT, 0.0, 10.0, 0.1); + AddSpinButtonCB(line_ui.dL_ff_item, sb_line_edit_cb, &line_ui ); line_ui.lL_ff_item = CreateSpinChoice(rc2, "l/L form factor", 4, SPIN_TYPE_FLOAT, -1.0, 1.0, 0.1); + AddSpinButtonCB(line_ui.lL_ff_item, sb_line_edit_cb, &line_ui ); ManageChild(rc2); line_ui.loc_item = CreatePanelChoice(rc, "Position in:", *************** *** 938,953 **** "Viewport coordinates", 0, 0); ! XtAddCallback(line_ui.loc_item[2], XmNactivateCallback, ! swap_linewv_coords, (XtPointer) &line_ui); ! XtAddCallback(line_ui.loc_item[3], XmNactivateCallback, ! swap_linewv_coords, (XtPointer) &line_ui); ! line_ui.x1_item = CreateTextItem2(rc, 12, "X1 = "); line_ui.y1_item = CreateTextItem2(rc, 12, "Y1 = "); line_ui.x2_item = CreateTextItem2(rc, 12, "X2 = "); line_ui.y2_item = CreateTextItem2(rc, 12, "Y2 = "); ManageChild(rc); CreateSeparator(panel); --- 1011,1027 ---- "Viewport coordinates", 0, 0); ! AddOptionChoiceCB( line_ui.loc_item, (OC_CBProc)swap_linewv_coords, ! (void *)&line_ui); line_ui.x1_item = CreateTextItem2(rc, 12, "X1 = "); line_ui.y1_item = CreateTextItem2(rc, 12, "Y1 = "); line_ui.x2_item = CreateTextItem2(rc, 12, "X2 = "); line_ui.y2_item = CreateTextItem2(rc, 12, "Y2 = "); + AddTextItem2CB(line_ui.x1_item, ti_line_edit_cb, &line_ui ); + AddTextItem2CB(line_ui.x2_item, ti_line_edit_cb, &line_ui ); + AddTextItem2CB(line_ui.y1_item, ti_line_edit_cb, &line_ui ); + AddTextItem2CB(line_ui.y2_item, ti_line_edit_cb, &line_ui ); ManageChild(rc); CreateSeparator(panel); *************** *** 970,976 **** Widget top; TextStructure *string_item; OptionStructure *color_item; ! Widget *loc_item; OptionStructure *font_item; Widget size_item; Widget rot_item; --- 1044,1050 ---- Widget top; TextStructure *string_item; OptionStructure *color_item; ! OptionStructure *loc_item; OptionStructure *font_item; Widget size_item; Widget rot_item; *************** *** 1041,1046 **** --- 1115,1135 ---- xdrawgraph(); } + void oc_string_edit_cb( int c, void *data ) + { + string_edit_proc( NULL, data, NULL ); + } + + void sb_string_edit_cb( double c, void *data ) + { + string_edit_proc( NULL, data, NULL ); + } + + void ti_string_edit_cb( void *data ) + { + string_edit_proc( NULL, data, NULL ); + } + static EditStringUI string_ui; void string_edit_popup(int stringno) *************** *** 1059,1093 **** panel = XmCreateRowColumn(string_ui.top, "strings_rc", NULL, 0); string_ui.string_item = CreateCSText(panel, "String:"); ! rc = XtVaCreateWidget("rc", xmRowColumnWidgetClass, panel, NULL); string_ui.color_item = CreateColorChoice(rc, "Color: "); ! string_ui.font_item = CreateFontChoice(rc, "Font:"); ! string_ui.just_item = CreateJustChoice(rc, "Justification:"); ! string_ui.loc_item = CreatePanelChoice(rc, "Position in:", 3, "World coordinates", "Viewport coordinates", 0, 0); ! XtAddCallback(string_ui.loc_item[2], XmNactivateCallback, ! swap_stringwv_coords, (XtPointer) &string_ui); ! XtAddCallback(string_ui.loc_item[3], XmNactivateCallback, ! swap_stringwv_coords, (XtPointer) &string_ui); string_ui.x1_item = CreateTextItem2(rc, 12, "X = "); string_ui.y1_item = CreateTextItem2(rc, 12, "Y = "); ManageChild(rc); string_ui.rot_item = CreateAngleChoice(panel, "Rotation"); string_ui.size_item = CreateCharSizeChoice(panel, "Size"); CreateSeparator(panel); --- 1148,1187 ---- panel = XmCreateRowColumn(string_ui.top, "strings_rc", NULL, 0); string_ui.string_item = CreateCSText(panel, "String:"); + AddTextInputCB( string_ui.string_item, ti_string_edit_cb, &string_ui ); ! rc = XtVaCreateWidget("rc", xmRowColumnWidgetClass, panel, NULL); string_ui.color_item = CreateColorChoice(rc, "Color: "); ! AddOptionChoiceCB( string_ui.color_item, oc_string_edit_cb, &string_ui ); string_ui.font_item = CreateFontChoice(rc, "Font:"); + AddOptionChoiceCB( string_ui.font_item, oc_string_edit_cb, &string_ui ); ! string_ui.just_item = CreateJustChoice(rc, "Justification:"); ! AddOptionChoiceCB( string_ui.just_item, oc_string_edit_cb, &string_ui ); ! string_ui.loc_item = CreatePanelChoice(rc, "Position in:", 3, "World coordinates", "Viewport coordinates", 0, 0); ! AddOptionChoiceCB( string_ui.loc_item, (OC_CBProc)swap_stringwv_coords, ! (void *)&string_ui ); string_ui.x1_item = CreateTextItem2(rc, 12, "X = "); + AddTextItem2CB( string_ui.x1_item, ti_string_edit_cb, &string_ui ); string_ui.y1_item = CreateTextItem2(rc, 12, "Y = "); + AddTextItem2CB( string_ui.y1_item, ti_string_edit_cb, &string_ui ); ManageChild(rc); string_ui.rot_item = CreateAngleChoice(panel, "Rotation"); + AddScaleCB( string_ui.rot_item, oc_string_edit_cb, &string_ui ); string_ui.size_item = CreateCharSizeChoice(panel, "Size"); + AddScaleCB( string_ui.size_item, oc_string_edit_cb, &string_ui ); CreateSeparator(panel); diff -C 3 -P --exclude-from=/home/vigmond/src/exclude-iu-file -r ./src/tags ../grace-5.1.12iu/src/tags *** ./src/tags 1969-12-31 17:00:00.000000000 -0700 --- ../grace-5.1.12iu/src/tags 2003-02-26 10:47:42.000000000 -0700 *************** *** 0 **** --- 1,4776 ---- + !_TAG_FILE_FORMAT 2 /extended format; --format=1 will not append ;" to lines/ + !_TAG_FILE_SORTED 1 /0=unsorted, 1=sorted/ + !_TAG_PROGRAM_AUTHOR Darren Hiebert /dhiebert@users.sourceforge.net/ + !_TAG_PROGRAM_NAME Exuberant Ctags // + !_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/ + !_TAG_PROGRAM_VERSION 5.2.3 // + AACDialog_CBProc motifinc.h /^typedef int (*AACDialog_CBProc)($/;" t + AACDialog_CBdata motifutils.c /^} AACDialog_CBdata;$/;" t file: + AAC_ACCEPT motifinc.h 44;" d + AAC_APPLY motifinc.h 45;" d + AAC_CLOSE motifinc.h 46;" d + AAGrayLevelsOK draw.c /^int AAGrayLevelsOK = FALSE; \/* used to invalidate AA gray levels' cache *\/$/;" v + ABOVE pars.c 32;" d file: + ABSOLUTE pars.c 33;" d file: + ACTIONPROC Tab.c 55;" d file: + ADDRESS_FUNCTION alloca.c 64;" d file: + ADDRESS_FUNCTION alloca.c 66;" d file: + ADD_POINT events.h /^ ADD_POINT,$/;" e + ADD_POINT_BEGINNING events.h 88;" d + ADD_POINT_END events.h 89;" d + ADD_POINT_NEAREST events.h 90;" d + ALIAS pars.c 34;" d file: + ALIGN_BEGINNING motifinc.h 54;" d + ALIGN_CENTER motifinc.h 55;" d + ALIGN_END motifinc.h 56;" d + ALIGN_SIZE alloca.c 135;" d file: + ALL_AXES defines.h 116;" d + ALL_GRAPHS defines.h 134;" d + ALL_SETS defines.h 127;" d + ALL_X_AXES defines.h 117;" d + ALL_Y_AXES defines.h 118;" d + ALT pars.c 35;" d file: + ALTXAXIS pars.c 36;" d file: + ALTYAXIS pars.c 37;" d file: + AND pars.c 370;" d file: + ANGLE pars.c 38;" d file: + ANTIALIASING pars.c 39;" d file: + APPEND pars.c 40;" d file: + ARCFILL_CHORD draw.h 53;" d + ARCFILL_PIESLICE draw.h 54;" d + ARRANGE pars.c 41;" d file: + ARROW pars.c 42;" d file: + ASCENDING pars.c 43;" d file: + ASPLINE pars.c 44;" d file: + AUTO pars.c 45;" d file: + AUTOSCALE pars.c 46;" d file: + AUTOSCALE_NONE defines.h 272;" d + AUTOSCALE_X defines.h 273;" d + AUTOSCALE_XY defines.h 275;" d + AUTOSCALE_Y defines.h 274;" d + AUTOTICKS pars.c 47;" d file: + AUTO_NEAREST events.h /^ AUTO_NEAREST,$/;" e + AVALUE pars.c 48;" d file: + AVALUE_TYPE_NONE defines.h 341;" d + AVALUE_TYPE_STRING defines.h 345;" d + AVALUE_TYPE_X defines.h 342;" d + AVALUE_TYPE_XY defines.h 344;" d + AVALUE_TYPE_Y defines.h 343;" d + AVALUE_TYPE_Z defines.h 346;" d + AVG pars.c 49;" d file: + AValue defines.h /^} AValue;$/;" t + AXIS_TYPE_ANY defines.h 108;" d + AXIS_TYPE_BAD defines.h 111;" d + AXIS_TYPE_X defines.h 109;" d + AXIS_TYPE_Y defines.h 110;" d + AddButtonCB motifutils.c /^void AddButtonCB(Widget button, Button_CBProc cbproc, void *data)$/;" f + AddChoiceCB motifutils.c /^void AddChoiceCB( OptionStructure *opt, OC_CBProc cbproc, void *anydata)$/;" f + AddDialogFormChild motifutils.c /^void AddDialogFormChild(Widget form, Widget child)$/;" f + AddFileSelectionBoxCB motifutils.c /^void AddFileSelectionBoxCB(FSBStructure *fsb, FSB_CBProc cbproc, void *anydata)$/;" f + AddHelpCB motifutils.c /^void AddHelpCB(Widget w, char *ha)$/;" f + AddListChoiceCB motifutils.c /^void AddListChoiceCB(ListStructure *listp, List_CBProc cbproc, void *anydata)$/;" f + AddOptionChoiceCB motifutils.c /^void AddOptionChoiceCB(OptionStructure *opt, OC_CBProc cbproc, void *anydata)$/;" f + AddScaleCB motifutils.c /^void AddScaleCB( Widget w, OC_CBProc cbproc, void *anydata )$/;" f + AddSpinButtonCB motifutils.c /^void AddSpinButtonCB( SpinStructure *opt, Spin_CBProc cbproc, void *anydata )$/;" f + AddTextInputCB motifutils.c /^void AddTextInputCB(TextStructure *cst, Text_CBProc cbproc, void *data)$/;" f + AddTextItem2CB motifinc.h 60;" d + AddToggleButtonCB motifutils.c /^void AddToggleButtonCB(Widget w, TB_CBProc cbproc, void *anydata)$/;" f + AlignLabel motifutils.c /^void AlignLabel(Widget w, int alignment)$/;" f + ApplicationData xmgrace.c /^ApplicationData, *ApplicationDataPtr;$/;" t file: + ApplicationDataPtr xmgrace.c /^ApplicationData, *ApplicationDataPtr;$/;" t file: + Arrange_ui worldwin.c /^} Arrange_ui;$/;" t file: + Arrow defines.h /^} Arrow;$/;" t + Auto_ui worldwin.c /^} Auto_ui;$/;" t file: + BACKGROUND pars.c 50;" d file: + BAD_COLOR draw.h 114;" d + BAD_FONT_ID t1fonts.h 59;" d + BAR pars.c 51;" d file: + BARDY pars.c 52;" d file: + BARDYDY pars.c 53;" d file: + BASELINE pars.c 54;" d file: + BASELINE_TYPE_0 defines.h 328;" d + BASELINE_TYPE_GMAX defines.h 332;" d + BASELINE_TYPE_GMIN defines.h 331;" d + BASELINE_TYPE_SAVG defines.h 333;" d + BASELINE_TYPE_SMAX defines.h 330;" d + BASELINE_TYPE_SMIN defines.h 329;" d + BATCH pars.c 55;" d file: + BBOX_TYPE_GLOB draw.h 127;" d + BBOX_TYPE_TEMP draw.h 128;" d + BBox_type draw.h /^} BBox_type;$/;" t + BEGIN pars.c 56;" d file: + BELOW pars.c 57;" d file: + BETWEEN pars.c 58;" d file: + BI_CCOMPILER buildinfo.h 9;" d + BI_DATE buildinfo.h 11;" d + BI_GUI buildinfo.h 3;" d + BI_GUI_XBAE buildinfo.h 4;" d + BI_LIBJPEG buildinfo.h 7;" d + BI_LIBPDF buildinfo.h 8;" d + BI_PNGLIB buildinfo.h 6;" d + BI_SYSTEM buildinfo.h 10;" d + BI_T1LIB buildinfo.h 5;" d + BI_VERSION buildinfo.h 2;" d + BI_VERSION_ID buildinfo.h 1;" d + BLACKMAN pars.c 59;" d file: + BLOCK pars.c 60;" d file: + BOTH pars.c 61;" d file: + BOTTOM pars.c 62;" d file: + BOX pars.c 63;" d file: + BUFSIZE files.c 71;" d file: + BitmapOptionItem motifinc.h /^} BitmapOptionItem;$/;" t + Button_CBProc motifinc.h /^typedef void (*Button_CBProc)($/;" t + Button_CBdata motifutils.c /^} Button_CBdata;$/;" t file: + C1 mathstuff.c 180;" d file: + C2 mathstuff.c 181;" d file: + CAST_DBL_TO_BOOL pars.c 451;" d file: + CD pars.c 64;" d file: + CELL_FORMAT editpwin.c 73;" d file: + CELL_PREC editpwin.c 70;" d file: + CELL_WIDTH editpwin.c 76;" d file: + CENTER pars.c 65;" d file: + CEPHES_LIB Makefile /^CEPHES_LIB=$(TOP)\/cephes\/libcephes.a$/;" m + CFLAGS Makefile /^CFLAGS=$(CFLAGS0) -I$(TOP) -I. $(T1_INC) $(XBAE_INC) $(CPPFLAGS) $(GUI_FLAGS)$/;" m + CHAR pars.c 66;" d file: + CHART pars.c 67;" d file: + CHRSTR pars.c 68;" d file: + CHUNKSIZE files.c 80;" d file: + CH_CBdata motifutils.c /^} CH_CBdata;$/;" t file: + CLEAR pars.c 69;" d file: + CLICK pars.c 70;" d file: + CLICKINT events.h 100;" d + CLIP pars.c 71;" d file: + CLOSE pars.c 72;" d file: + CMAP_INSTALL_ALWAYS x11drv.h 34;" d + CMAP_INSTALL_AUTO x11drv.h 35;" d + CMAP_INSTALL_NEVER x11drv.h 33;" d + CM_PER_INCH device.h 44;" d + CMap_entry draw.h /^} CMap_entry;$/;" t + COEFFICIENTS pars.c 73;" d file: + COLOR pars.c 74;" d file: + COLOR_AUX draw.h 117;" d + COLOR_MAIN draw.h 118;" d + COLOR_NONE draw.h 116;" d + COMMENT pars.c 75;" d file: + COMPLEX pars.c 76;" d file: + COMP_AREA events.h /^ COMP_AREA,$/;" e + COMP_PERIMETER events.h /^ COMP_PERIMETER,$/;" e + CONSTANT pars.c 22;" d file: + CONSTRAINTS pars.c 77;" d file: + COORDINATES_POLAR defines.h 95;" d + COORDINATES_XY defines.h 94;" d + COORD_VIEW defines.h 180;" d + COORD_WORLD defines.h 181;" d + COPY pars.c 78;" d file: + COPY_OBJECT1ST events.h /^ COPY_OBJECT1ST,$/;" e + COPY_OBJECT2ND events.h /^ COPY_OBJECT2ND,$/;" e + CRAY_STACK alloca.c 279;" d file: + CSYNC_LINE setappwin.c 57;" d file: + CSYNC_SYM setappwin.c 58;" d file: + CYCLE pars.c 79;" d file: + C_f f2c.h /^typedef VOID C_f; \/* complex function *\/$/;" t + C_fp f2c.h /^typedef \/* Complex *\/ VOID (*C_fp)();$/;" t + C_fp f2c.h /^typedef \/* Complex *\/ VOID (*C_fp)(...);$/;" t + CanvasAction events.h /^} CanvasAction;$/;" t + ChangeManaged Tab.c /^static void ChangeManaged(Widget w)$/;" f file: + ClickAction Tab.c /^ACTIONPROC(ClickAction);$/;" v + ClickAction Tab.c /^static void ClickAction(Widget w, XEvent *event,$/;" f file: + CompositeString t1fonts.h /^} CompositeString;$/;" t + Constraint_Destroy Tab.c /^static void Constraint_Destroy(Widget w)$/;" f file: + Constraint_Initialize Tab.c /^static void Constraint_Initialize(Widget treq,Widget tnew,$/;" f file: + Constraint_SetValues Tab.c /^static Boolean Constraint_SetValues(Widget current,Widget request, Widget new,$/;" f file: + ContextHelpCB motifutils.c /^void ContextHelpCB(void *data)$/;" f + CreateAACButtons motifutils.c /^Widget CreateAACButtons(Widget parent, Widget form, Button_CBProc aac_cb)$/;" f + CreateAACDialog motifutils.c /^void CreateAACDialog(Widget form,$/;" f + CreateASChoice motifutils.c /^OptionStructure *CreateASChoice(Widget parent, char *s)$/;" f + CreateAngleChoice motifutils.c /^Widget CreateAngleChoice(Widget parent, char *s)$/;" f + CreateBitmapButton motifutils.c /^Widget CreateBitmapButton(Widget parent,$/;" f + CreateBitmapOptionChoice motifutils.c /^OptionStructure *CreateBitmapOptionChoice(Widget parent, char *labelstr, int ncols,$/;" f + CreateButton motifutils.c /^Widget CreateButton(Widget parent, char *label)$/;" f + CreateCSText motifutils.c /^TextStructure *CreateCSText(Widget parent, char *s)$/;" f + CreateCharSizeChoice motifutils.c /^Widget CreateCharSizeChoice(Widget parent, char *s)$/;" f + CreateColorChoice motifutils.c /^OptionStructure *CreateColorChoice(Widget parent, char *s)$/;" f + CreateCommandButtons motifutils.c /^Widget CreateCommandButtons(Widget parent, int n, Widget * buts, char **l)$/;" f + CreateCommandButtonsNoDefault motifutils.c /^Widget CreateCommandButtonsNoDefault(Widget parent, int n, Widget * buts, char **l)$/;" f + CreateDialogForm motifutils.c /^Widget CreateDialogForm(Widget parent, char *s)$/;" f + CreateFileSelectionBox motifutils.c /^FSBStructure *CreateFileSelectionBox(Widget parent, char *s)$/;" f + CreateFontChoice motifutils.c /^OptionStructure *CreateFontChoice(Widget parent, char *s)$/;" f + CreateFormatChoice motifutils.c /^OptionStructure *CreateFormatChoice(Widget parent, char *s)$/;" f + CreateFrame motifutils.c /^Widget CreateFrame(Widget parent, char *s)$/;" f + CreateGraphChoice motifutils.c /^ListStructure *CreateGraphChoice(Widget parent, char *labelstr, int type)$/;" f + CreateGraphPopupEntries motifutils.c /^GraphPopupMenu *CreateGraphPopupEntries(ListStructure *listp)$/;" f + CreateGraphSetSelector motifutils.c /^GraphSetStructure *CreateGraphSetSelector(Widget parent, char *s, int sel_type)$/;" f + CreateGrid motifutils.c /^Widget CreateGrid(Widget parent, int ncols, int nrows)$/;" f + CreateHContainer motifutils.c /^Widget CreateHContainer(Widget parent)$/;" f + CreateJustChoice motifutils.c /^OptionStructure *CreateJustChoice(Widget parent, char *s)$/;" f + CreateLabel motifutils.c /^Widget CreateLabel(Widget parent, char *s)$/;" f + CreateLineStyleChoice motifutils.c /^OptionStructure *CreateLineStyleChoice(Widget parent, char *s)$/;" f + CreateLineWidthChoice motifutils.c /^SpinStructure *CreateLineWidthChoice(Widget parent, char *s)$/;" f + CreateListChoice motifutils.c /^ListStructure *CreateListChoice(Widget parent, char *labelstr, int type,$/;" f + CreateMainMenuBar xmgrace.c /^static Widget CreateMainMenuBar(Widget parent)$/;" f file: + CreateMenu motifutils.c /^Widget CreateMenu(Widget parent, char *label, char mnemonic, int help)$/;" f + CreateMenuBar motifutils.c /^Widget CreateMenuBar(Widget parent)$/;" f + CreateMenuButton motifutils.c /^Widget CreateMenuButton(Widget parent, char *label, char mnemonic,$/;" f + CreateMenuCloseButton motifutils.c /^Widget CreateMenuCloseButton(Widget parent, Widget form)$/;" f + CreateMenuHelpButton motifutils.c /^Widget CreateMenuHelpButton(Widget parent, char *label, char mnemonic,$/;" f + CreateMenuLabel motifutils.c /^Widget CreateMenuLabel(Widget parent, char *name)$/;" f + CreateMenuSeparator motifinc.h 58;" d + CreateMenuToggle motifutils.c /^Widget CreateMenuToggle(Widget parent, char *label, char mnemonic,$/;" f + CreateOptionChoice motifutils.c /^OptionStructure *CreateOptionChoice(Widget parent, char *labelstr, int ncols,$/;" f + CreatePanelChoice motifutils.c /^OptionStructure *CreatePanelChoice(Widget parent, char *labelstr, int nchoices,...)$/;" f + CreatePatternChoice motifutils.c /^OptionStructure *CreatePatternChoice(Widget parent, char *s)$/;" f + CreatePrecisionChoice motifutils.c /^OptionStructure *CreatePrecisionChoice(Widget parent, char *s)$/;" f + CreateRestrictionChoice motifutils.c /^RestrictionStructure *CreateRestrictionChoice(Widget parent, char *s)$/;" f + CreateScale motifutils.c /^Widget CreateScale(Widget parent, char *s, int min, int max, int delta)$/;" f + CreateScrollTextItem2 motifutils.c /^Widget CreateScrollTextItem2(Widget parent, int hgt, char *s)$/;" f + CreateSeparator motifutils.c /^Widget CreateSeparator(Widget parent)$/;" f + CreateSetChoice motifutils.c /^ListStructure *CreateSetChoice(Widget parent, char *labelstr, $/;" f + CreateSetPopupEntries motifutils.c /^SetPopupMenu *CreateSetPopupEntries(ListStructure *listp)$/;" f + CreateSetSelector motifutils.c /^SetChoiceItem CreateSetSelector(Widget parent,$/;" f + CreateSetTypeChoice motifutils.c /^OptionStructure *CreateSetTypeChoice(Widget parent, char *s)$/;" f + CreateSpinChoice motifutils.c /^SpinStructure *CreateSpinChoice(Widget parent, char *s, int len,$/;" f + CreateSrcDestSelector motifutils.c /^SrcDestStructure *CreateSrcDestSelector(Widget parent, int sel_type)$/;" f + CreateTab motifutils.c /^Widget CreateTab(Widget parent)$/;" f + CreateTabPage motifutils.c /^Widget CreateTabPage(Widget parent, char *s)$/;" f + CreateTextInput motifutils.c /^TextStructure *CreateTextInput(Widget parent, char *s)$/;" f + CreateTextItem2 motifutils.c /^Widget CreateTextItem2(Widget parent, int len, char *s)$/;" f + CreateTextItem4 motifutils.c /^Widget CreateTextItem4(Widget parent, int len, char *label)$/;" f + CreateToggleButton motifutils.c /^Widget CreateToggleButton(Widget parent, char *s)$/;" f + CreateTransformDialogForm motifutils.c /^TransformStructure *CreateTransformDialogForm(Widget parent,$/;" f + CreateVContainer motifutils.c /^Widget CreateVContainer(Widget parent)$/;" f + Cross_ui compwin.c /^} Cross_ui;$/;" t file: + DATASETOP_DROP setwin.c /^ DATASETOP_DROP$/;" e file: + DATASETOP_JOIN setwin.c /^ DATASETOP_JOIN,$/;" e file: + DATASETOP_REVERSE setwin.c /^ DATASETOP_REVERSE,$/;" e file: + DATASETOP_SORT setwin.c /^ DATASETOP_SORT,$/;" e file: + DATASETOP_SPLIT setwin.c /^ DATASETOP_SPLIT,$/;" e file: + DATA_BAD graphs.h /^ DATA_BAD$/;" e + DATA_X graphs.h /^ DATA_X ,$/;" e + DATA_Y graphs.h /^ DATA_Y ,$/;" e + DATA_Y1 graphs.h /^ DATA_Y1,$/;" e + DATA_Y2 graphs.h /^ DATA_Y2,$/;" e + DATA_Y3 graphs.h /^ DATA_Y3,$/;" e + DATA_Y4 graphs.h /^ DATA_Y4,$/;" e + DATE pars.c 19;" d file: + DAYMONTH pars.c 80;" d file: + DAYOFWEEKL pars.c 81;" d file: + DAYOFWEEKS pars.c 82;" d file: + DAYOFYEAR pars.c 83;" d file: + DDMMYY pars.c 84;" d file: + DECIMAL pars.c 85;" d file: + DEF pars.c 86;" d file: + DEFAULT pars.c 87;" d file: + DEFAULT_FONT_LIST Tab.c 56;" d file: + DEFAULT_PAGE_HEIGHT device.h 41;" d + DEFAULT_PAGE_WIDTH device.h 40;" d + DEFAULT_PNM_FORMAT rstdrv.h 44;" d + DEFAULT_PS_FORMAT psdrv.h 35;" d + DEFAULT_RASTER_FORMAT rstdrv.h 37;" d + DEFINE pars.c 88;" d file: + DEF_REGION events.h /^ DEF_REGION,$/;" e + DEF_REGION1ST events.h /^ DEF_REGION1ST,$/;" e + DEF_REGION2ND events.h /^ DEF_REGION2ND,$/;" e + DEGREESLAT pars.c 89;" d file: + DEGREESLON pars.c 90;" d file: + DEGREESMMLAT pars.c 91;" d file: + DEGREESMMLON pars.c 92;" d file: + DEGREESMMSSLAT pars.c 93;" d file: + DEGREESMMSSLON pars.c 94;" d file: + DEL_OBJECT events.h /^ DEL_OBJECT,$/;" e + DEL_POINT events.h /^ DEL_POINT,$/;" e + DESCENDING pars.c 95;" d file: + DESCRIPTION pars.c 96;" d file: + DEVICE pars.c 97;" d file: + DEVICE_FILE device.h 49;" d + DEVICE_PRINT device.h 50;" d + DEVICE_TERM device.h 48;" d + DFT pars.c 98;" d file: + DIFFERENCE pars.c 99;" d file: + DISK pars.c 100;" d file: + DISLINE1ST events.h /^ DISLINE1ST,$/;" e + DISLINE2ND events.h /^ DISLINE2ND$/;" e + DOCDATA_7BIT psdrv.h 41;" d + DOCDATA_8BIT psdrv.h 42;" d + DOCDATA_BINARY psdrv.h 43;" d + DOWN pars.c 101;" d file: + DO_NOTHING events.h /^ DO_NOTHING,$/;" e + DPI pars.c 102;" d file: + DROP pars.c 103;" d file: + DROPLINE pars.c 104;" d file: + D_fp f2c.h /^typedef doublereal (*D_fp)(), (*E_fp)();$/;" t + D_fp f2c.h /^typedef doublereal (*D_fp)(...), (*E_fp)(...);$/;" t + DataColumn graphs.h /^} DataColumn;$/;" t + Datapoint graphs.h /^} Datapoint;$/;" t + Dataset graphs.h /^} Dataset;$/;" t + Datasetop_ui setwin.c /^} Datasetop_ui;$/;" t file: + Dates_format defines.h /^ } Dates_format;$/;" t + DefEncoding t1fonts.c /^static char **DefEncoding = NULL;$/;" v file: + DefineDialogCursor motifutils.c /^void DefineDialogCursor(Cursor c)$/;" f + DeleteChild Tab.c /^static void DeleteChild(Widget w)$/;" f file: + Destroy Tab.c /^static void Destroy(Widget w)$/;" f file: + Device_entry device.h /^} Device_entry;$/;" t + Diff_ui compwin.c /^} Diff_ui;$/;" t file: + Digf_ui compwin.c /^} Digf_ui;$/;" t file: + DrawArc draw.c /^void DrawArc(VPoint vp1, VPoint vp2, int angle1, int angle2)$/;" f + DrawCB fontwin.c /^static void DrawCB(Widget w, XtPointer cd, XbaeMatrixDrawCellCallbackStruct *cbs)$/;" f file: + DrawCircle draw.c /^void DrawCircle(VPoint vp, double radius)$/;" f + DrawEllipse draw.c /^void DrawEllipse(VPoint vp1, VPoint vp2)$/;" f + DrawFilledArc draw.c /^void DrawFilledArc(VPoint vp1, VPoint vp2, int angle1, int angle2, int mode)$/;" f + DrawFilledCircle draw.c /^void DrawFilledCircle(VPoint vp, double radius)$/;" f + DrawFilledEllipse draw.c /^void DrawFilledEllipse(VPoint vp1, VPoint vp2)$/;" f + DrawLine draw.c /^void DrawLine(VPoint vp1, VPoint vp2)$/;" f + DrawPixel draw.c /^void DrawPixel(VPoint vp)$/;" f + DrawPolygon draw.c /^void DrawPolygon(VPoint *vps, int n)$/;" f + DrawPolyline draw.c /^void DrawPolyline(VPoint *vps, int n, int mode)$/;" f + DrawProps draw.h /^} DrawProps;$/;" t + DrawRect draw.c /^void DrawRect(VPoint vp1, VPoint vp2)$/;" f + DrawShadowLines Tab.c /^void DrawShadowLines(Display *display, Drawable drawable, GC gc,$/;" f + ECHO pars.c 105;" d file: + EDIT_OBJECT events.h /^ EDIT_OBJECT,$/;" e + ELLIPSE pars.c 106;" d file: + ENGINEERING pars.c 107;" d file: + ENLARGE_SCALE t1fonts.h 71;" d + EPS_FORMAT psdrv.h 32;" d + EQ pars.c 375;" d file: + ERROR missing.c 75;" d file: + ERRORBAR pars.c 108;" d file: + EXIT pars.c 109;" d file: + EXPONENTIAL pars.c 110;" d file: + E_f f2c.h /^typedef doublereal E_f; \/* real function with -R not specified *\/$/;" t + E_fp f2c.h /^typedef doublereal (*D_fp)(), (*E_fp)();$/;" t + E_fp f2c.h /^typedef doublereal (*D_fp)(...), (*E_fp)(...);$/;" t + EditBoxUI strwin.c /^} EditBoxUI;$/;" t file: + EditLineUI strwin.c /^} EditLineUI;$/;" t file: + EditPoints editpwin.c /^} EditPoints;$/;" t file: + EditStringCB fontwin.c /^static void EditStringCB(Widget w, XtPointer client_data, XmAnyCallbackStruct *cbs)$/;" f file: + EditStringUI strwin.c /^} EditStringUI;$/;" t file: + EnterCB fontwin.c /^static void EnterCB(Widget w, XtPointer cd, XbaeMatrixEnterCellCallbackStruct *cbs)$/;" f file: + Errbar defines.h /^} Errbar;$/;" t + Eval_ui compwin.c /^} Eval_ui;$/;" t file: + Extern f2c.h 62;" d + F2C_INCLUDE f2c.h 36;" d + F2C_proc_par_types f2c.h 202;" d + FALSE defines.h 268;" d + FALSE_ f2c.h 58;" d + FATAL missing.c 76;" d file: + FFORMAT_DATE ssdata.h 40;" d + FFORMAT_NUMBER ssdata.h 38;" d + FFORMAT_STRING ssdata.h 39;" d + FFT pars.c 111;" d file: + FFT_DFT defines.h 257;" d + FFT_FFT defines.h 255;" d + FFT_INVDFT defines.h 258;" d + FFT_INVFFT defines.h 256;" d + FILEP pars.c 112;" d file: + FILL pars.c 113;" d file: + FILLRULE_EVENODD draw.h 50;" d + FILLRULE_WINDING draw.h 49;" d + FILTER_INPUT defines.h 313;" d + FILTER_MAGIC defines.h 316;" d + FILTER_NONE missing.c /^static enum filtact { FILTER_NONE, FILTER_READ, FILTER_WRITE } filt_act;$/;" e enum:filtact file: + FILTER_OUTPUT defines.h 314;" d + FILTER_PATTERN defines.h 317;" d + FILTER_READ missing.c /^static enum filtact { FILTER_NONE, FILTER_READ, FILTER_WRITE } filt_act;$/;" e enum:filtact file: + FILTER_SELECT_ACTIVE defines.h 288;" d + FILTER_SELECT_ALL defines.h 289;" d + FILTER_SELECT_DEACT defines.h 291;" d + FILTER_SELECT_INACT defines.h 290;" d + FILTER_SELECT_NONE defines.h 287;" d + FILTER_SELECT_SORT defines.h 292;" d + FILTER_WRITE missing.c /^static enum filtact { FILTER_NONE, FILTER_READ, FILTER_WRITE } filt_act;$/;" e enum:filtact file: + FIT pars.c 114;" d file: + FITPARM pars.c 364;" d file: + FITPMAX pars.c 365;" d file: + FITPMIN pars.c 366;" d file: + FIXED pars.c 115;" d file: + FIXEDPOINT pars.c 116;" d file: + FLUSH pars.c 117;" d file: + FMT_european defines.h /^ FMT_european,$/;" e + FMT_iso defines.h /^typedef enum { FMT_iso,$/;" e + FMT_nohint defines.h /^ FMT_nohint$/;" e + FMT_us defines.h /^ FMT_us,$/;" e + FOCUS pars.c 118;" d file: + FOCUS_CLICK defines.h 224;" d + FOCUS_FOLLOWS defines.h 226;" d + FOCUS_SET defines.h 225;" d + FOLLOWS pars.c 119;" d file: + FONTP pars.c 120;" d file: + FONT_MAP_ACEGR t1fonts.h 63;" d + FONT_MAP_DEFAULT t1fonts.h 62;" d + FORCE pars.c 121;" d file: + FORMAT pars.c 122;" d file: + FORMAT_DAYMONTH defines.h 203;" d + FORMAT_DAYOFWEEKL defines.h 208;" d + FORMAT_DAYOFWEEKS defines.h 207;" d + FORMAT_DAYOFYEAR defines.h 209;" d + FORMAT_DDMMYY defines.h 197;" d + FORMAT_DECIMAL defines.h 191;" d + FORMAT_DEGREESLAT defines.h 218;" d + FORMAT_DEGREESLON defines.h 214;" d + FORMAT_DEGREESMMLAT defines.h 219;" d + FORMAT_DEGREESMMLON defines.h 215;" d + FORMAT_DEGREESMMSSLAT defines.h 220;" d + FORMAT_DEGREESMMSSLON defines.h 216;" d + FORMAT_ENGINEERING defines.h 196;" d + FORMAT_EXPONENTIAL defines.h 192;" d + FORMAT_GENERAL defines.h 193;" d + FORMAT_HMS defines.h 210;" d + FORMAT_INVALID defines.h 190;" d + FORMAT_MMDD defines.h 201;" d + FORMAT_MMDDHMS defines.h 211;" d + FORMAT_MMDDYY defines.h 198;" d + FORMAT_MMDDYYHMS defines.h 212;" d + FORMAT_MMSSLAT defines.h 221;" d + FORMAT_MMSSLON defines.h 217;" d + FORMAT_MMYY defines.h 200;" d + FORMAT_MONTHDAY defines.h 202;" d + FORMAT_MONTHL defines.h 206;" d + FORMAT_MONTHS defines.h 204;" d + FORMAT_MONTHSY defines.h 205;" d + FORMAT_POWER defines.h 194;" d + FORMAT_SCIENTIFIC defines.h 195;" d + FORMAT_YYMMDD defines.h 199;" d + FORMAT_YYMMDDHMS defines.h 213;" d + FORMULA pars.c 123;" d file: + FPCMP_EPS draw.c 728;" d file: + FRAMEP pars.c 124;" d file: + FREE pars.c 125;" d file: + FREQUENCY pars.c 126;" d file: + FROM pars.c 127;" d file: + FSB motifinc.h /^ Widget FSB;$/;" m struct: + FSBStructure motifinc.h /^} FSBStructure;$/;" t + FSB_CBProc motifinc.h /^typedef int (*FSB_CBProc)($/;" t + FSB_CBdata motifutils.c /^} FSB_CBdata;$/;" t file: + FSB_CWD motifutils.c 1037;" d file: + FSB_CYGDRV motifutils.c 1040;" d file: + FSB_HOME motifutils.c 1038;" d file: + FSB_ITEMS_NUM motifutils.c 1083;" d file: + FSB_ROOT motifutils.c 1039;" d file: + FUNC_D pars.c 25;" d file: + FUNC_DD pars.c 28;" d file: + FUNC_I pars.c 24;" d file: + FUNC_ND pars.c 27;" d file: + FUNC_NN pars.c 26;" d file: + FUNC_NND pars.c 29;" d file: + FUNC_PPD pars.c 30;" d file: + FUNC_PPPD pars.c 31;" d file: + Featext_ui featext.c /^} Featext_ui;$/;" t file: + FillRect draw.c /^void FillRect(VPoint vp1, VPoint vp2)$/;" f + Filter iofilters.c /^} Filter;$/;" t file: + FontDB t1fonts.h /^} FontDB;$/;" t + FontDBtable t1fonts.c /^static FontDB *FontDBtable = NULL;$/;" v file: + FontID fontwin.c /^static int FontID;$/;" v file: + Four_ui compwin.c /^} Four_ui;$/;" t file: + FreeCompositeString t1fonts.c /^static void FreeCompositeString(CompositeString *cs, int nss)$/;" f file: + GA_GAP_DEFAULT graphutils.h 59;" d + GA_OFFSET_DEFAULT graphutils.h 58;" d + GA_ORDER_HV_INV graphutils.h 55;" d + GA_ORDER_H_INV graphutils.h 54;" d + GA_ORDER_V_INV graphutils.h 53;" d + GD_H gd.h 2;" d + GE pars.c 374;" d file: + GENERAL pars.c 128;" d file: + GETP pars.c 129;" d file: + GLOBAL globals.h 46;" d + GLOBAL globals.h 64;" d + GLOBALARR globals.h 47;" d + GLOBALARR globals.h 65;" d + GLocator graphs.h /^} GLocator;$/;" t + GMF_VERSION mfdrv.h 31;" d + GOVERLAY_SMART_AXES_DISABLED graphutils.h 46;" d + GOVERLAY_SMART_AXES_NONE graphutils.h 47;" d + GOVERLAY_SMART_AXES_X graphutils.h 48;" d + GOVERLAY_SMART_AXES_XY graphutils.h 50;" d + GOVERLAY_SMART_AXES_Y graphutils.h 49;" d + GRACECLI Makefile /^GRACECLI=grace$(EXE)$/;" m + GRACE_BPP draw.h 35;" d + GRACE_EDITOR buildinfo.c 41;" d file: + GRACE_EDITOR buildinfo.h 14;" d + GRACE_HELPVIEWER buildinfo.c 45;" d file: + GRACE_HELPVIEWER buildinfo.h 16;" d + GRACE_HOME buildinfo.c 33;" d file: + GRACE_HOME buildinfo.h 13;" d + GRACE_PRINT_CMD buildinfo.c 37;" d file: + GRACE_PRINT_CMD buildinfo.h 15;" d + GRAPH pars.c 130;" d file: + GRAPHNO pars.c 131;" d file: + GRAPH_CHART graphs.h /^ GRAPH_CHART,$/;" e + GRAPH_FIXED graphs.h /^ GRAPH_FIXED,$/;" e + GRAPH_PIE graphs.h /^ GRAPH_PIE$/;" e + GRAPH_POLAR graphs.h /^ GRAPH_POLAR,$/;" e + GRAPH_SELECT_ALL defines.h 286;" d + GRAPH_SELECT_CURRENT defines.h 285;" d + GRAPH_SMITH graphs.h /^ GRAPH_SMITH,$/;" e + GRAPH_XY graphs.h /^ GRAPH_XY ,$/;" e + GRARR_SET parser.h 34;" d + GRARR_TMP parser.h 32;" d + GRARR_VEC parser.h 33;" d + GRBATCH Makefile /^GRBATCH=gracebat$(EXE)$/;" m + GRID pars.c 132;" d file: + GR_MAXPATHLEN defines.h 45;" d + GSCROLL_DOWN graphutils.h 40;" d + GSCROLL_LEFT graphutils.h 38;" d + GSCROLL_RIGHT graphutils.h 39;" d + GSCROLL_UP graphutils.h 41;" d + GT pars.c 371;" d file: + GZOOM_EXPAND graphutils.h 44;" d + GZOOM_SHRINK graphutils.h 43;" d + Geom_ui compwin.c /^} Geom_ui;$/;" t file: + GeometryManager Tab.c /^static XtGeometryResult GeometryManager(Widget w, $/;" f file: + GetAngleChoice motifutils.c /^int GetAngleChoice(Widget w)$/;" f + GetCharSizeChoice motifutils.c /^double GetCharSizeChoice(Widget w)$/;" f + GetChoice motifutils.c /^int GetChoice(OptionStructure *w)$/;" f + GetDimensions motifutils.c /^void GetDimensions(Widget w, unsigned int *width, unsigned int *height)$/;" f + GetGlyphString t1fonts.c /^GLYPH *GetGlyphString(CompositeString *cs, double dpv, int fontaa)$/;" f + GetListChoices motifutils.c /^int GetListChoices(ListStructure *listp, int **values)$/;" f + GetOptionChoice motifutils.c /^int GetOptionChoice(OptionStructure *opt)$/;" f + GetParent motifutils.c /^Widget GetParent(Widget w)$/;" f + GetScaleValue motifutils.c /^int GetScaleValue(Widget w)$/;" f + GetSelectedSet motifutils.c /^int GetSelectedSet(SetChoiceItem l)$/;" f + GetSelectedSets motifutils.c /^int GetSelectedSets(SetChoiceItem l, int **sets)$/;" f + GetSingleListChoice motifutils.c /^int GetSingleListChoice(ListStructure *listp, int *value)$/;" f + GetSpinChoice motifutils.c /^double GetSpinChoice(SpinStructure *spinp)$/;" f + GetStringSimple motifutils.c /^char *GetStringSimple(XmString xms)$/;" f + GetTextCursorPos motifutils.c /^int GetTextCursorPos(TextStructure *cst)$/;" f + GetTextString motifutils.c /^char *GetTextString(TextStructure *cst)$/;" f + GetToggleButtonState motifutils.c /^int GetToggleButtonState(Widget w)$/;" f + GetTransformDialogSettings motifutils.c /^int GetTransformDialogSettings(TransformStructure *tdialog, int exclusive,$/;" f + GraphMenuCBtype motifutils.c /^} GraphMenuCBtype;$/;" t file: + GraphMenuCopy12CB motifutils.c /^ GraphMenuCopy12CB,$/;" e file: + GraphMenuCopy21CB motifutils.c /^ GraphMenuCopy21CB,$/;" e file: + GraphMenuDuplicateCB motifutils.c /^ GraphMenuDuplicateCB,$/;" e file: + GraphMenuFocusCB motifutils.c /^ GraphMenuFocusCB,$/;" e file: + GraphMenuHideCB motifutils.c /^ GraphMenuHideCB,$/;" e file: + GraphMenuKillCB motifutils.c /^ GraphMenuKillCB,$/;" e file: + GraphMenuMove12CB motifutils.c /^ GraphMenuMove12CB,$/;" e file: + GraphMenuMove21CB motifutils.c /^ GraphMenuMove21CB,$/;" e file: + GraphMenuNewCB motifutils.c /^ GraphMenuNewCB$/;" e file: + GraphMenuShowCB motifutils.c /^ GraphMenuShowCB,$/;" e file: + GraphMenuSwapCB motifutils.c /^ GraphMenuSwapCB,$/;" e file: + GraphPopupMenu motifutils.c /^} GraphPopupMenu;$/;" t file: + GraphSetStructure motifinc.h /^} GraphSetStructure;$/;" t + GraphType graphs.h /^} GraphType;$/;" t + GridData motifutils.c /^} GridData;$/;" t file: + HAMMING pars.c 133;" d file: + HANNING pars.c 134;" d file: + HARDCOPY pars.c 135;" d file: + HAVE_DL dlmodule.h 37;" d + HBAR pars.c 136;" d file: + HELP pars.c 137;" d file: + HGAP pars.c 138;" d file: + HIDDEN pars.c 139;" d file: + HISTOGRAM pars.c 140;" d file: + HMS pars.c 141;" d file: + HORIZI pars.c 142;" d file: + HORIZO pars.c 144;" d file: + HORIZONTAL pars.c 143;" d file: + H_f f2c.h /^typedef VOID H_f; \/* character function *\/$/;" t + H_fp f2c.h /^typedef \/* Character *\/ VOID (*H_fp)();$/;" t + H_fp f2c.h /^typedef \/* Character *\/ VOID (*H_fp)(...);$/;" t + HelpCB helpwin.c /^void HelpCB(void *data)$/;" f + Histo_ui compwin.c /^} Histo_ui;$/;" t file: + ID pars.c 145;" d file: + IFILTER pars.c 146;" d file: + IN pars.c 147;" d file: + INCREMENT pars.c 148;" d file: + INDEX pars.c 18;" d file: + INOUT pars.c 149;" d file: + INT pars.c 150;" d file: + INTEGRATE pars.c 151;" d file: + INTENSITY rstdrv.h 54;" d + INTERPOLATE pars.c 152;" d file: + INTERP_ASPLINE defines.h 139;" d + INTERP_LINEAR defines.h 137;" d + INTERP_SPLINE defines.h 138;" d + INVDFT pars.c 153;" d file: + INVERT pars.c 154;" d file: + INVFFT pars.c 155;" d file: + I_fp f2c.h /^typedef integer (*I_fp)();$/;" t + I_fp f2c.h /^typedef integer (*I_fp)(...);$/;" t + Initialize Tab.c /^static void Initialize(Widget treq,Widget tnew,ArgList args,Cardinal *nargs)$/;" f file: + Input_buffer defines.h /^} Input_buffer;$/;" t + InsertChild Tab.c /^static void InsertChild(Widget w)$/;" f file: + Int_token defines.h /^ } Int_token;$/;" t + Int_ui compwin.c /^} Int_ui;$/;" t file: + Interp_ui compwin.c /^} Interp_ui;$/;" t file: + JBITMAP_HEIGHT jbitmaps.h 37;" d + JBITMAP_WIDTH jbitmaps.h 36;" d + JPEG_DCT_DEFAULT rstdrv.h 51;" d + JPEG_DCT_FLOAT rstdrv.h 49;" d + JPEG_DCT_IFAST rstdrv.h 47;" d + JPEG_DCT_ISLOW rstdrv.h 48;" d + JPEG_INTERNAL_OPTIONS rstdrv.c 51;" d file: + JUST pars.c 156;" d file: + JUST_BLINE draw.h 77;" d + JUST_BOTTOM draw.h 78;" d + JUST_CENTER draw.h 74;" d + JUST_LEFT draw.h 72;" d + JUST_MIDDLE draw.h 80;" d + JUST_RIGHT draw.h 73;" d + JUST_TOP draw.h 79;" d + J_fp f2c.h /^typedef shortint (*J_fp)();$/;" t + J_fp f2c.h /^typedef shortint (*J_fp)(...);$/;" t + KEY_CONST pars.c 8;" d file: + KEY_FUNC_D pars.c 11;" d file: + KEY_FUNC_DD pars.c 14;" d file: + KEY_FUNC_I pars.c 10;" d file: + KEY_FUNC_ND pars.c 13;" d file: + KEY_FUNC_NN pars.c 12;" d file: + KEY_FUNC_NND pars.c 15;" d file: + KEY_FUNC_PPD pars.c 16;" d file: + KEY_FUNC_PPPD pars.c 17;" d file: + KEY_UNIT pars.c 9;" d file: + KEY_VAR pars.c 6;" d file: + KEY_VEC pars.c 7;" d file: + KILL pars.c 157;" d file: + K_fp f2c.h /^typedef shortlogical (*K_fp)();$/;" t + K_fp f2c.h /^typedef shortlogical (*K_fp)(...);$/;" t + LABEL pars.c 158;" d file: + LABEL_BETWEEN defines.h 177;" d + LABEL_ONTICK defines.h 176;" d + LANDSCAPE pars.c 159;" d file: + LAYOUT pars.c 160;" d file: + LAYOUT_PARALLEL defines.h 165;" d + LAYOUT_PERPENDICULAR defines.h 166;" d + LE pars.c 373;" d file: + LEFT pars.c 161;" d file: + LEGEND pars.c 162;" d file: + LENGTH pars.c 163;" d file: + LFORMAT_TYPE_EXTENDED utils.h 48;" d + LFORMAT_TYPE_PLAIN utils.h 47;" d + LIBS Makefile /^LIBS=$(GUI_LIBS) $(CEPHES_LIB) $(NETCDF_LIBS) $(FFTW_LIB) \\$/;" m + LINE pars.c 164;" d file: + LINEAR pars.c 165;" d file: + LINECAP_BUTT draw.h 61;" d + LINECAP_PROJ draw.h 63;" d + LINECAP_ROUND draw.h 62;" d + LINEJOIN_BEVEL draw.h 68;" d + LINEJOIN_MITER draw.h 66;" d + LINEJOIN_ROUND draw.h 67;" d + LINESTYLE pars.c 166;" d file: + LINES_BM_HEIGHT motifutils.c 1248;" d file: + LINES_BM_WIDTH motifutils.c 1249;" d file: + LINEWIDTH pars.c 167;" d file: + LINE_FINITE draw.c 724;" d file: + LINE_INFINITE draw.c 725;" d file: + LINE_TYPE_LEFTSTAIR defines.h 322;" d + LINE_TYPE_NONE defines.h 320;" d + LINE_TYPE_RIGHTSTAIR defines.h 323;" d + LINE_TYPE_SEGMENT2 defines.h 324;" d + LINE_TYPE_SEGMENT3 defines.h 325;" d + LINE_TYPE_STRAIGHT defines.h 321;" d + LINK pars.c 168;" d file: + LIST_TYPE_MULTIPLE motifinc.h 49;" d + LIST_TYPE_SINGLE motifinc.h 48;" d + LOAD pars.c 169;" d file: + LOAD_BLOCK files.h 41;" d + LOAD_FUNCTION nonlwin.c 54;" d file: + LOAD_NXY files.h 40;" d + LOAD_RESIDUALS nonlwin.c 53;" d file: + LOAD_SINGLE files.h 39;" d + LOAD_VALUES nonlwin.c 52;" d file: + LOCTYPE pars.c 170;" d file: + LOG pars.c 171;" d file: + LOGARITHMIC pars.c 172;" d file: + LOGIT pars.c 173;" d file: + LOGX pars.c 174;" d file: + LOGXY pars.c 175;" d file: + LOGY pars.c 176;" d file: + LT pars.c 372;" d file: + L_fp f2c.h /^typedef logical (*L_fp)();$/;" t + L_fp f2c.h /^typedef logical (*L_fp)(...);$/;" t + Layout Tab.c /^static void Layout(XmTabWidget wid)$/;" f file: + Lconv_ui compwin.c /^} Lconv_ui;$/;" t file: + Leval_ui setwin.c /^} Leval_ui;$/;" t file: + ListStructure motifinc.h /^} ListStructure;$/;" t + List_CBProc motifinc.h /^typedef void (*List_CBProc)($/;" t + List_CBdata motifutils.c /^} List_CBdata;$/;" t file: + MAGIC pars.c 177;" d file: + MAGIC_FONT_SCALE t1fonts.h 66;" d + MAGIC_LINEW_SCALE draw.c 155;" d file: + MAGNITUDE pars.c 178;" d file: + MAIN main.c 40;" d file: + MAJOR pars.c 179;" d file: + MAJOR_REV buildinfo.c 27;" d file: + MAKE_BOX_1ST events.h /^ MAKE_BOX_1ST,$/;" e + MAKE_BOX_2ND events.h /^ MAKE_BOX_2ND,$/;" e + MAKE_ELLIP_1ST events.h /^ MAKE_ELLIP_1ST,$/;" e + MAKE_ELLIP_2ND events.h /^ MAKE_ELLIP_2ND,$/;" e + MAKE_LINE_1ST events.h /^ MAKE_LINE_1ST,$/;" e + MAKE_LINE_2ND events.h /^ MAKE_LINE_2ND,$/;" e + MANAGE Tab.c 58;" d file: + MAP pars.c 180;" d file: + MARK_CR t1fonts.h 82;" d + MARK_NONE t1fonts.h 80;" d + MAX2 utils.h 38;" d + MAX3 utils.h 40;" d + MAXAXES defines.h 51;" d + MAXCOLORS draw.h 36;" d + MAXERR comwin.c 239;" d file: + MAXERR files.c 66;" d file: + MAXFIT defines.h 59;" d + MAXLINESTYLES draw.h 40;" d + MAXP pars.c 181;" d file: + MAXPARM defines.h 57;" d + MAXPATTERNS draw.h 38;" d + MAXPICKDIST events.h 102;" d + MAXREGION defines.h 53;" d + MAXSYM defines.h 86;" d + MAX_ARROW defines.h 67;" d + MAX_DRAWING_PATH draw.h 137;" d + MAX_LINEWIDTH draw.h 42;" d + MAX_MARKS t1fonts.h 81;" d + MAX_PARS_STRING_LENGTH pars.c 449;" d file: + MAX_POLY_POINTS events.c 80;" d file: + MAX_PREC defines.h 68;" d + MAX_PS_LINELEN psdrv.h 45;" d + MAX_PULLDOWN_LENGTH motifutils.c 209;" d file: + MAX_SET_COLS graphs.h 78;" d + MAX_STRING_LENGTH defines.h 48;" d + MAX_TICKS defines.h 52;" d + MAX_ZOOM_STACK defines.h 55;" d + MBITMAP_HEIGHT mbitmaps.h 37;" d + MBITMAP_WIDTH mbitmaps.h 36;" d + MEDIA_FEED_AUTO psdrv.h 37;" d + MEDIA_FEED_MANUAL psdrv.h 39;" d + MEDIA_FEED_MATCH psdrv.h 38;" d + MENU_EXIT xmgrace.c 290;" d file: + MENU_NEW xmgrace.c 291;" d file: + MENU_OPEN xmgrace.c 292;" d file: + MENU_PRINT xmgrace.c 296;" d file: + MENU_REVERT xmgrace.c 295;" d file: + MENU_SAVE xmgrace.c 293;" d file: + MENU_SAVEAS xmgrace.c 294;" d file: + MESH pars.c 182;" d file: + MIF_MARGIN mifdrv.c 47;" d file: + MIN2 utils.h 37;" d + MIN3 utils.h 39;" d + MINOR pars.c 184;" d file: + MINOR_REV buildinfo.c 28;" d file: + MINP pars.c 183;" d file: + MIN_SS_COLS editpwin.c 83;" d file: + MIN_SS_ROWS editpwin.c 82;" d file: + MMDD pars.c 185;" d file: + MMDDHMS pars.c 186;" d file: + MMDDYY pars.c 187;" d file: + MMDDYYHMS pars.c 188;" d file: + MMSSLAT pars.c 189;" d file: + MMSSLON pars.c 190;" d file: + MMYY pars.c 191;" d file: + MM_PER_INCH device.h 43;" d + MONTHDAY pars.c 192;" d file: + MONTHL pars.c 193;" d file: + MONTHS pars.c 194;" d file: + MONTHSY pars.c 195;" d file: + MOVE pars.c 196;" d file: + MOVE_OBJECT_1ST events.h /^ MOVE_OBJECT_1ST,$/;" e + MOVE_OBJECT_2ND events.h /^ MOVE_OBJECT_2ND,$/;" e + MOVE_POINT1ST events.h /^ MOVE_POINT1ST,$/;" e + MOVE_POINT2ND events.h /^ MOVE_POINT2ND,$/;" e + MOVE_POINT_X events.h 94;" d + MOVE_POINT_XY events.h 93;" d + MOVE_POINT_Y events.h 95;" d + ManageChild motifutils.c /^void ManageChild(Widget w)$/;" f + MenuCB xmgrace.c /^static void MenuCB(void *data)$/;" f file: + Multitype f2c.h /^typedef union Multitype Multitype;$/;" t + Multitype f2c.h /^union Multitype { \/* for multiple entry points *\/$/;" u + NE pars.c 376;" d file: + NEGATE pars.c 197;" d file: + NEW pars.c 198;" d file: + NEW_SET defines.h 129;" d + NEW_TOKEN pars.c 368;" d file: + NICE_CEIL graphutils.c 191;" d file: + NICE_FLOOR graphutils.c 190;" d file: + NICE_ROUND graphutils.c 192;" d file: + NONAME defines.h 297;" d + NONE pars.c 199;" d file: + NONLFIT pars.c 200;" d file: + NORMAL pars.c 201;" d file: + NOT pars.c 378;" d file: + NO_HELP helpwin.c 40;" d file: + NULL alloca.c 76;" d file: + NULL alloca.c 78;" d file: + NUMBER pars.c 367;" d file: + NUMBER_OF_SETTYPES graphs.h 66;" d + NXY pars.c 202;" d file: + Namelist f2c.h /^struct Namelist {$/;" s + Namelist f2c.h /^typedef struct Namelist Namelist;$/;" t + OBJECT_BOX defines.h 148;" d + OBJECT_BUFNUM defines.h 64;" d + OBJECT_ELLIPSE defines.h 149;" d + OBJECT_LINE defines.h 147;" d + OBJECT_NONE defines.h 146;" d + OBJECT_STRING defines.h 150;" d + OBLIQUE_FACTOR t1fonts.h 72;" d + OC_CBProc motifinc.h /^typedef void (*OC_CBProc)($/;" t + OC_CBdata motifutils.c /^} OC_CBdata;$/;" t file: + OFF pars.c 203;" d file: + OFFSET pars.c 204;" d file: + OFFSETX pars.c 205;" d file: + OFFSETY pars.c 206;" d file: + OFILTER pars.c 207;" d file: + ON pars.c 208;" d file: + ONREAD pars.c 209;" d file: + OP pars.c 210;" d file: + OPPOSITE pars.c 211;" d file: + OPTYPE_COPY setwin.c 522;" d file: + OPTYPE_MOVE setwin.c 523;" d file: + OPTYPE_SWAP setwin.c 524;" d file: + OR pars.c 369;" d file: + OUT pars.c 212;" d file: + O_NONBLOCK missing.h 47;" d + OptionItem motifinc.h /^} OptionItem;$/;" t + OptionStructure motifinc.h /^} OptionStructure;$/;" t + OptionWidgetItem motifinc.h /^} OptionWidgetItem;$/;" t + PAD utils.h 35;" d + PAGE pars.c 213;" d file: + PAGE_FIXED defines.h 143;" d + PAGE_FORMAT_A4 device.h /^ PAGE_FORMAT_A4 $/;" e + PAGE_FORMAT_CUSTOM device.h /^ PAGE_FORMAT_CUSTOM, $/;" e + PAGE_FORMAT_USLETTER device.h /^ PAGE_FORMAT_USLETTER,$/;" e + PAGE_FREE defines.h 142;" d + PAGE_ORIENT_LANDSCAPE device.h 53;" d + PAGE_ORIENT_PORTRAIT device.h 54;" d + PARA pars.c 214;" d file: + PARAMETERS pars.c 215;" d file: + PARSER_TYPE_EXPR pars.c 11913;" d file: + PARSER_TYPE_VEXPR pars.c 11914;" d file: + PARSER_TYPE_VOID pars.c 11912;" d file: + PARZEN pars.c 216;" d file: + PATCHLEVEL buildinfo.c 29;" d file: + PATTERN pars.c 217;" d file: + PERIOD pars.c 218;" d file: + PERP pars.c 219;" d file: + PHASE pars.c 220;" d file: + PIE pars.c 221;" d file: + PIPE pars.c 222;" d file: + PIPE_BUF files.c 78;" d file: + PIXMAP_OPAQUE draw.h 58;" d + PIXMAP_TRANSPARENT draw.h 57;" d + PLACE pars.c 223;" d file: + PLACEMENT_BOTH defines.h /^ PLACEMENT_BOTH$/;" e + PLACEMENT_NORMAL defines.h /^ PLACEMENT_NORMAL,$/;" e + PLACEMENT_OPPOSITE defines.h /^ PLACEMENT_OPPOSITE,$/;" e + PLACE_LEGEND_1ST events.h /^ PLACE_LEGEND_1ST,$/;" e + PLACE_LEGEND_2ND events.h /^ PLACE_LEGEND_2ND,$/;" e + PLACE_TIMESTAMP_1ST events.h /^ PLACE_TIMESTAMP_1ST,$/;" e + PLACE_TIMESTAMP_2ND events.h /^ PLACE_TIMESTAMP_2ND,$/;" e + PNM_FORMAT_PBM rstdrv.h 40;" d + PNM_FORMAT_PGM rstdrv.h 41;" d + PNM_FORMAT_PPM rstdrv.h 42;" d + POINT pars.c 224;" d file: + POLAR pars.c 225;" d file: + POLYI pars.c 226;" d file: + POLYLINE_CLOSED draw.h 46;" d + POLYLINE_OPEN draw.h 45;" d + POLYO pars.c 227;" d file: + POP pars.c 228;" d file: + PORTRAIT pars.c 229;" d file: + POWER pars.c 230;" d file: + PREC pars.c 231;" d file: + PREFS Makefile /^PREFS=-DGRACE_HOME=\\"$(GRACE_HOME)\\" -DGRACE_PRINT_CMD=\\"$(PRINT_CMD)\\" \\$/;" m + PREPEND pars.c 232;" d file: + PRINT pars.c 233;" d file: + PRUNE_CIRCLE defines.h 301;" d + PRUNE_ELLIPSE defines.h 302;" d + PRUNE_INTERPOLATION defines.h 300;" d + PRUNE_LIN defines.h 305;" d + PRUNE_LOG defines.h 306;" d + PRUNE_RECTANGLE defines.h 303;" d + PRUNE_VIEWPORT defines.h 308;" d + PRUNE_WORLD defines.h 309;" d + PS pars.c 234;" d file: + PSTRING utils.h 52;" d + PS_FORMAT psdrv.h 31;" d + PURGE_INIT_FACTOR draw.c 1947;" d file: + PURGE_ITER_FACTOR draw.c 1948;" d file: + PUSH pars.c 235;" d file: + PUSH_SET_TOBACK defines.h 354;" d + PUSH_SET_TOFRONT defines.h 353;" d + PUTP pars.c 236;" d file: + PageFormat device.h /^} PageFormat;$/;" t + Page_geometry device.h /^} Page_geometry;$/;" t + ParserFnc pars.c /^typedef double (*ParserFnc)();$/;" t file: + Pen defines.h /^} Pen;$/;" t + PlaceGridChild motifutils.c /^void PlaceGridChild(Widget grid, Widget w, int col, int row)$/;" f + PlacementType defines.h /^} PlacementType;$/;" t + Prune_ui compwin.c /^} Prune_ui;$/;" t file: + QueryGeometry Tab.c /^static XtGeometryResult QueryGeometry(Widget w, $/;" f file: + RAND pars.c 237;" d file: + READ pars.c 238;" d file: + REAL pars.c 239;" d file: + RECIPROCAL pars.c 240;" d file: + REDRAW pars.c 241;" d file: + REFERENCE pars.c 242;" d file: + REGION_ABOVE defines.h 153;" d + REGION_BELOW defines.h 154;" d + REGION_HORIZI defines.h 159;" d + REGION_HORIZO defines.h 161;" d + REGION_POLYI defines.h 157;" d + REGION_POLYO defines.h 158;" d + REGION_TOLEFT defines.h 155;" d + REGION_TORIGHT defines.h 156;" d + REGION_VERTI defines.h 160;" d + REGION_VERTO defines.h 162;" d + REGNUM pars.c 243;" d file: + REGRESS pars.c 244;" d file: + RESIZE pars.c 245;" d file: + RESTRICT pars.c 246;" d file: + RESTRICT_NONE defines.h 357;" d + RESTRICT_REG0 defines.h 359;" d + RESTRICT_REG1 defines.h 360;" d + RESTRICT_REG2 defines.h 361;" d + RESTRICT_REG3 defines.h 362;" d + RESTRICT_REG4 defines.h 363;" d + RESTRICT_WORLD defines.h 358;" d + RETURN_FAILURE defines.h 262;" d + RETURN_SUCCESS defines.h 261;" d + REVERSE pars.c 247;" d file: + RGB draw.h /^} RGB;$/;" t + RGB2YIQ draw.c /^YIQ RGB2YIQ(RGB rgb)$/;" f + RIGHT pars.c 248;" d file: + RISER pars.c 249;" d file: + ROT pars.c 250;" d file: + ROUNDED pars.c 251;" d file: + ROUND_DAY defines.h 719;" d + ROUND_HOUR defines.h 718;" d + ROUND_MINUTE defines.h 717;" d + ROUND_MONTH defines.h 720;" d + ROUND_SECOND defines.h 716;" d + RST_FORMAT_JPG rstdrv.h /^ RST_FORMAT_JPG,$/;" e + RST_FORMAT_PNG rstdrv.h /^ RST_FORMAT_PNG$/;" e + RST_FORMAT_PNM rstdrv.h /^ RST_FORMAT_PNM,$/;" e + RSUM pars.c 252;" d file: + RULE pars.c 253;" d file: + RUNAVG pars.c 254;" d file: + RUNMAX pars.c 255;" d file: + RUNMED pars.c 256;" d file: + RUNMIN pars.c 257;" d file: + RUNSTD pars.c 258;" d file: + RUN_AVG defines.h 248;" d + RUN_MAX defines.h 251;" d + RUN_MED defines.h 249;" d + RUN_MIN defines.h 250;" d + RUN_STD defines.h 252;" d + R_fp f2c.h /^typedef real (*R_fp)();$/;" t + R_fp f2c.h /^typedef real (*R_fp)(...);$/;" t + RaiseWindow motifutils.c /^void RaiseWindow(Widget w)$/;" f + RasterFormat rstdrv.h /^} RasterFormat;$/;" t + ReDisplay Tab.c /^static void ReDisplay(Widget w, XEvent *event, Region region)$/;" f file: + Reg_ui compwin.c /^} Reg_ui;$/;" t file: + RegisterEditRes motifutils.c /^void RegisterEditRes(Widget shell)$/;" f + Regression defines.h /^} Regression;$/;" t + ReqUpdateColorSel draw.c /^int ReqUpdateColorSel = FALSE; \/* a part of pre-GUI layer; should be in$/;" v + Resize Tab.c /^static void Resize(Widget w)$/;" f file: + RestrictionStructure motifinc.h /^} RestrictionStructure;$/;" t + Run_ui compwin.c /^} Run_ui;$/;" t file: + SAMPLING_MESH compwin.c 239;" d file: + SAMPLING_SET compwin.c 240;" d file: + SAVEALL pars.c 259;" d file: + SCALE pars.c 260;" d file: + SCALE_CBdata motifutils.c /^} SCALE_CBdata;$/;" t file: + SCALE_LOG defines.h 101;" d + SCALE_LOGIT defines.h 103;" d + SCALE_NORMAL defines.h 100;" d + SCALE_REC defines.h 102;" d + SCIENTIFIC pars.c 261;" d file: + SCROLL pars.c 262;" d file: + SD pars.c 263;" d file: + SELECTION_TYPE_MULTIPLE defines.h 294;" d + SELECTION_TYPE_SINGLE defines.h 293;" d + SEL_POINT events.h /^ SEL_POINT,$/;" e + SET pars.c 264;" d file: + SETAPP_ALL_BW setappwin.c 55;" d file: + SETAPP_ALL_COLORS setappwin.c 51;" d file: + SETAPP_ALL_LINES setappwin.c 54;" d file: + SETAPP_ALL_LINEW setappwin.c 53;" d file: + SETAPP_ALL_SYMBOLS setappwin.c 52;" d file: + SETAPP_LOAD_COMMENTS setappwin.c 50;" d file: + SETAPP_STRIP_LEGENDS setappwin.c 49;" d file: + SETFILL_BASELINE defines.h 338;" d + SETFILL_NONE defines.h 336;" d + SETFILL_POLYGON defines.h 337;" d + SETNUM pars.c 265;" d file: + SET_BAD graphs.h /^ SET_BAD$/;" e + SET_BAR graphs.h /^ SET_BAR ,$/;" e + SET_BARDY graphs.h /^ SET_BARDY ,$/;" e + SET_BARDYDY graphs.h /^ SET_BARDYDY ,$/;" e + SET_BOXPLOT graphs.h /^ SET_BOXPLOT ,$/;" e + SET_SELECT_ACTIVE defines.h 281;" d + SET_SELECT_ALL defines.h 282;" d + SET_SELECT_ERROR defines.h 280;" d + SET_SELECT_NEAREST defines.h 284;" d + SET_SELECT_NEXT defines.h 283;" d + SET_XY graphs.h /^ SET_XY ,$/;" e + SET_XYCOLOR graphs.h /^ SET_XYCOLOR ,$/;" e + SET_XYCOLPAT graphs.h /^ SET_XYCOLPAT ,$/;" e + SET_XYDX graphs.h /^ SET_XYDX ,$/;" e + SET_XYDXDX graphs.h /^ SET_XYDXDX ,$/;" e + SET_XYDXDXDYDY graphs.h /^ SET_XYDXDXDYDY,$/;" e + SET_XYDXDY graphs.h /^ SET_XYDXDY ,$/;" e + SET_XYDY graphs.h /^ SET_XYDY ,$/;" e + SET_XYDYDY graphs.h /^ SET_XYDYDY ,$/;" e + SET_XYHILO graphs.h /^ SET_XYHILO ,$/;" e + SET_XYR graphs.h /^ SET_XYR ,$/;" e + SET_XYSIZE graphs.h /^ SET_XYSIZE ,$/;" e + SET_XYVMAP graphs.h /^ SET_XYVMAP ,$/;" e + SET_XYZ graphs.h /^ SET_XYZ ,$/;" e + SFORMAT pars.c 266;" d file: + SIGN pars.c 267;" d file: + SIGN_ABSOLUTE defines.h 185;" d + SIGN_NEGATE defines.h 186;" d + SIGN_NORMAL defines.h 184;" d + SIZE pars.c 268;" d file: + SKIP pars.c 269;" d file: + SLEEP pars.c 270;" d file: + SMITH pars.c 271;" d file: + SORT pars.c 272;" d file: + SOURCE pars.c 273;" d file: + SOURCE_DISK defines.h 243;" d + SOURCE_PIPE defines.h 244;" d + SPEC pars.c 274;" d file: + SPIN_CBdata motifutils.c /^} SPIN_CBdata;$/;" t file: + SPIN_TYPE_FLOAT motifinc.h 52;" d + SPIN_TYPE_INT motifinc.h 51;" d + SPLINE pars.c 275;" d file: + SPLIT pars.c 276;" d file: + SSCRIPT_SCALE t1fonts.h 68;" d + STACK pars.c 277;" d file: + STACKED pars.c 278;" d file: + STACKEDBAR pars.c 279;" d file: + STACKEDHBAR pars.c 280;" d file: + STACKLEN editpwin.c 374;" d file: + STACK_DIR alloca.c 101;" d file: + STACK_DIR alloca.c 96;" d file: + STACK_DIRECTION alloca.c 91;" d file: + STAGGER pars.c 281;" d file: + START pars.c 282;" d file: + STOP pars.c 283;" d file: + STRING pars.c 284;" d file: + STRING_CELL_WIDTH editpwin.c 79;" d file: + STRING_DIRECTION_LR t1fonts.h 77;" d + STRING_DIRECTION_RL t1fonts.h 78;" d + STR_LOC events.h /^ STR_LOC,$/;" e + SUBSCRIPT_SHIFT t1fonts.h 69;" d + SUBTITLE pars.c 286;" d file: + SUM pars.c 285;" d file: + SUPSCRIPT_SHIFT t1fonts.h 70;" d + SWAP pars.c 287;" d file: + SYMBOL pars.c 288;" d file: + SYM_CHAR defines.h 83;" d + SYM_CIRCLE defines.h 73;" d + SYM_DIAMOND defines.h 75;" d + SYM_DOT_OBS defines.h 89;" d + SYM_NONE defines.h 72;" d + SYM_PLUS defines.h 80;" d + SYM_SPLAT defines.h 82;" d + SYM_SQUARE defines.h 74;" d + SYM_TRIANG1 defines.h 76;" d + SYM_TRIANG2 defines.h 77;" d + SYM_TRIANG3 defines.h 78;" d + SYM_TRIANG4 defines.h 79;" d + SYM_X defines.h 81;" d + S_fp f2c.h /^typedef \/* Subroutine *\/ int (*S_fp)();$/;" t + S_fp f2c.h /^typedef \/* Subroutine *\/ int (*S_fp)(...);$/;" t + Samp_ui compwin.c /^} Samp_ui;$/;" t file: + Scale_CBProc motifinc.h /^typedef void (*Scale_CBProc )($/;" t + Seas_ui compwin.c /^} Seas_ui;$/;" t file: + SelectListChoice motifutils.c /^int SelectListChoice(ListStructure *listp, int choice)$/;" f + SelectListChoices motifutils.c /^void SelectListChoices(ListStructure *listp, int nchoices, int *choices)$/;" f + SelectTabPage motifutils.c /^void SelectTabPage(Widget tab, Widget w)$/;" f + SetAngleChoice motifutils.c /^void SetAngleChoice(Widget w, int angle)$/;" f + SetCharSizeChoice motifutils.c /^void SetCharSizeChoice(Widget w, double size)$/;" f + SetChoice motifutils.c /^void SetChoice(OptionStructure *w, int value)$/;" f + SetChoiceData motifinc.h /^} SetChoiceData;$/;" t + SetChoiceItem motifinc.h /^} SetChoiceItem;$/;" t + SetDialogFormResizable motifutils.c /^void SetDialogFormResizable(Widget form, int onoff)$/;" f + SetDimensions motifutils.c /^void SetDimensions(Widget w, unsigned int width, unsigned int height)$/;" f + SetFileSelectionBoxPattern motifutils.c /^void SetFileSelectionBoxPattern(FSBStructure *fsb, char *pattern)$/;" f + SetFixedFont motifutils.c /^void SetFixedFont(Widget w)$/;" f + SetLabel motifutils.c /^void SetLabel(Widget w, char *s)$/;" f + SetMenuBringfCB motifinc.h /^ SetMenuBringfCB,$/;" e + SetMenuCBtype motifinc.h /^} SetMenuCBtype;$/;" t + SetMenuCopy12CB motifinc.h /^ SetMenuCopy12CB,$/;" e + SetMenuCopy21CB motifinc.h /^ SetMenuCopy21CB,$/;" e + SetMenuDuplicateCB motifinc.h /^ SetMenuDuplicateCB,$/;" e + SetMenuEditECB motifinc.h /^ SetMenuEditECB,$/;" e + SetMenuEditSCB motifinc.h /^ SetMenuEditSCB,$/;" e + SetMenuHideCB motifinc.h /^ SetMenuHideCB,$/;" e + SetMenuKillCB motifinc.h /^ SetMenuKillCB,$/;" e + SetMenuKillDCB motifinc.h /^ SetMenuKillDCB,$/;" e + SetMenuMove12CB motifinc.h /^ SetMenuMove12CB,$/;" e + SetMenuMove21CB motifinc.h /^ SetMenuMove21CB,$/;" e + SetMenuNewBCB motifinc.h /^ SetMenuNewBCB,$/;" e + SetMenuNewECB motifinc.h /^ SetMenuNewECB,$/;" e + SetMenuNewFCB motifinc.h /^ SetMenuNewFCB,$/;" e + SetMenuNewSCB motifinc.h /^ SetMenuNewSCB,$/;" e + SetMenuPackCB motifinc.h /^ SetMenuPackCB$/;" e + SetMenuSendbCB motifinc.h /^ SetMenuSendbCB,$/;" e + SetMenuShowCB motifinc.h /^ SetMenuShowCB,$/;" e + SetMenuSwapCB motifinc.h /^ SetMenuSwapCB,$/;" e + SetOptionChoice motifutils.c /^void SetOptionChoice(OptionStructure *opt, int value)$/;" f + SetPopupMenu motifinc.h /^} SetPopupMenu;$/;" t + SetScaleValue motifutils.c /^void SetScaleValue(Widget w, int value)$/;" f + SetScaleWidth motifutils.c /^void SetScaleWidth(Widget w, int width)$/;" f + SetSensitive motifutils.c /^void SetSensitive(Widget w, int onoff)$/;" f + SetSpinChoice motifutils.c /^void SetSpinChoice(SpinStructure *spinp, double value)$/;" f + SetTextString motifutils.c /^void SetTextString(TextStructure *cst, char *s)$/;" f + SetToggleButtonState motifutils.c /^void SetToggleButtonState(Widget w, int value)$/;" f + SetType graphs.h /^} SetType;$/;" t + SetValues Tab.c /^static Boolean SetValues(Widget current,Widget request, Widget new,$/;" f file: + Setop_ui setwin.c /^} Setop_ui;$/;" t file: + Size fontwin.c /^static float Size = 16.8;$/;" v file: + SpinStructure motifinc.h /^} SpinStructure;$/;" t + Spin_CBProc motifinc.h /^typedef void (*Spin_CBProc)($/;" t + Spline defines.h /^} Spline;$/;" t + SrcDestStructure motifinc.h /^} SrcDestStructure;$/;" t + String2Composite t1fonts.c /^static CompositeString *String2Composite(char *string, int *nss)$/;" f file: + SuperClass Tab.c /^static XmManagerClassRec *SuperClass = (XmManagerClassRec*) &xmManagerClassRec;$/;" v file: + Svg_data svgdrv.c /^} Svg_data;$/;" t file: + T1LOGFILE t1fonts.h 46;" d + T1LOGFILE t1fonts.h 48;" d + T1_AALEVELS t1fonts.h 56;" d + T1_DEFAULT_BITMAP_PAD t1fonts.h 51;" d + T1_DEFAULT_ENCODING_FILE t1fonts.h 53;" d + T1_FALLBACK_ENCODING_FILE t1fonts.h 54;" d + TARGET pars.c 289;" d file: + TB_CBProc motifinc.h /^typedef void (*TB_CBProc)($/;" t + TB_CBdata motifutils.c /^} TB_CBdata;$/;" t file: + TEST missing.c 465;" d file: + TEXT_ADVANCING_LR t1fonts.h 74;" d + TEXT_ADVANCING_RL t1fonts.h 75;" d + TICKLABEL pars.c 290;" d file: + TICKP pars.c 291;" d file: + TICKSP pars.c 292;" d file: + TICKS_BOTH defines.h 240;" d + TICKS_IN defines.h 238;" d + TICKS_OUT defines.h 239;" d + TICKS_SPEC_BOTH defines.h 235;" d + TICKS_SPEC_MARKS defines.h 234;" d + TICKS_SPEC_NONE defines.h 233;" d + TICK_TYPE_MAJOR defines.h 349;" d + TICK_TYPE_MINOR defines.h 350;" d + TIMER pars.c 293;" d file: + TIMESTAMP pars.c 294;" d file: + TITLE pars.c 295;" d file: + TO pars.c 296;" d file: + TOP Makefile /^TOP=..$/;" m + TOP pars.c 297;" d file: + TRACKER events.h /^ TRACKER,$/;" e + TRIANGULAR pars.c 298;" d file: + TRUE defines.h 265;" d + TRUE_ f2c.h 57;" d + TYPE pars.c 299;" d file: + TYPE_AUTO defines.h 229;" d + TYPE_SPEC defines.h 230;" d + TextInsert motifutils.c /^void TextInsert(TextStructure *cst, int pos, char *s)$/;" f + TextMatrix t1fonts.h /^} TextMatrix;$/;" t + TextStructure motifinc.h /^} TextStructure;$/;" t + Text_CBProc motifinc.h /^typedef void (*Text_CBProc)($/;" t + Text_CBdata motifutils.c /^} Text_CBdata;$/;" t file: + TransformStructure motifinc.h /^} TransformStructure;$/;" t + Type_ui setwin.c /^} Type_ui;$/;" t file: + UCONSTANT pars.c 23;" d file: + UMINUS pars.c 377;" d file: + UNITY_MATRIX fontwin.c /^static T1_TMATRIX UNITY_MATRIX = {1.0, 0.0, 0.0, 1.0};$/;" v file: + UNIT_TM t1fonts.h 84;" d + UNMANAGE Tab.c 59;" d file: + UP pars.c 300;" d file: + UPDATEALL pars.c 301;" d file: + USE pars.c 302;" d file: + U_fp f2c.h /^typedef int \/* Unknown procedure type *\/ (*U_fp)();$/;" t + U_fp f2c.h /^typedef int \/* Unknown procedure type *\/ (*U_fp)(...);$/;" t + UndefineDialogCursor motifutils.c /^void UndefineDialogCursor()$/;" f + UnmanageChild motifutils.c /^void UnmanageChild(Widget w)$/;" f + UpdateListChoice motifutils.c /^void UpdateListChoice(ListStructure *listp, int nchoices, OptionItem *items)$/;" f + UpdateOptionChoice motifutils.c /^void UpdateOptionChoice(OptionStructure *optp, int nchoices, OptionItem *items)$/;" f + UpdateSetChoice motifutils.c /^void UpdateSetChoice(ListStructure *listp, int gno)$/;" f + UpdateSymbols setappwin.c /^static void UpdateSymbols(int gno, int value)$/;" f file: + VAR_D pars.c 20;" d file: + VEC_D pars.c 21;" d file: + VERSION pars.c 303;" d file: + VERTI pars.c 304;" d file: + VERTICAL pars.c 305;" d file: + VERTO pars.c 306;" d file: + VGAP pars.c 307;" d file: + VIEW pars.c 308;" d file: + VIEW_1ST events.h /^ VIEW_1ST,$/;" e + VIEW_2ND events.h /^ VIEW_2ND,$/;" e + VISIBLE_SS_ROWS editpwin.c 85;" d file: + VOID f2c.h 153;" d + VP_EPSILON draw.c 666;" d file: + VPoint defines.h /^} VPoint;$/;" t + VPoint2XPoint x11drv.c /^XPoint VPoint2XPoint(VPoint vp)$/;" f + VPoint2gdPoint rstdrv.c /^static gdPoint VPoint2gdPoint(VPoint vp)$/;" f file: + VPoints2bbox draw.c /^int VPoints2bbox(VPoint *vp1, VPoint *vp2, view *bb)$/;" f + VVector defines.h /^} VVector;$/;" t + VX1 pars.c 309;" d file: + VX2 pars.c 310;" d file: + VXMAX pars.c 311;" d file: + VY1 pars.c 312;" d file: + VY2 pars.c 313;" d file: + VYMAX pars.c 314;" d file: + Vardesc f2c.h /^struct Vardesc { \/* for Namelist *\/$/;" s + Vardesc f2c.h /^typedef struct Vardesc Vardesc;$/;" t + VersionInfo buildinfo.c /^static void VersionInfo(FILE *outfile)$/;" f file: + VersionInfo main.c /^static void VersionInfo(void)$/;" f file: + WEIGHT_CUSTOM nonlwin.c 60;" d file: + WEIGHT_DY nonlwin.c 59;" d file: + WEIGHT_NONE nonlwin.c 56;" d file: + WEIGHT_Y nonlwin.c 57;" d file: + WEIGHT_Y2 nonlwin.c 58;" d file: + WELCH pars.c 315;" d file: + WITH pars.c 316;" d file: + WORLD pars.c 317;" d file: + WPoint defines.h /^} WPoint;$/;" t + WRAP pars.c 318;" d file: + WRITE pars.c 319;" d file: + WSTACK_CYCLE xmgrace.c 118;" d file: + WSTACK_POP xmgrace.c 117;" d file: + WSTACK_PUSH xmgrace.c 116;" d file: + WSTACK_PUSH_ZOOM xmgrace.c 119;" d file: + WX1 pars.c 320;" d file: + WX2 pars.c 321;" d file: + WY1 pars.c 322;" d file: + WY2 pars.c 323;" d file: + Wpoint2Vpoint draw.c /^VPoint Wpoint2Vpoint(WPoint wp)$/;" f + WriteString t1fonts.c /^void WriteString(VPoint vp, int rot, int just, char *theString)$/;" f + X0 pars.c 325;" d file: + X1 pars.c 326;" d file: + XAXES pars.c 327;" d file: + XAXIS pars.c 328;" d file: + XCFREE utils.h 50;" d + XCOR pars.c 329;" d file: + XMAX pars.c 330;" d file: + XMIN pars.c 331;" d file: + XY pars.c 332;" d file: + XYAXES pars.c 333;" d file: + XYBOXPLOT pars.c 334;" d file: + XYCOLOR pars.c 335;" d file: + XYCOLPAT pars.c 336;" d file: + XYDX pars.c 337;" d file: + XYDXDX pars.c 338;" d file: + XYDXDXDYDY pars.c 339;" d file: + XYDXDY pars.c 340;" d file: + XYDY pars.c 341;" d file: + XYDYDY pars.c 342;" d file: + XYHILO pars.c 343;" d file: + XYR pars.c 344;" d file: + XYSIZE pars.c 345;" d file: + XYSTRING pars.c 346;" d file: + XYVMAP pars.c 347;" d file: + XYZ pars.c 348;" d file: + X_AXIS defines.h 120;" d + X_TOK pars.c 324;" d file: + XmCResizeChildren Tab.h 38;" d + XmCTabFontList Tab.h 35;" d + XmCTabLabel Tab.h 43;" d + XmNresizeChildren Tab.h 37;" d + XmNtabFontList Tab.h 34;" d + XmNtabLabel Tab.h 42;" d + XmStringConcatAndFree motifutils.c 71;" d file: + XmTabCallbackStruct Tab.h /^}XmTabCallbackStruct;$/;" t + XmTabClassPart TabP.h /^} XmTabClassPart;$/;" t + XmTabClassRec TabP.h /^} XmTabClassRec;$/;" t + XmTabConstraintPart TabP.h /^} XmTabConstraintPart;$/;" t + XmTabConstraintRec TabP.h /^} XmTabConstraintRec;$/;" t + XmTabGetTabWidget Tab.c /^extern Widget XmTabGetTabWidget(Widget tab)$/;" f + XmTabPart TabP.h /^} XmTabPart;$/;" t + XmTabRec TabP.h /^} XmTabRec;$/;" t + XmTabSetTabWidget Tab.c /^extern void XmTabSetTabWidget(Widget tab, Widget child, Boolean notify)$/;" f + XmTabWidget Tab.h /^typedef struct _XmTabRec *XmTabWidget;$/;" t + XmTabWidgetClass Tab.h /^typedef struct _XmTabClassRec *XmTabWidgetClass;$/;" t + Y0 pars.c 350;" d file: + Y1 pars.c 351;" d file: + Y2 pars.c 352;" d file: + Y3 pars.c 353;" d file: + Y4 pars.c 354;" d file: + YAXES pars.c 355;" d file: + YAXIS pars.c 356;" d file: + YEAR pars.c 357;" d file: + YIQ draw.h /^} YIQ;$/;" t + YMAX pars.c 358;" d file: + YMIN pars.c 359;" d file: + YYABORT pars.c 4101;" d file: + YYACCEPT pars.c 4100;" d file: + YYBACKUP pars.c 4108;" d file: + YYBISON pars.c 4;" d file: + YYCOPY pars.c 4047;" d file: + YYCOPY pars.c 4050;" d file: + YYDEBUG pars.c 535;" d file: + YYDPRINTF pars.c 4172;" d file: + YYDPRINTF pars.c 4181;" d file: + YYEMPTY pars.c 4098;" d file: + YYEOF pars.c 4099;" d file: + YYERRCODE pars.c 4126;" d file: + YYERROR pars.c 4102;" d file: + YYFAIL pars.c 4106;" d file: + YYFINAL pars.c 540;" d file: + YYFLAG pars.c 541;" d file: + YYFPRINTF pars.c 4169;" d file: + YYINITDEPTH pars.c 4186;" d file: + YYLAST pars.c 1712;" d file: + YYLEX pars.c 4148;" d file: + YYLEX pars.c 4150;" d file: + YYLEX pars.c 4154;" d file: + YYLEX pars.c 4156;" d file: + YYLEX pars.c 4160;" d file: + YYLLOC_DEFAULT pars.c 4137;" d file: + YYMAXDEPTH pars.c 4197;" d file: + YYMAXDEPTH pars.c 4201;" d file: + YYMMDD pars.c 360;" d file: + YYMMDDHMS pars.c 361;" d file: + YYNTBASE pars.c 542;" d file: + YYPARSE_PARAM_ARG pars.c 4267;" d file: + YYPARSE_PARAM_ARG pars.c 4270;" d file: + YYPARSE_PARAM_ARG pars.c 4274;" d file: + YYPARSE_PARAM_DECL pars.c 4268;" d file: + YYPARSE_PARAM_DECL pars.c 4271;" d file: + YYPARSE_PARAM_DECL pars.c 4275;" d file: + YYPOPSTACK pars.c 4361;" d file: + YYPOPSTACK pars.c 4363;" d file: + YYRECOVERING pars.c 4107;" d file: + YYSIZE_T pars.c 4006;" d file: + YYSIZE_T pars.c 4081;" d file: + YYSIZE_T pars.c 4084;" d file: + YYSIZE_T pars.c 4089;" d file: + YYSIZE_T pars.c 4093;" d file: + YYSTACK_ALLOC pars.c 3987;" d file: + YYSTACK_ALLOC pars.c 3991;" d file: + YYSTACK_ALLOC pars.c 3994;" d file: + YYSTACK_ALLOC pars.c 4008;" d file: + YYSTACK_BYTES pars.c 4034;" d file: + YYSTACK_BYTES pars.c 4038;" d file: + YYSTACK_FREE pars.c 4002;" d file: + YYSTACK_FREE pars.c 4009;" d file: + YYSTACK_GAP_MAX pars.c 4029;" d file: + YYSTACK_RELOCATE pars.c 4066;" d file: + YYSTACK_RELOCATE pars.c 4467;" d file: + YYSTYPE pars.c 531;" d file: + YYSTYPE_IS_TRIVIAL pars.c 532;" d file: + YYTERROR pars.c 4125;" d file: + YYTRANSLATE pars.c 545;" d file: + YY_DECL_NON_LSP_VARIABLES pars.c 4290;" d file: + YY_DECL_VARIABLES pars.c 4301;" d file: + YY_DECL_VARIABLES pars.c 4307;" d file: + Y_AXIS defines.h 121;" d + Y_TOK pars.c 349;" d file: + ZERO pars.c 362;" d file: + ZNORM pars.c 363;" d file: + ZOOMX_1ST events.h /^ ZOOMX_1ST,$/;" e + ZOOMX_2ND events.h /^ ZOOMX_2ND,$/;" e + ZOOMY_1ST events.h /^ ZOOMY_1ST,$/;" e + ZOOMY_2ND events.h /^ ZOOMY_2ND,$/;" e + ZOOM_1ST events.h /^ ZOOM_1ST,$/;" e + ZOOM_2ND events.h /^ ZOOM_2ND,$/;" e + ZX_AXIS defines.h 122;" d + ZY_AXIS defines.h 123;" d + Z_f f2c.h /^typedef VOID Z_f; \/* double complex function *\/$/;" t + Z_fp f2c.h /^typedef \/* Double Complex *\/ VOID (*Z_fp)();$/;" t + Z_fp f2c.h /^typedef \/* Double Complex *\/ VOID (*Z_fp)(...);$/;" t + _Arrange_ui worldwin.c /^typedef struct _Arrange_ui {$/;" s file: + _Auto_ui worldwin.c /^typedef struct _Auto_ui {$/;" s file: + _Cross_ui compwin.c /^typedef struct _Cross_ui {$/;" s file: + _Datasetop_ui setwin.c /^typedef struct _Datasetop_ui {$/;" s file: + _Diff_ui compwin.c /^typedef struct _Diff_ui {$/;" s file: + _Digf_ui compwin.c /^typedef struct _Digf_ui {$/;" s file: + _EditPoints editpwin.c /^typedef struct _EditPoints {$/;" s file: + _Eval_ui compwin.c /^typedef struct _Eval_ui {$/;" s file: + _Featext_ui featext.c /^typedef struct _Featext_ui {$/;" s file: + _Four_ui compwin.c /^typedef struct _Four_ui {$/;" s file: + _Geom_ui compwin.c /^typedef struct _Geom_ui {$/;" s file: + _Histo_ui compwin.c /^typedef struct _Histo_ui {$/;" s file: + _Input_buffer defines.h /^typedef struct _Input_buffer {$/;" s + _Int_ui compwin.c /^typedef struct _Int_ui {$/;" s file: + _Interp_ui compwin.c /^typedef struct _Interp_ui {$/;" s file: + _Lconv_ui compwin.c /^typedef struct _Lconv_ui {$/;" s file: + _Leval_ui setwin.c /^typedef struct _Leval_ui {$/;" s file: + _MATHSTUFF_H__ mathstuff.h 32;" d + _Prune_ui compwin.c /^typedef struct _Prune_ui {$/;" s file: + _Reg_ui compwin.c /^typedef struct _Reg_ui {$/;" s file: + _Run_ui compwin.c /^typedef struct _Run_ui {$/;" s file: + _Samp_ui compwin.c /^typedef struct _Samp_ui {$/;" s file: + _Seas_ui compwin.c /^typedef struct _Seas_ui {$/;" s file: + _SetChoiceItem motifinc.h /^typedef struct _SetChoiceItem {$/;" s + _Setop_ui setwin.c /^typedef struct _Setop_ui {$/;" s file: + _Type_ui setwin.c /^typedef struct _Type_ui {$/;" s file: + _XmTabClassPart TabP.h /^typedef struct _XmTabClassPart {$/;" s + _XmTabClassRec TabP.h /^typedef struct _XmTabClassRec {$/;" s + _XmTabConstraintPart TabP.h /^typedef struct _XmTabConstraintPart {$/;" s + _XmTabConstraintRec TabP.h /^typedef struct _XmTabConstraintRec {$/;" s + _XmTabPart TabP.h /^typedef struct _XmTabPart {$/;" s + _XmTabRec TabP.h /^typedef struct _XmTabRec {$/;" s + __AS274C_H_ as274c.h 30;" d + __BITMAPS_H_ bitmaps.h 30;" d + __CRTL_VER missing.c 360;" d file: + __CRTL_VER missing.h 40;" d + __DEFINES_H_ defines.h 35;" d + __DEVICE_H_ device.h 35;" d + __DEVLIST_H_ devlist.h 36;" d + __DRAW_H_ draw.h 30;" d + __EVENTS_H_ events.h 36;" d + __FILES_H_ files.h 34;" d + __GLOBALS_H_ globals.h 36;" d + __GRAPHS_H_ graphs.h 30;" d + __GRAPHUTILS_H_ graphutils.h 36;" d + __JBITMAPS_H_ jbitmaps.h 34;" d + __MBITMAPS_H_ mbitmaps.h 34;" d + __MISSING_H_ missing.h 32;" d + __MOTIFINC_H_ motifinc.h 34;" d + __NOXPROTOS_H_ noxprotos.h 36;" d + __PARSER_H_ parser.h 30;" d + __PATTERNS_H_ patterns.h 30;" d + __PLOTONE_H_ plotone.h 34;" d + __SSDATA_H_ ssdata.h 36;" d + __T1_FONTS_H_ t1fonts.h 35;" d + __TABP_H__ TabP.h 21;" d + __TAB_H__ Tab.h 21;" d + __UTILS_H_ utils.h 30;" d + __XPROTOS_H_ xprotos.h 35;" d + _cksts missing.c 88;" d file: + _console_ui monwin.c /^typedef struct _console_ui$/;" s file: + _grarr parser.h /^typedef struct _grarr {$/;" s + _html_ui helpwin.c /^typedef struct _html_ui {$/;" s file: + _missing_c_dummy_func missing.c /^void _missing_c_dummy_func(void) {}$/;" f + _pdfdrv_c_dummy_func pdfdrv.c /^void _pdfdrv_c_dummy_func(void) {}$/;" f + _ss_data ssdata.h /^typedef struct _ss_data$/;" s + a defines.h /^ double *a;$/;" m struct: + a_to_parms nonlfit.c /^void a_to_parms (double *a)$/;" f + aacdialog_int_cb_proc motifutils.c /^void aacdialog_int_cb_proc(void *data)$/;" f + about_frame helpwin.c /^static Widget about_frame;$/;" v file: + abs f2c.h 187;" d + abs f2c.h 190;" d + absic_graph featext.c /^ ListStructure *absic_graph;$/;" m struct:_Featext_ui file: + absic_set featext.c /^ SetChoiceItem absic_set;$/;" m struct:_Featext_ui file: + actOnSignal utils.c /^static RETSIGTYPE actOnSignal(int signo)$/;" f file: + action_flag events.c /^static int action_flag = 0;$/;" v file: + actions Tab.c /^static XtActionsRec actions[] = {$/;" v file: + actions comwin.c /^static XtActionsRec actions[] = {$/;" v file: + activate_bbox draw.c /^void activate_bbox(int type, int status)$/;" f + activate_region regionutils.c /^void activate_region(int r, int type, int linkto)$/;" f + activate_tick_labels graphs.c /^int activate_tick_labels(int gno, int axis, int flag)$/;" f + activateset setutils.c /^int activateset(int gno, int setno)$/;" f + active defines.h /^ int active; \/* active flag *\/$/;" m struct: + active defines.h /^ int active; \/* active or not *\/$/;" m struct: + active defines.h /^ int active; \/* legend on or off *\/$/;" m struct: + active defines.h /^ int active; \/* region on or off *\/$/;" m struct: + active defines.h /^ int active; \/* on\/off *\/$/;" m struct: + active defines.h /^ int active;$/;" m struct: + active draw.h /^ int active;$/;" m struct: + active_tab TabP.h /^ Widget active_tab;$/;" m struct:_XmTabPart + add worldwin.c /^ Widget add;$/;" m struct:_Arrange_ui file: + add_color draw.c /^int add_color(CMap_entry cmap)$/;" f + add_com comwin.c /^static void add_com(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + add_input_filter iofilters.c /^int add_input_filter( int method, char *id, char *comm )$/;" f + add_io_filter iofilters.c /^int add_io_filter( int type, int method, char *id, char *comm )$/;" f + add_output_filter iofilters.c /^int add_output_filter( int method, char *id, char *comm )$/;" f + add_point setutils.c /^void add_point(int gno, int setno, double px, double py)$/;" f + add_point_at setutils.c /^int add_point_at(int gno, int setno, int ind, const Datapoint *dpoint)$/;" f + add_row_cb editpwin.c /^void add_row_cb(void *data)$/;" f + add_world graphs.c /^void add_world(int gno, double x1, double x2, double y1, double y2)$/;" f + addr f2c.h /^ char *addr;$/;" m struct:Vardesc + address f2c.h /^typedef char *address;$/;" t + addto_symtab pars.c /^int addto_symtab(symtab_entry newkey)$/;" f + advancing t1fonts.h /^ int advancing;$/;" m struct: + aerr f2c.h /^{ flag aerr;$/;" m struct: + ai_wrap mathstuff.c /^extern double ai_wrap(double x)$/;" f + alias t1fonts.h /^ char *alias;$/;" m struct: + alias_force pars.c /^static int alias_force = FALSE; \/* controls whether aliases can override$/;" v file: + align alloca.c /^ char align[ALIGN_SIZE]; \/* To force sizeof(header). *\/$/;" m union:hdr file: + alist f2c.h /^} alist;$/;" t + all_points_inside draw.c /^static int all_points_inside(VPoint *vps, int n)$/;" f file: + alloca alloca.c /^alloca (size)$/;" f + alloca missing.h 116;" d + allocate_index_data ssdata.c /^double *allocate_index_data(int nrows)$/;" f + allocate_mesh ssdata.c /^double *allocate_mesh(double start, double stop, int len)$/;" f + allocate_set setutils.c /^int allocate_set(int gno, int setno)$/;" f + allow_dc xmgrace.c /^ Boolean allow_dc;$/;" m struct: file: + allow_two_digits_years dates.c /^void allow_two_digits_years(int allowed)$/;" f + anchor helpwin.c /^ char *anchor;$/;" m struct:_html_ui file: + anchorCB helpwin.c /^static void anchorCB(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + anchor_point events.c /^void anchor_point(int curx, int cury, VPoint curvp)$/;" f + anchor_vp events.c /^static VPoint anchor_vp = {0.0, 0.0};$/;" v file: + anchor_x events.c /^static int anchor_x = 0;$/;" v file: + anchor_y events.c /^static int anchor_y = 0;$/;" v file: + angle defines.h /^ int angle; \/* angle *\/$/;" m struct: + anydata motifinc.h /^ void *anydata;$/;" m struct: + anydata motifutils.c /^ void *anydata;$/;" m struct: file: + app_con xmgrace.c /^XtAppContext app_con;$/;" v + app_shell xmgrace.c /^Widget app_shell;$/;" v + apply_window computils.c /^void apply_window(double *xx, double *yy, int ilen, int type, int wind)$/;" f + applyto_item worldwin.c /^ OptionStructure *applyto_item;$/;" m struct:_Auto_ui file: + appstr defines.h /^ char appstr[64]; \/* append string *\/$/;" m struct: + arealab regionwin.c /^Widget arealab, perimlab;$/;" v + argmatch utils.c /^int argmatch(char *s1, char *s2, int atleast)$/;" f + arrange_graphs graphutils.c /^int arrange_graphs(int *graphs, int ngraphs,$/;" f + arrange_graphs_simple graphutils.c /^int arrange_graphs_simple(int nrows, int ncols,$/;" f + arrow defines.h /^ Arrow arrow;$/;" m struct: + arrow_clip defines.h /^ int arrow_clip; \/* draw arrows if clipped *\/$/;" m struct: + arrow_down motifinc.h /^ Widget arrow_down;$/;" m struct: + arrow_end defines.h /^ int arrow_end;$/;" m struct: + arrow_item strwin.c /^ OptionStructure *arrow_item;$/;" m struct: file: + arrow_up motifinc.h /^ Widget arrow_up;$/;" m struct: + as_option_items motifutils.c /^static OptionItem as_option_items[4] = $/;" v file: + asize_item strwin.c /^ SpinStructure *asize_item;$/;" m struct: file: + aspline fit.c /^void aspline(int n, double *x, double *y, double *b, double *c, double *d)$/;" f + atype_item strwin.c /^ OptionStructure *atype_item;$/;" m struct: file: + aui worldwin.c /^static Auto_ui aui;$/;" v file: + aunit f2c.h /^ ftnint aunit;$/;" m struct: + auto_bits bitmaps.h /^static unsigned char auto_bits[] = {$/;" v + auto_height bitmaps.h 137;" d + auto_item eblockwin.c /^static OptionStructure *auto_item;$/;" v file: + auto_item fileswin.c /^ OptionStructure *auto_item; \/* autoscale on read *\/$/;" m struct: file: + auto_redraw xmgrace.c /^ Boolean auto_redraw;$/;" m struct: file: + auto_spec_cb tickwin.c /^static void auto_spec_cb(int value, void *data)$/;" f file: + auto_ticks graphutils.c /^static void auto_ticks(int gno, int axis)$/;" f file: + auto_width bitmaps.h 136;" d + autoload nonlwin.c /^ int autoload; \/* do autoload *\/$/;" m struct: file: + autonum tickwin.c /^static OptionStructure *autonum; \/* number of autotick divisions *\/$/;" v file: + autoon_proc xmgrace.c /^void autoon_proc(void *data)$/;" f + autorange_byset graphutils.c /^static void autorange_byset(int gno, int setno, int autos_type)$/;" f file: + autoredraw_type_item miscwin.c /^static Widget autoredraw_type_item;$/;" v file: + autoscale_action events.c /^void autoscale_action(Widget w, XKeyEvent *e, String *p, Cardinal *c)$/;" f + autoscale_byset graphutils.c /^void autoscale_byset(int gno, int setno, int autos_type)$/;" f + autoscale_graph graphutils.c /^int autoscale_graph(int gno, int autos_type)$/;" f + autoscale_on_near_action events.c /^void autoscale_on_near_action( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + autoscale_proc xmgrace.c /^static void autoscale_proc(void *data)$/;" f file: + autotick_axis graphutils.c /^void autotick_axis(int gno, int axis)$/;" f + autoticks_proc xmgrace.c /^void autoticks_proc(void *data)$/;" f + aux_XDrawLine xutil.c /^static void aux_XDrawLine(int x1, int y1, int x2, int y2)$/;" f file: + aux_XDrawRectangle xutil.c /^static void aux_XDrawRectangle(int x1, int y1, int x2, int y2)$/;" f file: + aux_XFillRectangle xutil.c /^static void aux_XFillRectangle(int x, int y, unsigned int width, unsigned int height)$/;" f file: + avalue graphs.h /^ AValue avalue; \/* Parameters for annotative string *\/$/;" m struct: + avalue_active_item setappwin.c /^static Widget avalue_active_item;$/;" v file: + avalue_angle_item setappwin.c /^static Widget avalue_angle_item;$/;" v file: + avalue_appstr setappwin.c /^static Widget avalue_appstr;$/;" v file: + avalue_charsize_item setappwin.c /^static Widget avalue_charsize_item ;$/;" v file: + avalue_color_item setappwin.c /^static OptionStructure *avalue_color_item;$/;" v file: + avalue_font_item setappwin.c /^static OptionStructure *avalue_font_item;$/;" v file: + avalue_format_item setappwin.c /^static OptionStructure *avalue_format_item;$/;" v file: + avalue_offsetx setappwin.c /^static Widget avalue_offsetx;$/;" v file: + avalue_offsety setappwin.c /^static Widget avalue_offsety;$/;" v file: + avalue_precision_item setappwin.c /^static OptionStructure *avalue_precision_item;$/;" v file: + avalue_prestr setappwin.c /^static Widget avalue_prestr;$/;" v file: + avalue_type_item setappwin.c /^static OptionStructure *avalue_type_item;$/;" v file: + axes_aac_cb tickwin.c /^static int axes_aac_cb(void *data)$/;" f file: + axes_dialog tickwin.c /^static Widget axes_dialog = NULL;$/;" v file: + axes_tab tickwin.c /^static Widget axes_tab;$/;" v file: + axeswin_iu tickwin.c /^void axeswin_iu( int a, void *data )$/;" f + axis_active tickwin.c /^static Widget axis_active; \/* active or not *\/$/;" v file: + axis_applyto tickwin.c /^static OptionStructure *axis_applyto; \/* override *\/$/;" v file: + axis_clicked events.c /^int axis_clicked(int gno, VPoint vp, int *axisno)$/;" f + axis_invert tickwin.c /^static Widget axis_invert; \/* invert axis *\/$/;" v file: + axis_scale tickwin.c /^static OptionStructure *axis_scale; \/* axis scale *\/$/;" v file: + axis_scale_cb tickwin.c /^static void axis_scale_cb(int value, void *data)$/;" f file: + axis_world_start tickwin.c /^static Widget axis_world_start;$/;" v file: + axis_world_stop tickwin.c /^static Widget axis_world_stop;$/;" v file: + axis_zero tickwin.c /^static Widget axis_zero; \/* "zero" or "plain" *\/$/;" v file: + axislabel tickwin.c /^static TextStructure *axislabel; \/* axis label *\/$/;" v file: + axislabelcharsize tickwin.c /^static Widget axislabelcharsize;\/* axis label charsize *\/$/;" v file: + axislabelcolor tickwin.c /^static OptionStructure *axislabelcolor; \/* axis label color *\/$/;" v file: + axislabelfont tickwin.c /^static OptionStructure *axislabelfont; \/* axis label font *\/$/;" v file: + axislabellayout tickwin.c /^static OptionStructure *axislabellayout; \/* axis label layout (perp or parallel) *\/$/;" v file: + axislabelop tickwin.c /^static OptionStructure *axislabelop; \/* tick labels normal|opposite|both sides *\/$/;" v file: + axislabelplace tickwin.c /^static OptionStructure *axislabelplace; \/* axis label placement, auto or specified *\/$/;" v file: + axislabelspec_para tickwin.c /^static Widget axislabelspec_para; \/* location of axis label if specified (viewport coords) *\/$/;" v file: + axislabelspec_perp tickwin.c /^static Widget axislabelspec_perp; \/* location of axis label if specified (viewport coords) *\/$/;" v file: + axislabelspec_rc tickwin.c /^static Widget axislabelspec_rc;$/;" v file: + b defines.h /^ double *b;$/;" m struct: + backwarddiff computils.c /^static void backwarddiff(double *x, double *y, double *resx, double *resy, int n)$/;" f file: + bailout utils.c /^void bailout(void)$/;" f + barcolor tickwin.c /^static OptionStructure *barcolor;$/;" v file: + bargap graphs.h /^ double bargap; \/* Distance between bars (in bar charts) *\/$/;" m struct: + bargap_item graphappwin.c /^static SpinStructure *bargap_item;$/;" v file: + barlines tickwin.c /^static OptionStructure *barlines;$/;" v file: + barlinew tickwin.c /^static SpinStructure *barlinew;$/;" v file: + baronoff tickwin.c /^static Widget baronoff; \/* axis bar *\/$/;" v file: + barsize defines.h /^ double barsize; \/* size of error bar *\/$/;" m struct: + base helpwin.c /^ char *base;$/;" m struct:_html_ui file: + baseline graphs.h /^ int baseline; \/* should the baseline be drawn *\/$/;" m struct: + baseline_item setappwin.c /^static Widget baseline_item;$/;" v file: + baseline_type graphs.h /^ int baseline_type; \/* type of baseline *\/$/;" m struct: + baselinetype_item setappwin.c /^static OptionStructure *baselinetype_item;$/;" v file: + batchfile pars.c /^char batchfile[GR_MAXPATHLEN] = "",$/;" v + bb defines.h /^ view bb;$/;" m struct: + bb events.c /^static view bb;$/;" v file: + bbox fontwin.c /^static BBox bbox;$/;" v file: + bboxes draw.c /^static BBox_type bboxes[2];$/;" v file: + bg_color_item plotwin.c /^static OptionStructure *bg_color_item;$/;" v file: + bg_fill_item plotwin.c /^static Widget bg_fill_item;$/;" v file: + bgcolor defines.h /^ int bgcolor;$/;" m struct: + bgcolor draw.h /^ int bgcolor;$/;" m struct: + bgfilled draw.h /^ int bgfilled;$/;" m struct: + bi_ccompiler utils.c /^char *bi_ccompiler(void)$/;" f + bi_date utils.c /^char *bi_date(void)$/;" f + bi_gui utils.c /^char *bi_gui(void)$/;" f + bi_gui_xbae utils.c /^char *bi_gui_xbae(void)$/;" f + bi_libjpeg utils.c /^char *bi_libjpeg(void)$/;" f + bi_libpdf utils.c /^char *bi_libpdf(void)$/;" f + bi_pnglib utils.c /^char *bi_pnglib(void)$/;" f + bi_system utils.c /^char *bi_system(void)$/;" f + bi_t1lib utils.c /^char *bi_t1lib(void)$/;" f + bi_version_id utils.c /^long bi_version_id(void)$/;" f + bi_version_string utils.c /^char *bi_version_string(void)$/;" f + bi_wrap mathstuff.c /^extern double bi_wrap(double x)$/;" f + bin_dump utils.c /^int bin_dump(char *value, int i, int pad)$/;" f + binsampling_cb compwin.c /^static void binsampling_cb(int value, void *data)$/;" f file: + bit_clear f2c.h 197;" d + bit_set f2c.h 198;" d + bit_swap fourier.c /^static int bit_swap(int i, int nu)$/;" f file: + bit_test f2c.h 196;" d + bitmap motifinc.h /^ unsigned char *bitmap;$/;" m struct: + block_curtype eblockwin.c /^static int block_curtype = SET_XY;$/;" v file: + blockdata ssdata.c /^static ss_data blockdata = {0, 0, NULL, NULL};$/;" v file: + blue draw.h /^ double blue;$/;" m struct: + blue draw.h /^ int blue;$/;" m struct: + blue gd.h /^ int blue[gdMaxColors]; $/;" m struct:gdImageStruct + boff worldwin.c /^ SpinStructure *boff;$/;" m struct:_Arrange_ui file: + box_edit_popup strwin.c /^void box_edit_popup(int boxno)$/;" f + box_edit_proc strwin.c /^void box_edit_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f + box_ui strwin.c /^static EditBoxUI box_ui,ellip_ui;$/;" v file: + boxes_color_item strwin.c /^static OptionStructure *boxes_color_item;$/;" v file: + boxes_def_proc strwin.c /^void boxes_def_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f + boxes_fillcol_item strwin.c /^static OptionStructure *boxes_fillcol_item;$/;" v file: + boxes_fillpat_item strwin.c /^static OptionStructure *boxes_fillpat_item;$/;" v file: + boxes_frame strwin.c /^static Widget boxes_frame;$/;" v file: + boxes_lines_item strwin.c /^static OptionStructure *boxes_lines_item;$/;" v file: + boxes_linew_item strwin.c /^static SpinStructure *boxes_linew_item;$/;" v file: + boxes_loc_item strwin.c /^static OptionStructure *boxes_loc_item;$/;" v file: + boxfillpen defines.h /^ Pen boxfillpen;$/;" m struct: + boxlines defines.h /^ int boxlines; \/* legend frame line style *\/$/;" m struct: + boxlinew defines.h /^ double boxlinew; \/* legend frame line width *\/$/;" m struct: + boxno strwin.c /^ int boxno;$/;" m struct: file: + boxpen defines.h /^ Pen boxpen;$/;" m struct: + boxtype defines.h /^} boxtype;$/;" t + bringf_item motifinc.h /^ Widget bringf_item;$/;" m struct: + bringf_set_proc motifutils.c /^void bringf_set_proc(void *data)$/;" f + brush gd.h /^ struct gdImageStruct *brush;$/;" m struct:gdImageStruct + brushColorMap gd.h /^ int brushColorMap[gdMaxColors];$/;" m struct:gdImageStruct + buf computils.c /^static char buf[256];$/;" v file: + buf defines.h /^ char *buf; \/* buffer for already read lines *\/$/;" m struct:_Input_buffer + buf fit.c /^static char buf[256];$/;" v file: + buf nonlwin.c /^static char buf[256];$/;" v file: + buf params.c /^static char buf[256];$/;" v file: + buf regionwin.c /^static char buf[256];$/;" v file: + buf strwin.c /^static char buf[256];$/;" v file: + buffer missing.c /^ char *buffer;$/;" m struct: file: + buffer_length missing.c /^ unsigned short buffer_length, item_code;$/;" m struct: file: + bufpixmap xutil.c /^static Pixmap bufpixmap = (Pixmap) NULL;$/;" v file: + bugwarn utils.c /^static void bugwarn(char *signame)$/;" f file: + but1 compwin.c /^static Widget but1[3];$/;" v file: + but1 regionwin.c /^static Widget but1[2];$/;" v file: + but2 compwin.c /^static Widget but2[3];$/;" v file: + but2 featext.c /^static Widget but2[3];$/;" v file: + but2 regionwin.c /^static Widget but2[2];$/;" v file: + but3 regionwin.c /^static Widget but3[3];$/;" v file: + button_int_cb_proc motifutils.c /^static void button_int_cb_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + c defines.h /^ double *c;$/;" m struct: + c f2c.h /^ complex c;$/;" m union:Multitype + c__1 lmdif.c /^static integer c__1 = 1;$/;" v file: + c__2 lmdif.c /^static integer c__2 = 2;$/;" v file: + c_true lmdif.c /^static logical c_true = TRUE_;$/;" v file: + cal_and_time_to_jul dates.c /^double cal_and_time_to_jul(int y, int m, int d,$/;" f + cal_to_jul dates.c /^long cal_to_jul(int y, int m, int d)$/;" f + calculate_tickgrid drawticks.c /^void calculate_tickgrid(int gno)$/;" f + canvas xmgrace.c /^static Widget canvas;$/;" v file: + canvas_actions xmgrace.c /^static XtActionsRec canvas_actions[] = {$/;" v file: + canvas_table xmgrace.c /^static char canvas_table[] = "#override\\n\\$/;" v file: + case_sensitive helpwin.c /^ Widget case_sensitive;$/;" m struct:_html_ui file: + cbproc motifutils.c /^ int (*cbproc)();$/;" m struct: file: + cbproc motifutils.c /^ void (*cbproc)();$/;" m struct: file: + centereddiff computils.c /^static void centereddiff(double *x, double *y, double *resx, double *resy, int n)$/;" f file: + century dates.c /^static int century = 2000;$/;" v file: + cerr f2c.h /^{ flag cerr;$/;" m struct: + cformat editpwin.c /^ int cformat[MAX_SET_COLS];$/;" m struct:_EditPoints file: + cg graphs.c /^static int cg = -1;$/;" v file: + cg setappwin.c 47;" d file: + cg setwin.c 53;" d file: + change_gc Tab.c /^static void change_gc(XmTabWidget wid)$/;" f file: + change_tab Tab.c /^static void change_tab(XmTabWidget wid, Widget new_tab)$/;" f file: + changetypeCB setwin.c /^static void changetypeCB(int n, int *values, void *data)$/;" f file: + char_font_item setappwin.c /^static OptionStructure *char_font_item;$/;" v file: + charfont graphs.h /^ int charfont; \/* font for symchar if sym == SYM_CHAR *\/$/;" m struct: + charset motifutils.c /^static XmStringCharSet charset = XmFONTLIST_DEFAULT_TAG;$/;" v file: + charsize defines.h /^ double charsize;$/;" m struct: + charsize draw.h /^ double charsize;$/;" m struct: + chdir missing.h 91;" d + check_date dates.c /^static int check_date(Int_token y, Int_token m, Int_token d, long *jul)$/;" f file: + chi_wrap mathstuff.c /^extern double chi_wrap(double x)$/;" f + ci_wrap mathstuff.c /^extern double ci_wrap(double x)$/;" f + ciend f2c.h /^ flag ciend;$/;" m struct: + cierr f2c.h /^{ flag cierr;$/;" m struct: + cifmt f2c.h /^ char *cifmt;$/;" m struct: + cilist f2c.h /^} cilist;$/;" t + cirec f2c.h /^ ftnint cirec;$/;" m struct: + ciunit f2c.h /^ ftnint ciunit;$/;" m struct: + clear as274c.c /^int clear(int np, int nrbar, double *d, double *rbar,$/;" f + clear_dirtystate utils.c /^void clear_dirtystate(void)$/;" f + clear_history comwin.c /^static void clear_history(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + clear_io_filters iofilters.c /^void clear_io_filters( int f )$/;" f + clear_objects_cb strwin.c /^static void clear_objects_cb(void *data)$/;" f file: + clear_region_item regionwin.c /^static OptionStructure *clear_region_item;$/;" v file: + clear_results monwin.c /^static void clear_results(void *data)$/;" f file: + clear_status regionwin.c /^void clear_status(void)$/;" f + clear_world_stack graphs.c /^void clear_world_stack(void)$/;" f + cli_loop main.c /^void cli_loop(void)$/;" f + clip_line draw.c /^int clip_line(VPoint vp1, VPoint vp2, VPoint *vp1c, VPoint *vp2c)$/;" f + clip_polygon draw.c /^int clip_polygon(VPoint *vps, int n)$/;" f + clipflag draw.c /^static int clipflag = TRUE; \/* whether clipping must be in force *\/$/;" v file: + cliplen defines.h /^ double cliplen; \/* riser clipped length (v.p.) *\/$/;" m struct: + cllist f2c.h /^} cllist;$/;" t + close motifutils.c /^ int close;$/;" m struct: file: + close_input files.c /^char *close_input; \/* name of real-time input to close *\/$/;" v + close_objects_cb strwin.c /^static void close_objects_cb(void *data)$/;" f file: + close_rhist_popup comwin.c /^void close_rhist_popup(Widget w, XtPointer client_data, XtPointer call_data)$/;" f + cmap x11drv.c /^Colormap cmap;$/;" v + cmap_init draw.c /^static CMap_entry cmap_init[] = {$/;" v file: + cmap_table draw.c /^static CMap_entry *cmap_table;$/;" v file: + cname draw.h /^ char *cname;$/;" m struct: + coef defines.h /^ double coef[15];$/;" m struct: + color defines.h /^ int color; \/* color *\/$/;" m struct: + color defines.h /^ int color; \/* region color *\/$/;" m struct: + color defines.h /^ int color; \/* color of tickmarks *\/$/;" m struct: + color defines.h /^ int color;$/;" m struct: + color t1fonts.h /^ int color;$/;" m struct: + color_item strwin.c /^ OptionStructure *color_item;$/;" m struct: file: + color_option_items motifutils.c /^static OptionItem *color_option_items = NULL;$/;" v file: + color_selectors motifutils.c /^static OptionStructure **color_selectors = NULL;$/;" v file: + colorfilter_defined svgdrv.c /^ int *colorfilter_defined;$/;" m struct: file: + colorsTotal gd.h /^ int colorsTotal;$/;" m struct:gdImageStruct + cols_to_field_string ssdata.c /^char *cols_to_field_string(int nc, int *cols, int scol)$/;" f + comcall comwin.c /^static void comcall(Widget w, XtPointer cd, XtPointer calld)$/;" f file: + command comwin.c /^static Widget command;$/;" v file: + command iofilters.c /^ char *command;$/;" m struct:filter file: + comment editpwin.c /^ TextStructure *comment;$/;" m struct:_EditPoints file: + comment_item setwin.c /^ Widget comment_item;$/;" m struct:_Type_ui file: + comments graphs.h /^ char comments[MAX_STRING_LENGTH]; \/* how did this set originate *\/$/;" m struct: + comp_area utils.c /^double comp_area(int n, double *x, double *y)$/;" f + comp_perimeter utils.c /^double comp_perimeter(int n, double *x, double *y)$/;" f + compare_keys pars.c /^static int compare_keys (const void *a, const void *b)$/;" f file: + compare_points1 setutils.c /^static int compare_points1(const void *p1, const void *p2)$/;" f file: + compare_points2 setutils.c /^static int compare_points2(const void *p1, const void *p2)$/;" f file: + compare_rgb draw.c /^int compare_rgb(RGB *rgb1, RGB *rgb2)$/;" f + compare_strings utils.c /^int compare_strings(const char *s1, const char *s2)$/;" f + completion missing.c /^ unsigned long int completion;$/;" m struct:pipe_details file: + complex f2c.h /^typedef struct { real r, i; } complex;$/;" t + composite TabP.h /^ CompositePart composite;$/;" m struct:_XmTabRec + composite_class TabP.h /^ CompositeClassPart composite_class;$/;" m struct:_XmTabClassRec + compute_aac compwin.c /^static void compute_aac(void *data)$/;" f file: + compute_tab_rects Tab.c /^static void compute_tab_rects(XmTabWidget wid)$/;" f file: + comshell comwin.c /^static Widget comshell;$/;" v file: + comwin_add_act comwin.c /^void comwin_add_act( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + comwin_delete_act comwin.c /^void comwin_delete_act( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + comwin_down_act comwin.c /^void comwin_down_act( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + comwin_replace_act comwin.c /^void comwin_replace_act( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + comwin_table comwin.c /^static char comwin_table[] = "#override\\n\\$/;" v file: + comwin_up_act comwin.c /^void comwin_up_act( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + concat_strings utils.c /^char *concat_strings(char *dest, const char *src)$/;" f + configure_children Tab.c /^static void configure_children(XmTabWidget wid)$/;" f file: + console_ui monwin.c /^} console_ui;$/;" t file: + constr defines.h /^ int constr; \/* whether or not to use constraints *\/$/;" m struct: + constraint TabP.h /^ ConstraintPart constraint;$/;" m struct:_XmTabRec + constraint_class TabP.h /^ ConstraintClassPart constraint_class;$/;" m struct:_XmTabClassRec + constraint_resources Tab.c /^static XtResource constraint_resources[]={$/;" v file: + convertchar utils.c /^void convertchar(char *s)$/;" f + coordinates draw.c /^static int coordinates;$/;" v file: + copy12_graph_proc motifutils.c /^void copy12_graph_proc(void *data)$/;" f + copy12_item motifinc.h /^ Widget copy12_item;$/;" m struct: + copy12_item motifutils.c /^ Widget copy12_item;$/;" m struct: file: + copy12_set_proc motifutils.c /^void copy12_set_proc(void *data)$/;" f + copy21_graph_proc motifutils.c /^void copy21_graph_proc(void *data)$/;" f + copy21_item motifinc.h /^ Widget copy21_item;$/;" m struct: + copy21_item motifutils.c /^ Widget copy21_item;$/;" m struct: file: + copy21_set_proc motifutils.c /^void copy21_set_proc(void *data)$/;" f + copy_data_column ssdata.c /^double *copy_data_column(double *src, int nrows)$/;" f + copy_graph graphs.c /^int copy_graph(int from, int to)$/;" f + copy_graph_tickmarks graphs.c /^tickmarks *copy_graph_tickmarks(tickmarks *t)$/;" f + copy_object objutils.c /^void copy_object(int type, int from, int to)$/;" f + copy_string utils.c /^char *copy_string(char *dest, const char *src)$/;" f + copy_string_column ssdata.c /^char **copy_string_column(char **src, int nrows)$/;" f + copy_vrbl pars.c /^static void copy_vrbl(grarr *dest, grarr *src)$/;" f file: + copycol2 setutils.c /^void copycol2(int gfrom, int setfrom, int gto, int setto, int col)$/;" f + copyset setutils.c /^int copyset(int gfrom, int setfrom, int gto, int setto)$/;" f + copysetdata setutils.c /^int copysetdata(int gfrom, int setfrom, int gto, int setto)$/;" f + copyx noxprotos.h 189;" d + copyy noxprotos.h 190;" d + cor as274c.c /^void cor(int np, double *d, double *rbar, $/;" f + core TabP.h /^ CorePart core;$/;" m struct:_XmTabRec + core_class TabP.h /^ CoreClassPart core_class;$/;" m struct:_XmTabClassRec + correlation nonlfit.c /^int correlation(double *x, double *y, int n, double *cor)$/;" f + cost gd.c /^static int cost[] = { 1024, 1023, 1023, 1022, 1021, 1020, 1018, 1016, 1014,$/;" v file: + costScale gd.c 10;" d file: + cov as274c.c /^int cov(int np, int nrbar, double *d, $/;" f + covar_item compwin.c /^ Widget covar_item;$/;" m struct:_Cross_ui file: + cprec editpwin.c /^ int cprec[MAX_SET_COLS];$/;" m struct:_EditPoints file: + cray f2c.h 237;" d + create_about_grtool helpwin.c /^void create_about_grtool(void *data)$/;" f + create_area_frame regionwin.c /^void create_area_frame(void *data)$/;" f + create_arrange_frame worldwin.c /^void create_arrange_frame(void *data)$/;" f + create_autos_frame worldwin.c /^void create_autos_frame(void *data)$/;" f + create_axes_dialog tickwin.c /^void create_axes_dialog(int axisno)$/;" f + create_axes_dialog_cb tickwin.c /^void create_axes_dialog_cb(void *data)$/;" f + create_clear_frame regionwin.c /^void create_clear_frame(void *data)$/;" f + create_datasetop_popup setwin.c /^void create_datasetop_popup(void *data)$/;" f + create_datasetprop_popup setwin.c /^void create_datasetprop_popup(void *data)$/;" f + create_define_frame regionwin.c /^void create_define_frame(void *data)$/;" f + create_devopts_popup printwin.c /^void create_devopts_popup(void *data)$/;" f + create_diff_frame compwin.c /^void create_diff_frame(void *data)$/;" f + create_digf_frame compwin.c /^void create_digf_frame(void *data)$/;" f + create_eblock_frame eblockwin.c /^void create_eblock_frame(int gno)$/;" f + create_eval_frame compwin.c /^void create_eval_frame(void *data)$/;" f + create_featext_frame featext.c /^void create_featext_frame(void *data)$/;" f + create_file_popup fileswin.c /^void create_file_popup(void *data)$/;" f + create_find_dialog helpwin.c /^static void create_find_dialog(void *data)$/;" f file: + create_fonttool fontwin.c /^void create_fonttool(Widget cstext)$/;" f + create_fonttool_cb fontwin.c /^void create_fonttool_cb(void *data)$/;" f + create_fourier_frame compwin.c /^void create_fourier_frame(void *data)$/;" f + create_fstring utils.c /^char *create_fstring(int form, int prec, double loc, int type)$/;" f + create_gc Tab.c /^static void create_gc(XmTabWidget wid)$/;" f file: + create_geom_frame compwin.c /^void create_geom_frame(void *data)$/;" f + create_graphapp_frame graphappwin.c /^void create_graphapp_frame(int gno)$/;" f + create_graphapp_frame_cb graphappwin.c /^void create_graphapp_frame_cb(void *data)$/;" f + create_helper_frame helpwin.c /^void create_helper_frame(char *URL)$/;" f + create_histo_frame compwin.c /^void create_histo_frame(void *data)$/;" f + create_hotfiles_popup hotwin.c /^void create_hotfiles_popup(Widget w, XtPointer client_data, XtPointer call_data)$/;" f + create_hotlinks_popup hotwin.c /^void create_hotlinks_popup(void *data)$/;" f + create_int_frame compwin.c /^void create_int_frame(void *data)$/;" f + create_interp_frame compwin.c /^void create_interp_frame(void *data)$/;" f + create_lconv_frame compwin.c /^void create_lconv_frame(void *data)$/;" f + create_leval_frame setwin.c /^void create_leval_frame(void *data)$/;" f + create_locator_frame locatewin.c /^void create_locator_frame(void *data)$/;" f + create_mbx missing.c /^create_mbx(unsigned short int *chan, struct dsc$descriptor_s *namdsc)$/;" f file: + create_monitor_frame monwin.c /^static void create_monitor_frame(int force, char *msg)$/;" f file: + create_monitor_frame_cb monwin.c /^void create_monitor_frame_cb(void *data)$/;" f + create_netcdffiles_popup fileswin.c /^void create_netcdffiles_popup(Widget w, XtPointer client_data, XtPointer call_data)$/;" f + create_netcdfs_popup fileswin.c /^void create_netcdfs_popup(void *data)$/;" f + create_new_graph_proc motifutils.c /^void create_new_graph_proc(void *data)$/;" f + create_nonl_frame nonlwin.c /^void create_nonl_frame(void *data)$/;" f + create_openfit_popup nonlwin.c /^static void create_openfit_popup(void *data)$/;" f file: + create_openproject_popup fileswin.c /^void create_openproject_popup(void)$/;" f + create_overlay_frame worldwin.c /^void create_overlay_frame(void *data)$/;" f + create_plot_frame plotwin.c /^void create_plot_frame(void)$/;" f + create_plot_frame_cb plotwin.c /^void create_plot_frame_cb(void *data)$/;" f + create_points_frame ptswin.c /^void create_points_frame(void *data)$/;" f + create_printer_setup printwin.c /^void create_printer_setup(void *data)$/;" f + create_printfiles_popup printwin.c /^void create_printfiles_popup(void *data)$/;" f + create_props_frame miscwin.c /^void create_props_frame(void *data)$/;" f + create_prune_frame compwin.c /^void create_prune_frame(void *data)$/;" f + create_reg_frame compwin.c /^void create_reg_frame(void *data)$/;" f + create_reporton_frame regionwin.c /^void create_reporton_frame(void *data)$/;" f + create_rhist_popup comwin.c /^void create_rhist_popup(Widget w, XtPointer client_data, XtPointer call_data)$/;" f + create_rparams_popup fileswin.c /^void create_rparams_popup(void *data)$/;" f + create_run_frame compwin.c /^void create_run_frame(void *data)$/;" f + create_samp_frame compwin.c /^void create_samp_frame(void *data)$/;" f + create_savefit_popup nonlwin.c /^static void create_savefit_popup(void *data)$/;" f file: + create_saveproject_popup fileswin.c /^void create_saveproject_popup(void)$/;" f + create_seasonal_frame compwin.c /^void create_seasonal_frame(void *data)$/;" f + create_set_fromblock ssdata.c /^int create_set_fromblock(int gno, int setno,$/;" f + create_setop_popup setwin.c /^void create_setop_popup(void *data)$/;" f + create_ss_frame editpwin.c /^void create_ss_frame(int gno, int setno)$/;" f + create_whist_frame comwin.c /^void create_whist_frame(Widget w, XtPointer client_data, XtPointer call_data)$/;" f + create_wmon_frame monwin.c /^static void create_wmon_frame(void *data)$/;" f file: + create_wparam_frame fileswin.c /^void create_wparam_frame(void *data)$/;" f + create_write_popup fileswin.c /^void create_write_popup(void *data)$/;" f + create_xcor_frame compwin.c /^void create_xcor_frame(void *data)$/;" f + crosscorr fit.c /^int crosscorr(double *x, double *y, int n, int maxlag, int covar, double *xres)$/;" f + crosshair_erase xutil.c /^static int crosshair_erase = FALSE;$/;" v file: + crosshair_motion xutil.c /^void crosshair_motion(int x, int y)$/;" f + crossui compwin.c /^static Cross_ui crossui;$/;" v file: + cset setappwin.c /^static int cset = 0; \/* the current set from the symbols panel *\/$/;" v file: + csta f2c.h /^ char *csta;$/;" m struct: + cstext_actions xmgrace.c /^static XtActionsRec cstext_actions[] = {$/;" v file: + cstext_edit_action motifutils.c /^void cstext_edit_action(Widget w, XEvent *e, String *par, Cardinal *npar)$/;" f + cstext_parent fontwin.c /^static Widget cstext_parent = NULL;$/;" v file: + cstext_translation_table motifutils.c /^static char cstext_translation_table[] = "\\$/;" v file: + csync_cb setappwin.c /^static void csync_cb(int value, void *data)$/;" f file: + csync_item setappwin.c /^static Widget csync_item;$/;" v file: + ctype draw.h /^ int ctype;$/;" m struct: + cumulative compwin.c /^ Widget cumulative;$/;" m struct:_Histo_ui file: + cunit f2c.h /^ ftnint cunit;$/;" m struct: + cur_cursor xutil.c /^static int cur_cursor = -1;$/;" v file: + curaxis tickwin.c /^static int curaxis;$/;" v file: + curbox pars.c /^static int curline, curbox, curellipse, curstring;$/;" v file: + curdevice device.c /^static int curdevice = 0;$/;" v file: + curellipse pars.c /^static int curline, curbox, curellipse, curstring;$/;" v file: + curformat psdrv.c /^static int curformat = DEFAULT_PS_FORMAT;$/;" v file: + curformat rstdrv.c /^static int curformat = DEFAULT_RASTER_FORMAT;$/;" v file: + curline pars.c /^static int curline, curbox, curellipse, curstring;$/;" v file: + current_address alloca.c /^ long current_address; \/* Current stack segment address. *\/$/;" m struct:stk_stat file: + current_page_units printwin.c /^static int current_page_units = 0;$/;" v file: + current_size alloca.c /^ long current_size; \/* Current stack segment size. This$/;" m struct:stk_stat file: + cursor_type_item miscwin.c /^static Widget cursor_type_item;$/;" v file: + cursortype events.c /^int cursortype = 0;$/;" v + curstring pars.c /^static int curline, curbox, curellipse, curstring;$/;" v file: + curtile x11drv.c /^static Pixmap curtile;$/;" v file: + curw graphs.h /^ int curw; \/* for cycling through the stack *\/$/;" m struct: + curw_item xmgrace.c /^Widget curw_item; \/* current world stack item on the main panel *\/$/;" v + cut_size TabP.h /^ Dimension cut_size;$/;" m struct:_XmTabPart + cxx t1fonts.h /^ double cxx, cxy;$/;" m struct: + cxy t1fonts.h /^ double cxx, cxy;$/;" m struct: + cycle_world_stack graphs.c /^void cycle_world_stack(void)$/;" f + cyx t1fonts.h /^ double cyx, cyy;$/;" m struct: + cyy t1fonts.h /^ double cyx, cyy;$/;" m struct: + d defines.h /^ double *d;$/;" m struct: + d f2c.h /^ doublereal d;$/;" m union:Multitype + dL_ff defines.h /^ double dL_ff; \/* d\/L form factor *\/$/;" m struct: + dL_ff_item strwin.c /^ SpinStructure *dL_ff_item;$/;" m struct: file: + d_d defaults.c /^static defaults d_d =$/;" v file: + d_v defaults.c /^static view d_v =$/;" v file: + d_w defaults.c /^static world d_w =$/;" v file: + dabs f2c.h 191;" d + dash_array patterns.h /^static char *dash_array[MAXLINESTYLES] =$/;" v + dash_array0 patterns.h /^static char dash_array0[2] =$/;" v + dash_array1 patterns.h /^static char dash_array1[2] =$/;" v + dash_array2 patterns.h /^static char dash_array2[2] =$/;" v + dash_array3 patterns.h /^static char dash_array3[2] =$/;" v + dash_array4 patterns.h /^static char dash_array4[2] =$/;" v + dash_array5 patterns.h /^static char dash_array5[4] =$/;" v + dash_array6 patterns.h /^static char dash_array6[4] =$/;" v + dash_array7 patterns.h /^static char dash_array7[6] =$/;" v + dash_array8 patterns.h /^static char dash_array8[6] =$/;" v + dash_array_length patterns.h /^static int dash_array_length[] =$/;" v + data device.h /^ void *data; \/* device private data *\/$/;" m struct: + data graphs.h /^ Dataset data; \/* dataset *\/$/;" m struct: + data parser.h /^ double *data;$/;" m struct:_grarr + data parser.h /^ void *data;$/;" m struct: + data ssdata.h /^ void **data;$/;" m struct:_ss_data + dataSetOpType setwin.c /^}dataSetOpType;$/;" t file: + dataset_colname setutils.c /^char *dataset_colname(int col)$/;" f + dataset_cols setutils.c /^int dataset_cols(int gno, int setno)$/;" f + dataset_type setutils.c /^int dataset_type(int gno, int setno)$/;" f + datasetop_aac_cb setwin.c /^static int datasetop_aac_cb(void *data)$/;" f file: + datasetoptypeCB setwin.c /^static void datasetoptypeCB(int value, void *data)$/;" f file: + datasetopui setwin.c /^static Datasetop_ui datasetopui;$/;" v file: + datasetprop_aac_cb setwin.c /^static int datasetprop_aac_cb(void *data)$/;" f file: + datasettype_controls setwin.c /^static Widget datasettype_controls[5];$/;" v file: + datatype_item setwin.c /^ OptionStructure *datatype_item;$/;" m struct:_Type_ui file: + date_hint dates.c /^static Dates_format date_hint = FMT_nohint;$/;" v file: + date_item miscwin.c /^static Widget date_item;$/;" v file: + dayofweek utils.c /^int dayofweek(double j)$/;" f + dayofweekstrl utils.c /^char *dayofweekstrl[] = {"Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"};$/;" v + dayofweekstrs utils.c /^char *dayofweekstrs[] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"};$/;" v + dbl_comp featext.c /^int dbl_comp( const void *a, const void *b )$/;" f + dc_item miscwin.c /^static Widget dc_item;$/;" v file: + debug_item miscwin.c /^static SpinStructure *debug_item;$/;" v file: + debuglevel utils.c /^static int debuglevel = 0;$/;" v file: + deep alloca.c /^ char *deep; \/* For stack depth measure. *\/$/;" m struct:hdr:: file: + defaults defines.h /^} defaults;$/;" t + define_arrange_proc worldwin.c /^static int define_arrange_proc(void *data)$/;" f file: + define_autos worldwin.c /^void define_autos(int aon, int au, int ap)$/;" f + define_autos_proc worldwin.c /^static int define_autos_proc(void *data)$/;" f file: + define_boxes_popup strwin.c /^static void define_boxes_popup(void *data)$/;" f file: + define_ellip_popup strwin.c /^static void define_ellip_popup(void *data)$/;" f file: + define_lines_popup strwin.c /^static void define_lines_popup(void *data)$/;" f file: + define_objects_popup strwin.c /^void define_objects_popup(void *data)$/;" f + define_overlay_proc worldwin.c /^static int define_overlay_proc(void *data)$/;" f file: + define_parser_arr pars.c /^grarr *define_parser_arr(char * const name)$/;" f + define_pattern svgdrv.c /^static void define_pattern(int i, int c, Svg_data *data)$/;" f file: + define_region regionwin.c /^void define_region(int nr, int rtype)$/;" f + define_region_item regionwin.c /^static OptionStructure *define_region_item;$/;" v file: + define_status_popup regionwin.c /^void define_status_popup(void *data)$/;" f + define_string_defaults strwin.c /^void define_string_defaults(Widget w, XtPointer client_data, XtPointer call_data)$/;" f + define_strings_popup strwin.c /^static void define_strings_popup(void *data)$/;" f file: + define_symbols_popup setappwin.c /^void define_symbols_popup(void *data)$/;" f + define_type_item regionwin.c /^static OptionStructure *define_type_item;$/;" v file: + define_view_xv1 graphappwin.c /^static Widget define_view_xv1;$/;" v file: + define_view_xv2 graphappwin.c /^static Widget define_view_xv2;$/;" v file: + define_view_yv1 graphappwin.c /^static Widget define_view_yv1;$/;" v file: + define_view_yv2 graphappwin.c /^static Widget define_view_yv2;$/;" v file: + definewindow draw.c /^int definewindow(world w, view v, int gtype, $/;" f + deg_uconst mathstuff.c /^extern double deg_uconst(void)$/;" f + degree_item compwin.c /^ OptionStructure *degree_item;$/;" m struct:_Reg_ui file: + degrees_item compwin.c /^ Widget degrees_item;$/;" m struct:_Geom_ui file: + del_point setutils.c /^void del_point(int gno, int setno, int pt)$/;" f + del_rows_cb editpwin.c /^static void del_rows_cb(void *data)$/;" f file: + delete_byindex setutils.c /^void delete_byindex(int gno, int setno, int *ind)$/;" f + delete_com comwin.c /^static void delete_com(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + delete_ep editpwin.c /^void delete_ep(EditPoints *ep)$/;" f + delete_object_action events.c /^void delete_object_action( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + deletewidget motifutils.c /^void deletewidget(Widget w)$/;" f + delta_item locatewin.c /^static OptionStructure *delta_item;$/;" v file: + deltatype_item compwin.c /^ OptionStructure *deltatype_item;$/;" m struct:_Prune_ui file: + depth x11drv.c /^int depth;$/;" v + descr_item fileswin.c /^ Widget descr_item; \/* description *\/$/;" m struct: file: + dest motifinc.h /^ GraphSetStructure *dest;$/;" m struct: + destroy_dialog motifutils.c /^void destroy_dialog(Widget w, XtPointer client_data, XtPointer call_data)$/;" f + destroy_dialog_cb motifutils.c /^void destroy_dialog_cb(void *data)$/;" f + dev_dummy dummydrv.c /^static Device_entry dev_dummy = {DEVICE_TERM,$/;" v file: + dev_eps psdrv.c /^static Device_entry dev_eps = {DEVICE_FILE,$/;" v file: + dev_jpg rstdrv.c /^static Device_entry dev_jpg = {DEVICE_FILE,$/;" v file: + dev_mf mfdrv.c /^static Device_entry dev_mf = {DEVICE_FILE,$/;" v file: + dev_mif mifdrv.c /^static Device_entry dev_mif = {DEVICE_FILE,$/;" v file: + dev_pdf pdfdrv.c /^static Device_entry dev_pdf = {DEVICE_FILE,$/;" v file: + dev_png rstdrv.c /^static Device_entry dev_png = {DEVICE_FILE,$/;" v file: + dev_pnm rstdrv.c /^static Device_entry dev_pnm = {DEVICE_FILE,$/;" v file: + dev_ps psdrv.c /^static Device_entry dev_ps = {DEVICE_PRINT,$/;" v file: + dev_res_item printwin.c /^static Widget dev_res_item;$/;" v file: + dev_svg svgdrv.c /^static Device_entry dev_svg = {$/;" v file: + dev_x11 x11drv.c /^static Device_entry dev_x11 = {DEVICE_TERM,$/;" v file: + devdrawarc draw.c /^void (*devdrawarc) (); \/* device arc drawing routine *\/$/;" v + devdrawpixel draw.c /^void (*devdrawpixel) (); \/* device pixel drawing routine *\/$/;" v + devdrawpolyline draw.c /^void (*devdrawpolyline) (); \/* device polyline drawing routine *\/$/;" v + devfillarc draw.c /^void (*devfillarc) (); \/* device arc filling routine *\/$/;" v + devfillpolygon draw.c /^void (*devfillpolygon) (); \/* device polygon filling routine *\/$/;" v + devfont_item printwin.c /^static Widget devfont_item;$/;" v file: + devfonts device.h /^ int devfonts; \/* device has its own fonts *\/$/;" m struct: + device_opts_item printwin.c /^static Widget device_opts_item;$/;" v file: + device_table device.c /^static Device_entry *device_table = NULL;$/;" v file: + devices_item printwin.c /^static OptionStructure *devices_item;$/;" v file: + devleavegraphics draw.c /^void (*devleavegraphics) (); \/* device exit *\/$/;" v + devputpixmap t1fonts.c /^void (*devputpixmap) (VPoint vp, int width, int height, $/;" v + devputtext t1fonts.c /^void (*devputtext) (VPoint vp, char *s, int len, int font,$/;" v + devupdatecmap draw.c /^void (*devupdatecmap)(); \/* update color map *\/$/;" v + dft fourier.c /^void dft(double *jr, double *ji, int n, int iflag)$/;" f + dialog motifinc.h /^ Widget dialog;$/;" m struct: + digfui compwin.c /^static Digf_ui digfui;$/;" v file: + digits defines.h /^ int digits;$/;" m struct: + dims f2c.h /^ ftnlen *dims;$/;" m struct:Vardesc + direction t1fonts.h /^ int direction;$/;" m struct: + dirtystate utils.c /^static int dirtystate = 0;$/;" v file: + dirtystate_lock utils.c /^static int dirtystate_lock = FALSE;$/;" v file: + disp xmgrace.c /^Display *disp = NULL;$/;" v + display motifinc.h /^ int display;$/;" m struct:_SetChoiceItem + display_name xutil.c /^char *display_name(void)$/;" f + displaybuff x11drv.c /^static Pixmap displaybuff = (Pixmap) NULL;$/;" v file: + dl_load_fast dlmodule.c /^int dl_load_fast = TRUE; \/* controls type of DL module load *\/$/;" v + dmatrix as274c.c /^double **dmatrix(int rl, int rh, int cl, int ch)$/;" f + dmax f2c.h 195;" d + dmin f2c.h 194;" d + do_accept_props editpwin.c /^static int do_accept_props(void *data)$/;" f file: + do_add_proc ptswin.c /^static void do_add_proc(void *data)$/;" f file: + do_clear_boxes objutils.c /^void do_clear_boxes(void)$/;" f + do_clear_ellipses objutils.c /^void do_clear_ellipses(void)$/;" f + do_clear_lines objutils.c /^void do_clear_lines(void)$/;" f + do_clear_point xmgrace.c /^void do_clear_point(void *data)$/;" f + do_clear_region regionwin.c /^static void do_clear_region(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_clear_text objutils.c /^void do_clear_text(void)$/;" f + do_compute computils.c /^int do_compute(int gno, int setno, int graphto, int loadto, char *rarray, char *fstr)$/;" f + do_constr_toggle nonlwin.c /^static void do_constr_toggle(int onoff, void *data)$/;" f file: + do_copyset setutils.c /^int do_copyset(int gfrom, int setfrom, int gto, int setto)$/;" f + do_define_region regionwin.c /^static void do_define_region(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_del_proc ptswin.c /^static void do_del_proc(void *data)$/;" f file: + do_device_toggle printwin.c /^static void do_device_toggle(int value, void *data)$/;" f file: + do_differ computils.c /^void do_differ(int gno, int setno, int itype)$/;" f + do_differ_proc compwin.c /^static void do_differ_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_digfilter computils.c /^void do_digfilter(int set1, int set2)$/;" f + do_digfilter_proc compwin.c /^static void do_digfilter_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_dist_proc events.c /^void do_dist_proc(void)$/;" f + do_drawgraph xmgrace.c /^static void do_drawgraph(void *data)$/;" f file: + do_drop_points setutils.c /^void do_drop_points(int gno, int setno, int startno, int endno)$/;" f + do_eval_regress compwin.c /^void do_eval_regress()$/;" f + do_ext_editor editpwin.c /^void do_ext_editor(int gno, int setno)$/;" f + do_fext_proc featext.c /^void do_fext_proc( Widget w, XtPointer client_data, XtPointer call_data )$/;" f + do_fext_toggle featext.c /^void do_fext_toggle (Widget w, XtPointer client_data, XtPointer call_data)$/;" f + do_fft_proc compwin.c /^static void do_fft_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_format_toggle printwin.c /^static void do_format_toggle(int value, void *data)$/;" f file: + do_fourier computils.c /^void do_fourier(int gno, int setno, int fftflag, int load, int loadx, int invflag, int type, int wind)$/;" f + do_fourier_command computils.c /^void do_fourier_command(int gno, int setno, int ftype, int ltype)$/;" f + do_fourier_proc compwin.c /^static void do_fourier_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_geom_proc compwin.c /^static void do_geom_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_gotopt_proc ptswin.c /^static void do_gotopt_proc(void *data)$/;" f file: + do_hardcopy plotone.c /^void do_hardcopy(void)$/;" f + do_histo computils.c /^int do_histo(int fromgraph, int fromset, int tograph, int toset,$/;" f + do_histo_proc compwin.c /^static int do_histo_proc(void *data)$/;" f file: + do_hotlink_proc hotwin.c /^static void do_hotlink_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_hotlinkfile_proc hotwin.c /^static int do_hotlinkfile_proc(char *filename, void *data)$/;" f file: + do_hotunlink_proc hotwin.c /^static void do_hotunlink_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_hotupdate_proc hotwin.c /^void do_hotupdate_proc(void *data)$/;" f + do_int computils.c /^double do_int(int gno, int setno, int itype)$/;" f + do_int_proc compwin.c /^static void do_int_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_interp computils.c /^int do_interp(int gno_src, int setno_src, int gno_dest, int setno_dest,$/;" f + do_interp_proc compwin.c /^static int do_interp_proc(void *data)$/;" f file: + do_linearc computils.c /^void do_linearc(int set1, int set2)$/;" f + do_linearc_proc compwin.c /^static void do_linearc_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_moveset setutils.c /^int do_moveset(int gfrom, int setfrom, int gto, int setto)$/;" f + do_netcdf_proc fileswin.c /^static void do_netcdf_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_netcdffile_proc fileswin.c /^static int do_netcdffile_proc(char *filename, void *data)$/;" f file: + do_netcdfquery_proc fileswin.c /^static void do_netcdfquery_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_netcdfupdate_proc fileswin.c /^static void do_netcdfupdate_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_nonl_proc nonlwin.c /^static int do_nonl_proc(void *data)$/;" f file: + do_nonl_toggle nonlwin.c /^static void do_nonl_toggle(int value, void *data)$/;" f file: + do_nonlfit nonlfit.c /^int do_nonlfit(int gno, int setno, double *warray, char *rarray, int nsteps)$/;" f + do_nothing_action xmgrace.c /^static void do_nothing_action(Widget w, XEvent *e, String *par, Cardinal *npar)$/;" f file: + do_nparm_toggle nonlwin.c /^static void do_nparm_toggle(int value, void *data)$/;" f file: + do_openfit_proc nonlwin.c /^static int do_openfit_proc(char *filename, void *data)$/;" f file: + do_orient_toggle printwin.c /^static void do_orient_toggle(int value, void *data)$/;" f file: + do_pr_toggle printwin.c /^static void do_pr_toggle(int onoff, void *data)$/;" f file: + do_prfilesel_proc printwin.c /^static int do_prfilesel_proc(char *filename, void *data)$/;" f file: + do_print_cb printwin.c /^static void do_print_cb(void *data)$/;" f file: + do_props editpwin.c /^void do_props(EditPoints *ep, int column)$/;" f + do_props_cb editpwin.c /^static void do_props_cb(void *data)$/;" f file: + do_prune computils.c /^void do_prune(int setno, int typeno, int deltatypeno, float deltax, float deltay, int dxtype, int dytype)$/;" f + do_prune_proc compwin.c /^static void do_prune_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_prune_toggle compwin.c /^static void do_prune_toggle(int c, void *data)$/;" f file: + do_ptsmove_proc ptswin.c /^static void do_ptsmove_proc(void *data)$/;" f file: + do_regress computils.c /^void do_regress(int gno, int setno, int ideg, int iresid, int rno, int invr, int fitset)$/;" f + do_regress_proc compwin.c /^static void do_regress_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_reporton_region regionwin.c /^static void do_reporton_region(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_rhist_proc comwin.c /^static int do_rhist_proc(char *filename, void *data)$/;" f file: + do_runavg computils.c /^void do_runavg(int gno, int setno, int runlen, int runtype, int rno, int invr)$/;" f + do_runavg_proc compwin.c /^static void do_runavg_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_sample computils.c /^void do_sample(int setno, int typeno, char *exprstr, int startno, int stepno)$/;" f + do_sample_proc compwin.c /^static void do_sample_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_savefit_proc nonlwin.c /^static int do_savefit_proc(char *filename, void *data)$/;" f file: + do_seasonal_diff computils.c /^void do_seasonal_diff(int setno, int period)$/;" f + do_seasonal_proc compwin.c /^static void do_seasonal_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_select_area events.c /^void do_select_area(void)$/;" f + do_select_peri events.c /^void do_select_peri(void)$/;" f + do_select_region events.c /^void do_select_region(void)$/;" f + do_sort setutils.c /^void do_sort(int setno, int sorton, int stype)$/;" f + do_splitsets setutils.c /^void do_splitsets(int gno, int setno, int lpart)$/;" f + do_swapset setutils.c /^int do_swapset(int gfrom, int setfrom, int gto, int setto)$/;" f + do_track_proc ptswin.c /^static void do_track_proc(void *data)$/;" f file: + do_units_toggle printwin.c /^static void do_units_toggle(int value, void *data)$/;" f file: + do_update_hotlink setutils.c /^void do_update_hotlink(int gno, int setno)$/;" f + do_window computils.c /^void do_window(int setno, int type, int wind)$/;" f + do_window_proc compwin.c /^static void do_window_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + do_xcor computils.c /^void do_xcor(int gno1, int set1, int gno2, int set2, int maxlag, int covar)$/;" f + do_xcor_proc compwin.c /^static void do_xcor_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + docdata psdrv.c /^static int docdata = DOCDATA_8BIT;$/;" v file: + doclipping draw.c /^int doclipping(void)$/;" f + docname utils.c /^static char docname[GR_MAXPATHLEN] = NONAME; $/;" v file: + dofitcurve as274c.c /^int dofitcurve(int cnt, double *xd, double *yd, int nd, double *c)$/;" f + dolegend plotone.c /^void dolegend(int gno)$/;" f + doublecomplex f2c.h /^typedef struct { doublereal r, i; } doublecomplex;$/;" t + doublereal f2c.h /^typedef double doublereal;$/;" t + down_bits bitmaps.h /^static unsigned char down_bits[] = {$/;" v + down_height bitmaps.h 143;" d + down_width bitmaps.h 142;" d + dpi device.h /^ float dpi;$/;" m struct: + dpmpar_ lmdif.c /^doublereal dpmpar_(integer *i)$/;" f + dptr pars.c /^ double *dptr;$/;" m union: file: + drand48 missing.c /^double drand48(void)$/;" f + draw svgdrv.c /^ int draw;$/;" m struct: file: + draw_arrowhead plotone.c /^void draw_arrowhead(VPoint vp1, VPoint vp2, const Arrow *arrowp)$/;" f + draw_box plotone.c /^void draw_box(int gno, int i)$/;" f + draw_box_action events.c /^void draw_box_action( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + draw_ellipse plotone.c /^void draw_ellipse(int gno, int i)$/;" f + draw_ellipse_action events.c /^void draw_ellipse_action( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + draw_focus xutil.c /^void draw_focus(int gno)$/;" f + draw_line plotone.c /^void draw_line(int gno, int i)$/;" f + draw_line_action events.c /^void draw_line_action( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + draw_mode draw.c /^static int draw_mode = TRUE;$/;" v file: + draw_objects plotone.c /^void draw_objects(int gno)$/;" f + draw_pie_chart plotone.c /^void draw_pie_chart(int gno)$/;" f + draw_polar_graph plotone.c /^void draw_polar_graph(int gno)$/;" f + draw_props draw.c /^static DrawProps draw_props =$/;" v file: + draw_ref_point plotone.c /^void draw_ref_point(int gno)$/;" f + draw_region plotone.c /^void draw_region(int r)$/;" f + draw_regions plotone.c /^void draw_regions(int gno)$/;" f + draw_smith_chart plotone.c /^void draw_smith_chart(int gno)$/;" f + draw_string plotone.c /^void draw_string(int gno, int i)$/;" f + draw_tabs Tab.c /^static void draw_tabs(XmTabWidget wid)$/;" f file: + draw_timestamp plotone.c /^void draw_timestamp(void)$/;" f + draw_titles plotone.c /^void draw_titles(int gno)$/;" f + drawaxes drawticks.c /^void drawaxes(int gno)$/;" f + drawcellCB editpwin.c /^static void drawcellCB(Widget w, XtPointer client_data, XtPointer calld)$/;" f file: + drawcirclexy plotone.c /^void drawcirclexy(plotarr *p)$/;" f + drawerrorbar plotone.c /^void drawerrorbar(VPoint vp1, VPoint vp2, Errbar *eb)$/;" f + drawframe plotone.c /^void drawframe(int gno)$/;" f + drawgraph plotone.c /^void drawgraph(void)$/;" f + drawgrid drawticks.c /^void drawgrid(int gno)$/;" f + drawing_window xmgrace.c /^static Widget drawing_window; \/* container for drawing area *\/$/;" v file: + drawlegbarsym plotone.c /^static void drawlegbarsym(VPoint vp, double size, Pen sympen, Pen symfillpen)$/;" f file: + drawsetavalues plotone.c /^void drawsetavalues(int gno, int setno, plotarr *p,$/;" f + drawsetbars plotone.c /^void drawsetbars(int gno, int setno, plotarr *p,$/;" f + drawsetboxplot plotone.c /^void drawsetboxplot(plotarr *p)$/;" f + drawseterrbars plotone.c /^void drawseterrbars(int gno, int setno, plotarr *p,$/;" f + drawsetfill plotone.c /^void drawsetfill(int gno, int setno, plotarr *p,$/;" f + drawsethilo plotone.c /^void drawsethilo(plotarr *p)$/;" f + drawsetline plotone.c /^void drawsetline(int gno, int setno, plotarr *p,$/;" f + drawsetsyms plotone.c /^void drawsetsyms(int gno, int setno, plotarr *p,$/;" f + drawsetvmap plotone.c /^void drawsetvmap(int gno, plotarr *p)$/;" f + drawxysym plotone.c /^int drawxysym(VPoint vp, double size, int symtype,$/;" f + dropline graphs.h /^ int dropline; \/* should the drop lines (from data points to$/;" m struct: + dropline_item setappwin.c /^static Widget dropline_item;$/;" v file: + droppoints setutils.c /^void droppoints(int gno, int setno, int startno, int endno)$/;" f + dsx graphs.h /^ double dsx, dsy; \/* locator fixed point *\/$/;" m struct: + dsy graphs.h /^ double dsx, dsy; \/* locator fixed point *\/$/;" m struct: + dsync_item printwin.c /^static Widget dsync_item, psync_item;$/;" v file: + dui compwin.c /^static Diff_ui dui;$/;" v file: + dummy_actions xmgrace.c /^static XtActionsRec dummy_actions[] = {$/;" v file: + dummy_drawarc dummydrv.c /^void dummy_drawarc(VPoint vp1, VPoint vp2, int a1, int a2){}$/;" f + dummy_drawpixel dummydrv.c /^void dummy_drawpixel(VPoint vp){}$/;" f + dummy_drawpolyline dummydrv.c /^void dummy_drawpolyline(VPoint *vps, int n, int mode){}$/;" f + dummy_fillarc dummydrv.c /^void dummy_fillarc(VPoint vp1, VPoint vp2, int a1, int a2, int mode){}$/;" f + dummy_fillpolygon dummydrv.c /^void dummy_fillpolygon(VPoint *vps, int nc){}$/;" f + dummy_ib files.c /^static Input_buffer dummy_ib = {-1, 0, 0, 0, 0, NULL, 0, 0, NULL, 0l};$/;" v file: + dummy_leavegraphics dummydrv.c /^void dummy_leavegraphics(void){}$/;" f + dummy_putpixmap dummydrv.c /^void dummy_putpixmap(VPoint vp, int width, int height, $/;" f + dummy_puttext dummydrv.c /^void dummy_puttext(VPoint vp, char *s, int len, int font,$/;" f + dummyinitgraphics dummydrv.c /^int dummyinitgraphics(void)$/;" f + duplegs_item setappwin.c /^static Widget duplegs_item;$/;" v file: + duplicate_graph graphs.c /^int duplicate_graph(int gno)$/;" f + duplicate_graph_proc motifutils.c /^void duplicate_graph_proc(void *data)$/;" f + duplicate_item motifinc.h /^ Widget duplicate_item;$/;" m struct: + duplicate_item motifutils.c /^ Widget duplicate_item;$/;" m struct: file: + duplicate_object objutils.c /^int duplicate_object(int type, int id)$/;" f + duplicate_set_proc motifutils.c /^void duplicate_set_proc(void *data)$/;" f + dval pars.c /^ double dval;$/;" m union: file: + dvector as274c.c /^double *dvector(int l, int h)$/;" f + dx fit.c 639;" d file: + dx fit.c 718;" d file: + dx_item compwin.c /^ Widget dx_item;$/;" m struct:_Prune_ui file: + dx_rc compwin.c /^ Widget dx_rc;$/;" m struct:_Prune_ui file: + dxtype_item compwin.c /^ OptionStructure *dxtype_item;$/;" m struct:_Prune_ui file: + dy fit.c 640;" d file: + dy fit.c 719;" d file: + dy_item compwin.c /^ Widget dy_item;$/;" m struct:_Prune_ui file: + dy_rc compwin.c /^ Widget dy_rc;$/;" m struct:_Prune_ui file: + dytype_item compwin.c /^ OptionStructure *dytype_item;$/;" m struct:_Prune_ui file: + eblock_accept_notify_proc eblockwin.c /^static int eblock_accept_notify_proc(void *data)$/;" f file: + eblock_frame eblockwin.c /^static Widget eblock_frame;$/;" v file: + eblock_graphset_item eblockwin.c /^static GraphSetStructure *eblock_graphset_item;$/;" v file: + eblock_nchoice_items eblockwin.c /^static OptionStructure *eblock_nchoice_items[MAX_SET_COLS];$/;" v file: + eblock_ncols_item eblockwin.c /^static Widget eblock_ncols_item;$/;" v file: + eblock_panel eblockwin.c /^static Widget eblock_panel;$/;" v file: + eblock_schoice_item eblockwin.c /^static OptionStructure *eblock_schoice_item;$/;" v file: + eblock_type_choice_item eblockwin.c /^static OptionStructure *eblock_type_choice_item;$/;" v file: + eblock_type_notify_proc eblockwin.c /^static void eblock_type_notify_proc(int value, void *data)$/;" f file: + echomsg utils.c /^void echomsg(char *msg)$/;" f + editE_set_proc motifutils.c /^void editE_set_proc(void *data)$/;" f + editS_set_proc motifutils.c /^void editS_set_proc(void *data)$/;" f + edit_item motifinc.h /^ Widget edit_item;$/;" m struct: + editaxis tickwin.c /^static OptionStructure *editaxis; \/* which axis to edit *\/$/;" v file: + editp_col_item editpwin.c /^static OptionStructure *editp_col_item;$/;" v file: + editp_format_item editpwin.c /^static OptionStructure *editp_format_item;$/;" v file: + editp_precision_item editpwin.c /^static SpinStructure *editp_precision_item;$/;" v file: + ellip_color_item strwin.c /^static OptionStructure *ellip_color_item;$/;" v file: + ellip_def_proc strwin.c /^void ellip_def_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f + ellip_fillcol_item strwin.c /^static OptionStructure *ellip_fillcol_item;$/;" v file: + ellip_fillpat_item strwin.c /^static OptionStructure *ellip_fillpat_item;$/;" v file: + ellip_frame strwin.c /^static Widget ellip_frame;$/;" v file: + ellip_lines_item strwin.c /^static OptionStructure *ellip_lines_item;$/;" v file: + ellip_linew_item strwin.c /^static SpinStructure *ellip_linew_item;$/;" v file: + ellip_loc_item strwin.c /^static OptionStructure *ellip_loc_item;$/;" v file: + ellip_ui strwin.c /^static EditBoxUI box_ui,ellip_ui;$/;" v file: + ellipse_edit_popup strwin.c /^void ellipse_edit_popup(int boxno)$/;" f + ellipse_edit_proc strwin.c /^void ellipse_edit_proc( Widget w, XtPointer client_data, XtPointer call_data )$/;" f + ellipsetype defines.h /^} ellipsetype;$/;" t + ellpe_wrap mathstuff.c /^double ellpe_wrap ( double x ) {$/;" f + ellpk_wrap mathstuff.c /^double ellpk_wrap ( double x ) {$/;" f + enable_edit_cb fontwin.c /^static int enable_edit_cb;$/;" v file: + enable_zoom_action events.c /^void enable_zoom_action( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + enlarge_glyph fontwin.c /^static void enlarge_glyph(Widget parent,$/;" f file: + enorm_ lmdif.c /^doublereal enorm_(integer *n, doublereal *x)$/;" f + enterCB setwin.c /^static void enterCB(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + ep_aac_proc editpwin.c /^int ep_aac_proc(void *data)$/;" f + ep_start editpwin.c /^static EditPoints *ep_start = NULL;$/;" v file: + eps_gui_setup psdrv.c /^void eps_gui_setup(void)$/;" f + eps_gui_setup psdrv.h 72;" d + eps_op_parser psdrv.c /^int eps_op_parser(char *opstring)$/;" f + eps_setup_docdata psdrv.c /^static int eps_setup_docdata = DOCDATA_8BIT;$/;" v file: + eps_setup_docdata_item psdrv.c /^static OptionStructure *eps_setup_docdata_item;$/;" v file: + eps_setup_frame psdrv.c /^static Widget eps_setup_frame;$/;" v file: + eps_setup_grayscale psdrv.c /^static int eps_setup_grayscale = FALSE;$/;" v file: + eps_setup_grayscale_item psdrv.c /^static Widget eps_setup_grayscale_item;$/;" v file: + eps_setup_level2 psdrv.c /^static int eps_setup_level2 = TRUE;$/;" v file: + eps_setup_level2_item psdrv.c /^static Widget eps_setup_level2_item;$/;" v file: + eps_setup_tight_bb psdrv.c /^static int eps_setup_tight_bb = TRUE;$/;" v file: + eps_setup_tight_bb_item psdrv.c /^static Widget eps_setup_tight_bb_item;$/;" v file: + epsinitgraphics psdrv.c /^int epsinitgraphics(void)$/;" f + errbar graphs.h /^ Errbar errbar; \/* error bar properties *\/$/;" m struct: + errbar_aclip_item setappwin.c /^static Widget errbar_aclip_item;$/;" v file: + errbar_active_item setappwin.c /^static Widget errbar_active_item;$/;" v file: + errbar_cliplen_item setappwin.c /^static SpinStructure *errbar_cliplen_item;$/;" v file: + errbar_color_item setappwin.c /^static OptionStructure *errbar_color_item;$/;" v file: + errbar_lines_item setappwin.c /^static OptionStructure *errbar_lines_item;$/;" v file: + errbar_pattern_item setappwin.c /^static OptionStructure *errbar_pattern_item;$/;" v file: + errbar_ptype_item setappwin.c /^static OptionStructure *errbar_ptype_item;$/;" v file: + errbar_riserlines_item setappwin.c /^static OptionStructure *errbar_riserlines_item;$/;" v file: + errbar_riserlinew_item setappwin.c /^static SpinStructure *errbar_riserlinew_item;$/;" v file: + errbar_size_item setappwin.c /^static Widget errbar_size_item;$/;" v file: + errbar_width_item setappwin.c /^static SpinStructure *errbar_width_item;$/;" v file: + errmsg utils.c /^void errmsg(char *buf)$/;" f + errors defines.h /^ int errors; \/* number of successive parse errors *\/$/;" m struct:_Input_buffer + errwin monwin.c /^void errwin(char *msg)$/;" f + escape_specials mifdrv.c /^static char *escape_specials(unsigned char *s, int len)$/;" f file: + escape_specials svgdrv.c /^static char *escape_specials(unsigned char *s, int len)$/;" f file: + escapequotes utils.c /^char *escapequotes (char *s)$/;" f + eui compwin.c /^static Eval_ui eui;$/;" v file: + event Tab.h /^ XEvent *event;$/;" m struct: + ex graphs.h /^ double *ex[MAX_SET_COLS]; \/* arrays of x, y, z, ... depending on type *\/$/;" m struct: + ex graphs.h /^ double ex[MAX_SET_COLS]; \/* x, y, dx, z, ... depending on dataset type *\/$/;" m struct: + exe_path_translate missing.c /^char *exe_path_translate(char *path)$/;" f + exe_path_translate missing.h 122;" d + expand_bits bitmaps.h /^static unsigned char expand_bits[] = {$/;" v + expand_height bitmaps.h 149;" d + expand_ib_tbl files.c /^static int expand_ib_tbl(void)$/;" f file: + expand_line_buffer files.c /^static int expand_line_buffer(char **adrBuf, int *ptrSize, char **adrPtr)$/;" f file: + expand_tilde utils.c /^void expand_tilde(char *buf)$/;" f + expand_width bitmaps.h 148;" d + expanded_year dates.c /^static int expanded_year(Int_token y)$/;" f file: + expose_resize xutil.c /^void expose_resize(Widget w, XtPointer client_data,$/;" f + expr_item compwin.c /^ Widget expr_item;$/;" m struct:_Samp_ui file: + expr_parsed pars.c /^static int expr_parsed, vexpr_parsed;$/;" v file: + extends alloca.c /^ long extends; \/* Number of block extensions. *\/$/;" m struct:stk_stat file: + extension TabP.h /^ XtPointer extension;$/;" m struct:_XmTabClassPart + f graphs.h /^ framep f; \/* type of box around plot *\/$/;" m struct: + fRGB draw.h /^} fRGB;$/;" t + f_string pars.c /^static char f_string[MAX_PARS_STRING_LENGTH]; \/* buffer for string to parse *\/$/;" v file: + fallback t1fonts.h /^ char *fallback;$/;" m struct: + fallbackResourcesCommon xmgrace.c /^String fallbackResourcesCommon[] = {$/;" v + fallbackResourcesHighRes xmgrace.c /^String fallbackResourcesHighRes[] = {$/;" v + fallbackResourcesLowRes xmgrace.c /^String fallbackResourcesLowRes[] = {$/;" v + fcn nonlfit.c /^void fcn(int * m, int * n, double * x, double * fvec,$/;" f + fcnt pars.c /^static int fcnt = 0; \/* number of the temporary vectors allocated *\/$/;" v file: + fd defines.h /^ int fd; \/* file descriptor *\/$/;" m struct:_Input_buffer + fdjac2_ lmdif.c /^\/* Subroutine *\/ int fdjac2_(S_fp fcn, integer *m, integer *n, doublereal *x, $/;" f + feature_item featext.c /^ OptionStructure *feature_item;$/;" m struct:_Featext_ui file: + feui featext.c /^static Featext_ui feui;$/;" v file: + fext device.h /^ char *fext; \/* filename extension *\/$/;" m struct: + fext_routine featext.c /^void fext_routine( int gto, int feature, int abs_src, int abs_set, int abs_graph )$/;" f + fft fourier.c /^void fft(double *real_data, double *imag_data, int n_pts, int nu, int inv)$/;" f + field_string_to_cols ssdata.c /^int field_string_to_cols(const char *fs, int *nc, int **cols, int *scol)$/;" f + fill svgdrv.c /^ int fill;$/;" m struct: file: + fill_color_item strwin.c /^ OptionStructure *fill_color_item;$/;" m struct: file: + fill_pattern_item strwin.c /^ OptionStructure *fill_pattern_item;$/;" m struct: file: + fillcolor defines.h /^ int fillcolor;$/;" m struct: + fillframe plotone.c /^void fillframe(int gno)$/;" f + fillpattern defines.h /^ int fillpattern;$/;" m struct: + fillpen defines.h /^ Pen fillpen; \/* fill pen *\/$/;" m struct: + fillrule draw.h /^ int fillrule;$/;" m struct: + fillrule graphs.h /^ int fillrule; \/* fill rule (winding\/even-odd) *\/$/;" m struct: + fillrule svgdrv.c /^ int fillrule;$/;" m struct: file: + filltype graphs.h /^ int filltype; \/* fill type *\/$/;" m struct: + filltype_obs pars.c /^static int filltype_obs;$/;" v file: + filt_act missing.c /^static enum filtact { FILTER_NONE, FILTER_READ, FILTER_WRITE } filt_act;$/;" v file: + filtact missing.c /^static enum filtact { FILTER_NONE, FILTER_READ, FILTER_WRITE } filt_act;$/;" g file: + filter iofilters.c /^typedef struct filter {$/;" s file: + filter_read iofilters.c /^FILE *filter_read( char *fn )$/;" f + filter_set setutils.c /^int filter_set(int gno, int setno, char *rarray)$/;" f + filter_write iofilters.c /^FILE *filter_write( char *fn )$/;" f + filterser fit.c /^void filterser(int n, double *x, double *y, double *resx, double *resy, double *h, int len)$/;" f + find_backwards helpwin.c /^ Widget find_backwards;$/;" m struct:_html_ui file: + find_cb helpwin.c /^static int find_cb(void *data)$/;" f file: + find_color draw.c /^int find_color(RGB rgb)$/;" f + find_cursor xutil.c /^static Cursor find_cursor;$/;" v file: + find_insert_location events.c /^int find_insert_location(int gno, int setno, VPoint vp)$/;" f + find_item events.c /^int find_item(int gno, VPoint vp, view *bb, int *type, int *id)$/;" f + find_point events.c /^int find_point(int gno, VPoint vp, int *setno, int *loc)$/;" f + find_set_bydata pars.c /^static int find_set_bydata(double *data, target *tgt)$/;" f file: + find_span_index computils.c /^int find_span_index(double *array, int len, int m, double x)$/;" f + find_stack_direction alloca.c /^find_stack_direction ()$/;" f file: + finder helpwin.c /^ XmHTMLTextFinder finder;$/;" m struct:_html_ui file: + findf pars.c /^static int findf(symtab_entry *keytable, char *s)$/;" f file: + fitcurve fit.c /^int fitcurve(double *x, double *y, int n, int ideg, double *coeff)$/;" f + fixedp_item locatewin.c /^static Widget fixedp_item;$/;" v file: + flag f2c.h /^typedef long int flag;$/;" t + flag f2c.h /^typedef short flag;$/;" t + flipxy_cb graphappwin.c /^static void flipxy_cb(int onoff, void *data)$/;" f file: + fload_rc compwin.c /^ Widget fload_rc;$/;" m struct:_Reg_ui file: + fmt_option_items motifutils.c /^static OptionItem fmt_option_items[31] =$/;" v file: + focus_clicked events.c /^int focus_clicked(int cg, VPoint vp, VPoint *avp)$/;" f + focus_item motifutils.c /^ Widget focus_item;$/;" m struct: file: + follow pars.c /^static int follow(int expect, int ifyes, int ifno)$/;" f file: + follow_alloca_headers alloca.c /^void follow_alloca_headers ()$/;" f + font defines.h /^ int font; \/* font *\/$/;" m struct: + font defines.h /^ int font;$/;" m struct: + font draw.h /^ int font;$/;" m struct: + font t1fonts.h /^ int font;$/;" m struct: + font_item strwin.c /^ OptionStructure *font_item;$/;" m struct: file: + font_option_items motifutils.c /^static OptionItem *font_option_items;$/;" v file: + font_select_item fontwin.c /^static OptionStructure *font_select_item;$/;" v file: + fontaa device.h /^ int fontaa; \/* font antialiasing *\/$/;" m struct: + fontaa_item printwin.c /^static Widget fontaa_item;$/;" v file: + fonttool_aac_cb fontwin.c /^static void fonttool_aac_cb(void *data)$/;" f file: + fonttool_frame fontwin.c /^static Widget fonttool_frame = NULL;$/;" v file: + force_external_viewer helpwin.c /^int force_external_viewer =$/;" v + force_external_viewer_item miscwin.c /^static Widget force_external_viewer_item;$/;" v file: + form motifinc.h /^ Widget form;$/;" m struct: + form motifutils.c /^ Widget form;$/;" m struct: file: + form xmgrace.c /^static Widget form; \/* form for mainwindow *\/$/;" v file: + format defines.h /^ int format; \/* format *\/$/;" m struct: + format_item fileswin.c /^ Widget format_item; \/* format *\/$/;" m struct: file: + format_item fileswin.c /^ Widget format_item;$/;" m struct: file: + formats ssdata.h /^ int *formats;$/;" m struct:_ss_data + formula defines.h /^ char *formula; \/* fit function *\/$/;" m struct: + formula_item compwin.c /^ Widget formula_item;$/;" m struct:_Eval_ui file: + forwarddiff computils.c /^static void forwarddiff(double *x, double *y, double *resx, double *resy, int n)$/;" f file: + fp missing.c /^ FILE *fp;$/;" m struct:pipe_details file: + fpdigit motifutils.c /^unsigned char fpdigit[256] = { $/;" v + frame motifinc.h /^ Widget frame;$/;" m struct: + frame_color_choice_item graphappwin.c /^static OptionStructure *frame_color_choice_item;$/;" v file: + frame_fillcolor_choice_item graphappwin.c /^static OptionStructure *frame_fillcolor_choice_item;$/;" v file: + frame_fillpattern_choice_item graphappwin.c /^static OptionStructure *frame_fillpattern_choice_item;$/;" v file: + frame_framestyle_choice_item graphappwin.c /^static OptionStructure *frame_framestyle_choice_item;$/;" v file: + frame_lines_choice_item graphappwin.c /^static OptionStructure *frame_lines_choice_item;$/;" v file: + frame_linew_choice_item graphappwin.c /^static SpinStructure *frame_linew_choice_item;$/;" v file: + frame_pattern_choice_item graphappwin.c /^static OptionStructure *frame_pattern_choice_item;$/;" v file: + framep defines.h /^} framep;$/;" t + frbot xmgrace.c /^static Widget frleft, frtop, frbot; \/* dialogs along canvas edge *\/$/;" v file: + free_graph_tickmarks graphs.c /^void free_graph_tickmarks(tickmarks *t)$/;" f + free_set_data setutils.c /^int free_set_data(Dataset *dsp)$/;" f + free_ss_data ssdata.c /^void free_ss_data(ss_data *ssd)$/;" f + free_tmpvrbl pars.c /^static void free_tmpvrbl(grarr *vrbl)$/;" f file: + freelist pars.c /^static grarr freelist[100]; \/* temporary vectors *\/$/;" v file: + freeze_bbox draw.c /^void freeze_bbox(int type)$/;" f + fresnlc_wrap mathstuff.c /^extern double fresnlc_wrap(double x)$/;" f + fresnls_wrap mathstuff.c /^extern double fresnls_wrap(double x)$/;" f + frleft xmgrace.c /^static Widget frleft, frtop, frbot; \/* dialogs along canvas edge *\/$/;" v file: + frtop xmgrace.c /^static Widget frleft, frtop, frbot; \/* dialogs along canvas edge *\/$/;" v file: + fsb motifutils.c /^ FSBStructure *fsb;$/;" m struct: file: + fsb_cd_cb motifutils.c /^static void fsb_cd_cb(int value, void *data)$/;" f file: + fsb_int_cb_proc motifutils.c /^static void fsb_int_cb_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + fsb_items motifutils.c /^static OptionItem fsb_items[] = {$/;" v file: + fsb_setcwd_cb motifutils.c /^static void fsb_setcwd_cb(void *data)$/;" f file: + fscale draw.c /^double fscale(double wc, int scale)$/;" f + fswap utils.c /^void fswap(double *x, double *y)$/;" f + ftnint f2c.h /^typedef long int ftnint;$/;" t + ftnint f2c.h /^typedef short ftnint;$/;" t + ftnlen f2c.h /^typedef long int ftnlen;$/;" t + ftnlen f2c.h /^typedef short ftnlen;$/;" t + ftype_item fileswin.c /^ OptionStructure *ftype_item; \/* set type choice item *\/$/;" m struct: file: + fui compwin.c /^static Four_ui fui;$/;" v file: + fv draw.h /^ view fv;$/;" m struct: + fx graphs.h /^ int fx, fy; \/* locator format type *\/$/;" m struct: + fx mathstuff.c /^extern double fx(double x)$/;" f + fxg_med draw.c /^static double fxg_med;$/;" v file: + fy graphs.h /^ int fx, fy; \/* locator format type *\/$/;" m struct: + fyg_med draw.c /^static double fyg_med;$/;" v file: + g f2c.h /^ integer1 g;$/;" m union:Multitype + g graphs.c /^graph *g = NULL;$/;" v + gc x11drv.c /^GC gc, gcxor;$/;" v + gcos f2c.h 238;" d + gcxor x11drv.c /^GC gc, gcxor;$/;" v + gdArcFillChord gd.h 66;" d + gdArcFillPieSlice gd.h 67;" d + gdBrushed gd.h 58;" d + gdCompareInt gd.c /^int gdCompareInt(const void *a, const void *b)$/;" f + gdImage gd.h /^} gdImage;$/;" t + gdImageArc gd.c /^void gdImageArc(gdImagePtr im, int cx, int cy, int w, int h, int s, int e, int color)$/;" f + gdImageBlue gd.h 113;" d + gdImageBoundsSafe gd.c /^int gdImageBoundsSafe(gdImagePtr im, int x, int y)$/;" f + gdImageBrushApply gd.c /^static void gdImageBrushApply(gdImagePtr im, int x, int y)$/;" f file: + gdImageColorAllocate gd.c /^int gdImageColorAllocate(gdImagePtr im, int r, int g, int b)$/;" f + gdImageColorClosest gd.c /^int gdImageColorClosest(gdImagePtr im, int r, int g, int b)$/;" f + gdImageColorDeallocate gd.c /^void gdImageColorDeallocate(gdImagePtr im, int color)$/;" f + gdImageColorExact gd.c /^int gdImageColorExact(gdImagePtr im, int r, int g, int b)$/;" f + gdImageColorTransparent gd.c /^void gdImageColorTransparent(gdImagePtr im, int color)$/;" f + gdImageColorsTotal gd.h 110;" d + gdImageCreate gd.c /^gdImagePtr gdImageCreate(int sx, int sy)$/;" f + gdImageDestroy gd.c /^void gdImageDestroy(gdImagePtr im)$/;" f + gdImageFilledArc gd.c /^void gdImageFilledArc(gdImagePtr im, int cx, int cy, int w, int h,$/;" f + gdImageFilledPolygon gd.c /^void gdImageFilledPolygon(gdImagePtr im, gdPointPtr p, int n, int c)$/;" f + gdImageFilledRectangle gd.c /^void gdImageFilledRectangle(gdImagePtr im, int x1, int y1, int x2, int y2, int color)$/;" f + gdImageGetInterlaced gd.h 115;" d + gdImageGetPixel gd.c /^int gdImageGetPixel(gdImagePtr im, int x, int y)$/;" f + gdImageGetTransparent gd.h 114;" d + gdImageGreen gd.h 112;" d + gdImageInterlace gd.c /^void gdImageInterlace(gdImagePtr im, int interlaceArg)$/;" f + gdImageLine gd.c /^void gdImageLine(gdImagePtr im, int x1, int y1, int x2, int y2, int color)$/;" f + gdImagePolygon gd.c /^void gdImagePolygon(gdImagePtr im, gdPointPtr p, int n, int c)$/;" f + gdImagePtr gd.h /^typedef gdImage * gdImagePtr;$/;" t + gdImageRectangle gd.c /^void gdImageRectangle(gdImagePtr im, int x1, int y1, int x2, int y2, int color)$/;" f + gdImageRed gd.h 111;" d + gdImageSX gd.h 108;" d + gdImageSY gd.h 109;" d + gdImageSetBrush gd.c /^void gdImageSetBrush(gdImagePtr im, gdImagePtr brush)$/;" f + gdImageSetPixel gd.c /^void gdImageSetPixel(gdImagePtr im, int x, int y, int color)$/;" f + gdImageSetStyle gd.c /^void gdImageSetStyle(gdImagePtr im, int *style, int noOfPixels)$/;" f + gdImageSetTile gd.c /^void gdImageSetTile(gdImagePtr im, gdImagePtr tile)$/;" f + gdImageStruct gd.h /^typedef struct gdImageStruct {$/;" s + gdImageTileApply gd.c /^static void gdImageTileApply(gdImagePtr im, int x, int y)$/;" f file: + gdMaxColors gd.h 17;" d + gdPoint gd.h /^} gdPoint, *gdPointPtr;$/;" t + gdPointPtr gd.h /^} gdPoint, *gdPointPtr;$/;" t + gdStyled gd.h 57;" d + gdStyledBrushed gd.h 59;" d + gdTiled gd.h 60;" d + gdTransparent gd.h 64;" d + get_afmfilename t1fonts.c /^char *get_afmfilename(int font, int abspath)$/;" f + get_barycenter featext.c /^int get_barycenter( int n, double *x, double *y, double *barycenter )$/;" f + get_bbox draw.c /^view get_bbox(int type)$/;" f + get_blockformats ssdata.c /^int *get_blockformats(void)$/;" f + get_blockncols ssdata.c /^int get_blockncols(void)$/;" f + get_blocknrows ssdata.c /^int get_blocknrows(void)$/;" f + get_cell_content editpwin.c /^static char *get_cell_content(EditPoints *ep, int row, int column)$/;" f file: + get_cg graphs.c /^int get_cg(void)$/;" f + get_children_space Tab.c /^static void get_children_space(XmTabWidget wid, Dimension *width, Dimension *height, Dimension *rect_space)$/;" f file: + get_cmap_entry draw.c /^CMap_entry *get_cmap_entry(unsigned int cindex)$/;" f + get_color_by_name draw.c /^int get_color_by_name(char *cname)$/;" f + get_colorintensity draw.c /^double get_colorintensity(int cindex)$/;" f + get_colorname draw.c /^char *get_colorname(unsigned int cindex)$/;" f + get_colortype draw.c /^int get_colortype(unsigned int cindex)$/;" f + get_curdevice_data device.c /^void *get_curdevice_data(void)$/;" f + get_curdevice_props device.c /^Device_entry get_curdevice_props()$/;" f + get_datapoint setutils.c /^int get_datapoint(int gno, int setno, int ind, int *ncols, Datapoint *dpoint)$/;" f + get_date_hint dates.c /^Dates_format get_date_hint(void)$/;" f + get_debuglevel utils.c /^int get_debuglevel(void)$/;" f + get_default_encoding t1fonts.c /^char **get_default_encoding(void)$/;" f + get_device_by_name device.c /^int get_device_by_name(char *dname)$/;" f + get_device_name device.c /^char *get_device_name(int device)$/;" f + get_device_page_dimensions device.c /^int get_device_page_dimensions(int dindex, int *wpp, int *hpp)$/;" f + get_device_props device.c /^Device_entry get_device_props(int device)$/;" f + get_docbname utils.c /^char *get_docbname(void)$/;" f + get_docname utils.c /^char *get_docname(void)$/;" f + get_draw_mode draw.c /^int get_draw_mode(void)$/;" f + get_editor utils.c /^char *get_editor(void)$/;" f + get_encodingscheme t1fonts.c /^char *get_encodingscheme(int font)$/;" f + get_ep editpwin.c /^EditPoints *get_ep(int gno, int setno)$/;" f + get_ep_dims editpwin.c /^static void get_ep_dims(EditPoints *ep, int *nr, int *nc)$/;" f file: + get_ep_set_dims editpwin.c /^static int get_ep_set_dims(EditPoints *ep, int *nrows, int *ncols, int *scols)$/;" f file: + get_escape_args t1fonts.c /^static int get_escape_args(char *s, char *buf)$/;" f file: + get_fall_time featext.c /^int get_fall_time( int setl, double *xv, double *yv, double min, double max,$/;" f + get_font_by_name t1fonts.c /^int get_font_by_name(char *fname)$/;" f + get_font_mapped_id t1fonts.c /^int get_font_mapped_id(int font)$/;" f + get_fontalias t1fonts.c /^char *get_fontalias(int font)$/;" f + get_fontfallback t1fonts.c /^char *get_fontfallback(int font)$/;" f + get_fontfamilyname t1fonts.c /^char *get_fontfamilyname(int font)$/;" f + get_fontfilename t1fonts.c /^char *get_fontfilename(int font, int abspath)$/;" f + get_fontfullname t1fonts.c /^char *get_fontfullname(int font)$/;" f + get_fontname t1fonts.c /^char *get_fontname(int font)$/;" f + get_fontweight t1fonts.c /^char *get_fontweight(int font)$/;" f + get_format_types graphutils.c /^char *get_format_types(int f)$/;" f + get_frgb draw.c /^fRGB *get_frgb(unsigned int cindex)$/;" f + get_fsrgb draw.c /^fRGB *get_fsrgb(unsigned int cindex)$/;" f + get_grace_home utils.c /^char *get_grace_home(void)$/;" f + get_graph_bargap graphs.c /^double get_graph_bargap(int gno)$/;" f + get_graph_box objutils.c /^void get_graph_box(int i, boxtype * b)$/;" f + get_graph_ellipse objutils.c /^void get_graph_ellipse(int i, ellipsetype * b)$/;" f + get_graph_framep graphs.c /^int get_graph_framep(int gno, framep *f)$/;" f + get_graph_labels graphs.c /^int get_graph_labels(int gno, labels *labs)$/;" f + get_graph_legend graphs.c /^int get_graph_legend(int gno, legend *leg)$/;" f + get_graph_line objutils.c /^void get_graph_line(int i, linetype * l)$/;" f + get_graph_locator graphs.c /^int get_graph_locator(int gno, GLocator *locator)$/;" f + get_graph_plotarr graphs.c /^int get_graph_plotarr(int gno, int i, plotarr *p)$/;" f + get_graph_string objutils.c /^void get_graph_string(int i, plotstr * s)$/;" f + get_graph_tickmarks graphs.c /^tickmarks *get_graph_tickmarks(int gno, int a)$/;" f + get_graph_type graphs.c /^int get_graph_type(int gno)$/;" f + get_graph_viewport graphs.c /^int get_graph_viewport(int gno, view *v)$/;" f + get_graph_world graphs.c /^int get_graph_world(int gno, world *w)$/;" f + get_graph_xscale graphs.c /^int get_graph_xscale(int gno)$/;" f + get_graph_yscale graphs.c /^int get_graph_yscale(int gno)$/;" f + get_graph_znorm graphs.c /^double get_graph_znorm(int gno)$/;" f + get_half_max_width featext.c /^int get_half_max_width( int setl, double *xv, double *yv, double min, double max,$/;" f + get_help_viewer utils.c /^char *get_help_viewer(void)$/;" f + get_hotlink_file setutils.c /^char *get_hotlink_file(int gno, int setno)$/;" f + get_hotlink_src setutils.c /^int get_hotlink_src(int gno, int setno)$/;" f + get_italic_angle t1fonts.c /^double get_italic_angle(int font)$/;" f + get_kerning_vector t1fonts.c /^double *get_kerning_vector(char *str, int len, int font)$/;" f + get_legend_string setutils.c /^char *get_legend_string(int gno, int setno)$/;" f + get_mapped_font t1fonts.c /^int get_mapped_font(int mapped_id)$/;" f + get_max_path_limit draw.c /^int get_max_path_limit(void)$/;" f + get_max_pos featext.c /^void get_max_pos( double *a, double *b, int n, double max, double *d )$/;" f + get_object_bb objutils.c /^int get_object_bb(int type, int id, view *bb)$/;" f + get_overline_pos t1fonts.c /^double get_overline_pos(int font)$/;" f + get_page_format device.c /^PageFormat get_page_format(int device)$/;" f + get_page_geometry device.c /^Page_geometry get_page_geometry(void)$/;" f + get_page_viewport device.c /^void get_page_viewport(double *vx, double *vy)$/;" f + get_pagelayout xmgrace.c /^int get_pagelayout(void)$/;" f + get_parser_arr_by_name pars.c /^grarr *get_parser_arr_by_name(char * const name)$/;" f + get_parser_gno pars.c /^int get_parser_gno(void)$/;" f + get_parser_setno pars.c /^int get_parser_setno(void)$/;" f + get_point setutils.c /^int get_point(int gno, int setno, int seti, WPoint *wp)$/;" f + get_points_inregion computils.c /^int get_points_inregion(int rno, int invr, int len, double *x, double *y, int *cnt, double **xt, double **yt)$/;" f + get_print_cmd utils.c /^char *get_print_cmd(void)$/;" f + get_project_description graphs.c /^char *get_project_description(void)$/;" f + get_project_version graphs.c /^int get_project_version(void)$/;" f + get_ptofile device.c /^int get_ptofile(void)$/;" f + get_recent_gno setutils.c /^int get_recent_gno(void)$/;" f + get_recent_setno setutils.c /^int get_recent_setno(void)$/;" f + get_ref_date dates.c /^double get_ref_date(void)$/;" f + get_restriction_array computils.c /^int get_restriction_array(int gno, int setno,$/;" f + get_rgb draw.c /^RGB *get_rgb(unsigned int cindex)$/;" f + get_rise_time featext.c /^int get_rise_time( int setl, double *xv, double *yv, double min, double max,$/;" f + get_set_strings setutils.c /^char **get_set_strings(int gno, int setno)$/;" f + get_settype_by_name setutils.c /^int get_settype_by_name(char *s)$/;" f + get_srgb draw.c /^RGB *get_srgb(unsigned int cindex)$/;" f + get_textline_width t1fonts.c /^double get_textline_width(int font)$/;" f + get_tracking_props ptswin.c /^void get_tracking_props(int *setno, int *move_dir, int *add_at)$/;" f + get_underline_pos t1fonts.c /^double get_underline_pos(int font)$/;" f + get_unused_ep editpwin.c /^EditPoints *get_unused_ep()$/;" f + get_userhome utils.c /^char *get_userhome(void)$/;" f + get_username utils.c /^char *get_username(void)$/;" f + get_workingdir utils.c /^char *get_workingdir(void)$/;" f + get_world_stack_current graphs.c /^int get_world_stack_current(int gno)$/;" f + get_world_stack_entry graphs.c /^int get_world_stack_entry(int gno, int n, world_stack *ws)$/;" f + get_wrap_year dates.c /^int get_wrap_year(void)$/;" f + get_zero_crossing featext.c /^int get_zero_crossing( int setl, double *xv, double *yv, double *crossing )$/;" f + getbgcolor draw.c /^int getbgcolor(void)$/;" f + getbgfill draw.c /^int getbgfill(void)$/;" f + getcdf_type fileswin.c /^char *getcdf_type(nc_type datatype)$/;" f + getcharsize draw.c /^double getcharsize(void)$/;" f + getcharstr pars.c /^static int getcharstr(void)$/;" f file: + getcol setutils.c /^double *getcol(int gno, int setno, int col)$/;" f + getcolor draw.c /^int getcolor(void)$/;" f + getcomment setutils.c /^char *getcomment(int gno, int setno)$/;" f + getcwd missing.h 90;" d + getdata files.c /^int getdata(int gno, char *fn, int src, int load_type)$/;" f + getfillrule draw.c /^int getfillrule(void)$/;" f + getfont draw.c /^int getfont(void)$/;" f + gethostname missing.h 75;" d + getlinecap draw.c /^int getlinecap(void)$/;" f + getlinejoin draw.c /^int getlinejoin(void)$/;" f + getlinestyle draw.c /^int getlinestyle(void)$/;" f + getlinewidth draw.c /^double getlinewidth(void)$/;" f + getlogin missing.c /^ char *getlogin()$/;" f + getmedian featext.c /^int getmedian( int grno, int setno, int sorton, double *median )$/;" f + getparms files.c /^int getparms(char *plfile)$/;" f + getpattern draw.c /^int getpattern(void)$/;" f + getpen draw.c /^Pen getpen(void)$/;" f + getpoints events.c /^void getpoints(VPoint *vpp)$/;" f + getpwnam missing.c /^struct passwd *getpwnam(name)$/;" f + getsetlength setutils.c /^int getsetlength(int gno, int setno)$/;" f + getsetminmax setutils.c /^int getsetminmax(int gno, int setno, $/;" f + getsetminmax_c setutils.c /^int getsetminmax_c(int gno, int setno, $/;" f + gettimeofday missing.c /^int gettimeofday (tv, tz)$/;" f + getx graphs.h 295;" d + gety graphs.h 296;" d + gid missing.c /^ unsigned short gid;$/;" m struct:uic file: + glyph t1fonts.h /^ GLYPH *glyph;$/;" m struct: + gno defines.h /^ int gno;$/;" m struct: + gno editpwin.c /^ int gno;$/;" m struct:_EditPoints file: + gno graphs.h /^ int gno; \/* graph # *\/$/;" m struct: + gno motifinc.h /^ int gno;$/;" m struct: + gno motifinc.h /^ int gno;$/;" m struct:_SetChoiceItem + gno setwin.c /^ int gno;$/;" m struct:_Leval_ui file: + gotnlfit pars.c /^static int gotparams = FALSE, gotread = FALSE, gotnlfit = FALSE; $/;" v file: + goto_index_item ptswin.c /^static Widget goto_index_item;$/;" v file: + gotomark t1fonts.h /^ int gotomark;$/;" m struct: + gotparams pars.c /^static int gotparams = FALSE, gotread = FALSE, gotnlfit = FALSE; $/;" v file: + gotread pars.c /^static int gotparams = FALSE, gotread = FALSE, gotnlfit = FALSE; $/;" v file: + grace_close files.c /^void grace_close(FILE *fp)$/;" f + grace_editor utils.c /^static char grace_editor[GR_MAXPATHLEN] = GRACE_EDITOR; $/;" v file: + grace_exe_path files.c /^char *grace_exe_path(char *fn)$/;" f + grace_fgets files.c /^char *grace_fgets(char *s, int size, FILE *stream) {$/;" f + grace_home utils.c /^static char grace_home[GR_MAXPATHLEN] = GRACE_HOME; $/;" v file: + grace_icon_bits bitmaps.h /^static unsigned char grace_icon_bits[] = {$/;" v + grace_icon_height bitmaps.h 82;" d + grace_icon_width bitmaps.h 81;" d + grace_icon_xpm bitmaps.h /^static char * grace_icon_xpm[] = {$/;" v + grace_mask_bits bitmaps.h /^static unsigned char grace_mask_bits[] = {$/;" v + grace_openr files.c /^FILE *grace_openr(char *fn, int src)$/;" f + grace_openw files.c /^FILE *grace_openw(char *fn)$/;" f + grace_path files.c /^char *grace_path(char *fn)$/;" f + graph graphs.h /^} graph;$/;" t + graph_allocate graphs.c /^int graph_allocate(int gno)$/;" f + graph_clicked events.c /^int graph_clicked(int gno, VPoint vp)$/;" f + graph_drawfocus_choice_item miscwin.c /^static Widget graph_drawfocus_choice_item;$/;" v file: + graph_flipxy_item graphappwin.c /^static Widget graph_flipxy_item;$/;" v file: + graph_focus_choice_item miscwin.c /^static OptionStructure *graph_focus_choice_item;$/;" v file: + graph_item compwin.c /^ Widget *graph_item;$/;" m struct:_Four_ui file: + graph_item fileswin.c /^ ListStructure *graph_item; \/* graph choice item *\/$/;" m struct: file: + graph_menu_cb motifutils.c /^void graph_menu_cb(ListStructure *listp, GraphMenuCBtype type)$/;" f + graph_overlay1_choice_item worldwin.c /^static ListStructure *graph_overlay1_choice_item;$/;" v file: + graph_overlay2_choice_item worldwin.c /^static ListStructure *graph_overlay2_choice_item;$/;" v file: + graph_overlaytype_item worldwin.c /^static OptionStructure *graph_overlaytype_item;$/;" v file: + graph_popup motifutils.c /^void graph_popup(Widget parent, ListStructure *listp, XButtonPressedEvent *event)$/;" f + graph_scroll graphutils.c /^int graph_scroll(int type)$/;" f + graph_scroll_proc xmgrace.c /^static void graph_scroll_proc(void *data)$/;" f file: + graph_sel motifinc.h /^ ListStructure *graph_sel;$/;" m struct: + graph_select_cb motifutils.c /^void graph_select_cb(Widget list, XtPointer client_data, XtPointer call_data)$/;" f + graph_select_items motifutils.c /^static OptionItem *graph_select_items = NULL;$/;" v file: + graph_selector graphappwin.c /^static ListStructure *graph_selector;$/;" v file: + graph_selectors motifutils.c /^static ListStructure **graph_selectors = NULL;$/;" v file: + graph_type_choice_item graphappwin.c /^static OptionStructure *graph_type_choice_item;$/;" v file: + graph_types graphs.c /^char *graph_types(int it)$/;" f + graph_world_stack_size graphs.c /^int graph_world_stack_size(int gno)$/;" f + graph_zoom graphutils.c /^int graph_zoom(int type)$/;" f + graph_zoom_proc xmgrace.c /^static void graph_zoom_proc(void *data)$/;" f file: + graphapp_aac_cb graphappwin.c /^static int graphapp_aac_cb(void *data)$/;" f file: + graphapp_dialog graphappwin.c /^static Widget graphapp_dialog = NULL;$/;" v file: + graphs worldwin.c /^ ListStructure *graphs;$/;" m struct:_Arrange_ui file: + graphwin_iu graphappwin.c /^void graphwin_iu(int a, void *data)$/;" f + grarr parser.h /^} grarr;$/;" t + grdefaults globals.h /^defaults grdefaults;$/;" v + green draw.h /^ double green;$/;" m struct: + green draw.h /^ int green;$/;" m struct: + green gd.h /^ int green[gdMaxColors];$/;" m struct:gdImageStruct + gregorian_cal_to_jul dates.c /^static long gregorian_cal_to_jul(int y, int m, int d)$/;" f file: + gregorian_non_leap dates.c /^static int gregorian_non_leap(int year)$/;" f file: + gregorian_year_estimate dates.c /^static int gregorian_year_estimate(long n)$/;" f file: + gridflag defines.h /^ int gridflag; \/* grid lines at tick marks *\/$/;" m struct: + group_is_open svgdrv.c /^ int group_is_open;$/;" m struct: file: + gui compwin.c /^static Geom_ui gui;$/;" v file: + h alloca.c /^ } h;$/;" m union:hdr file: + h f2c.h /^ shortint h;$/;" m union:Multitype + handle_close motifutils.c /^void handle_close(Widget w)$/;" f + hdiag as274c.c /^int hdiag(double *xrow, int np, int nrbar, $/;" f + hdr alloca.c /^typedef union hdr$/;" u file: + header alloca.c /^} header;$/;" t file: + header_w regionwin.c /^static Widget header_w;$/;" v file: + height device.h /^ unsigned long height;$/;" m struct: + help_int_cb motifutils.c /^static void help_int_cb(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + help_viewer utils.c /^static char help_viewer[GR_MAXPATHLEN] = GRACE_HELPVIEWER; $/;" v file: + hex2char iofilters.c /^static void hex2char( Filter *f, char *hex )$/;" f file: + hgap defines.h /^ int hgap; \/* horizontal gap(s) between legend string$/;" m struct: + hgap worldwin.c /^ SpinStructure *hgap;$/;" m struct:_Arrange_ui file: + hidden graphs.h /^ int hidden; \/* display or not *\/$/;" m struct: + hidden graphs.h /^ int hidden; \/* hidden set *\/$/;" m struct: + hide_graph_proc motifutils.c /^void hide_graph_proc(void *data)$/;" f + hide_item motifinc.h /^ Widget hide_item;$/;" m struct: + hide_item motifutils.c /^ Widget hide_item;$/;" m struct: file: + hide_set_proc motifutils.c /^void hide_set_proc(void *data)$/;" f + high_water alloca.c /^ long high_water; \/* Stack high-water mark. *\/$/;" m struct:stk_stat file: + hint_item miscwin.c /^static OptionStructure *hint_item;$/;" v file: + histogram computils.c /^int histogram(int ndata, double *data, int nbins, double *bins, int *hist)$/;" f + histoui compwin.c /^static Histo_ui *histoui = NULL;$/;" v file: + hits alloca.c /^ long hits; \/* Number of internal buffer hits. *\/$/;" m struct:stk_stat file: + hl comwin.c /^static Widget hl; \/* command history list *\/$/;" v file: + hotfile graphs.h /^ char hotfile[GR_MAXPATHLEN]; \/* hot linked filename *\/$/;" m struct: + hotlink graphs.h /^ int hotlink; \/* hot linked set *\/$/;" m struct: + hotlink_file_item hotwin.c /^static Widget hotlink_file_item;$/;" v file: + hotlink_frame hotwin.c /^static Widget hotlink_frame = (Widget) NULL;$/;" v file: + hotlink_list_item hotwin.c /^static Widget hotlink_list_item;$/;" v file: + hotlink_set_item hotwin.c /^static SetChoiceItem hotlink_set_item;$/;" v file: + hotlink_source_item hotwin.c /^static OptionStructure *hotlink_source_item;$/;" v file: + hotsrc graphs.h /^ int hotsrc; \/* source for hot linked file (DISK|PIPE) *\/$/;" m struct: + hpack worldwin.c /^ Widget hpack;$/;" m struct:_Arrange_ui file: + hpack_cb worldwin.c /^void hpack_cb(int onoff, void *data)$/;" f + hshift t1fonts.h /^ double hshift;$/;" m struct: + html helpwin.c /^ Widget html;$/;" m struct:_html_ui file: + html_ui helpwin.c /^} html_ui;$/;" t file: + i draw.h /^ double i;$/;" m struct: + i f2c.h /^ integer i;$/;" m union:Multitype + i f2c.h /^typedef struct { doublereal r, i; } doublecomplex;$/;" m struct: + i f2c.h /^typedef struct { real r, i; } complex;$/;" m struct: + i00afunc alloca.c /^i00afunc (long *address)$/;" f file: + i00afunc alloca.c /^i00afunc (long address)$/;" f file: + iax events.c /^static int iax[MAX_POLY_POINTS];$/;" v file: + iay events.c /^static int iay[MAX_POLY_POINTS];$/;" v file: + ib_tbl files.c /^Input_buffer *ib_tbl = 0; \/* table for each open input *\/$/;" v + ib_tblsize files.c /^int ib_tblsize = 0; \/* number of elements in ib_tbl *\/$/;" v + iciend f2c.h /^ flag iciend;$/;" m struct: + icierr f2c.h /^{ flag icierr;$/;" m struct: + icifmt f2c.h /^ char *icifmt;$/;" m struct: + icilist f2c.h /^} icilist;$/;" t + icirlen f2c.h /^ ftnint icirlen;$/;" m struct: + icirnum f2c.h /^ ftnint icirnum;$/;" m struct: + iciunit f2c.h /^ char *iciunit;$/;" m struct: + id defines.h /^ unsigned long id; \/* id for X library *\/$/;" m struct:_Input_buffer + id iofilters.c /^ char *id;$/;" m struct:filter file: + idlen iofilters.c /^ int idlen;$/;" m struct:filter file: + if pars.c /^ if (yydebug)$/;" f + ifilt iofilters.c /^Filter *ifilt, *ofilt;$/;" v + ifscale draw.c /^double ifscale(double vc, int scale)$/;" f + ihandle rstdrv.c /^static gdImagePtr ihandle = NULL;$/;" v file: + ikey pars.c /^symtab_entry ikey[] = {$/;" v + ilog2 utils.c /^int ilog2(int n)$/;" f + inacc f2c.h /^ char *inacc;$/;" m struct: + inacclen f2c.h /^ ftnlen inacclen;$/;" m struct: + inblank f2c.h /^ char *inblank;$/;" m struct: + inblanklen f2c.h /^ ftnlen inblanklen;$/;" m struct: + inbound regionutils.c /^int inbound(double x, double y, double *xlist, double *ylist, int n)$/;" f + inbounds regionutils.c /^int inbounds(int gno, double x, double y)$/;" f + includ as274c.c /^int includ(int np, int nrbar, double w, $/;" f + incr motifinc.h /^ double incr;$/;" m struct: + index_shift pars.c /^static int index_shift = 0; \/* 0 for C, 1 for F77 index notation *\/$/;" v file: + indir f2c.h /^ char *indir;$/;" m struct: + indirlen f2c.h /^ ftnlen indirlen;$/;" m struct: + indx motifinc.h /^ int indx;$/;" m struct:_SetChoiceItem + inerr f2c.h /^{ flag inerr;$/;" m struct: + inex f2c.h /^ ftnint *inex; \/*parameters in standard's order*\/$/;" m struct: + infile f2c.h /^ char *infile;$/;" m struct: + infilen f2c.h /^ ftnlen infilen;$/;" m struct: + infmt f2c.h /^ char *infmt;$/;" m struct: + infmtlen f2c.h /^ ftnlen infmtlen;$/;" m struct: + inform f2c.h /^ char *inform;$/;" m struct: + informlen f2c.h /^ ftnint informlen;$/;" m struct: + init device.h /^ int (*init)(void); \/* function to initialize device *\/$/;" m struct: + init_box objutils.c /^void init_box(int id, VPoint vp1, VPoint vp2)$/;" f + init_cursors xutil.c /^void init_cursors(void)$/;" f + init_ellipse objutils.c /^void init_ellipse(int id, VPoint vp1, VPoint vp2)$/;" f + init_line objutils.c /^void init_line(int id, VPoint vp1, VPoint vp2)$/;" f + init_locale utils.c /^int init_locale(void)$/;" f + init_option_menus motifutils.c /^int init_option_menus(void) {$/;" f + init_ss_data ssdata.c /^int init_ss_data(ss_data *ssd, int ncols, int *formats)$/;" f + init_string objutils.c /^void init_string(int id, VPoint vp)$/;" f + init_svg_data svgdrv.c /^static int init_svg_data(void)$/;" f file: + init_symtab pars.c /^void init_symtab(void)$/;" f + init_t1 t1fonts.c /^int init_t1(void)$/;" f + init_userhome utils.c /^void init_userhome(void)$/;" f + init_username utils.c /^void init_username(void)$/;" f + initgraphics device.c /^int initgraphics(void)$/;" f + initial_address alloca.c /^ long initial_address; \/* Address of initial segment. *\/$/;" m struct:stk_stat file: + initial_size alloca.c /^ long initial_size; \/* Size of initial segment. *\/$/;" m struct:stk_stat file: + initial_wisdom fourier.c /^static char *initial_wisdom=0;$/;" v file: + initialize_cmap draw.c /^void initialize_cmap(void)$/;" f + initialize_gui xmgrace.c /^int initialize_gui(int *argc, char **argv)$/;" f + initialize_nonl nonlfit.c /^void initialize_nonl(void)$/;" f + inlist f2c.h /^} inlist;$/;" t + inname f2c.h /^ char *inname;$/;" m struct: + innamed f2c.h /^ ftnint *innamed;$/;" m struct: + innamlen f2c.h /^ ftnlen innamlen;$/;" m struct: + innrec f2c.h /^ ftnint *innrec;$/;" m struct: + innum f2c.h /^ ftnint *innum;$/;" m struct: + inopen f2c.h /^ ftnint *inopen;$/;" m struct: + inpipe main.c /^int inpipe = FALSE; \/* if xmgrace is to participate in a pipe *\/$/;" v + input helpwin.c /^ TextStructure *input;$/;" m struct:_html_ui file: + inrecl f2c.h /^ ftnint *inrecl;$/;" m struct: + inregion regionutils.c /^int inregion(int regno, double x, double y)$/;" f + inseq f2c.h /^ char *inseq;$/;" m struct: + inseqlen f2c.h /^ ftnlen inseqlen;$/;" m struct: + insert_data_row ssdata.c /^int insert_data_row(ss_data *ssd, int row, char *s)$/;" f + insert_into_string fontwin.c /^static void insert_into_string(char *s)$/;" f file: + installSignal utils.c /^void installSignal(void){$/;" f + install_cmap x11drv.c /^int install_cmap = CMAP_INSTALL_AUTO;$/;" v + instantupdate graphappwin.c /^static int instantupdate=0;$/;" v file: + instantupdate plotwin.c /^static int instantupdate=0;$/;" v file: + instantupdate setappwin.c /^static int instantupdate=0;$/;" v file: + instantupdate tickwin.c /^static int instantupdate=0;$/;" v file: + instantupdate xmgrace.c /^ Boolean instantupdate;$/;" m struct: file: + instantupdate_item graphappwin.c /^static Widget instantupdate_item;$/;" v file: + instantupdate_item plotwin.c /^static Widget instantupdate_item;$/;" v file: + instantupdate_item setappwin.c /^static Widget instantupdate_item;$/;" v file: + instantupdate_item tickwin.c /^static Widget instantupdate_item;$/;" v file: + integer f2c.h /^typedef long int integer;$/;" t + integer1 f2c.h /^typedef char integer1;$/;" t + interlace gd.h /^ int interlace;$/;" m struct:gdImageStruct + interpolate computils.c /^int interpolate(double *mesh, double *yint, int meshlen,$/;" f + interpui compwin.c /^static Interp_ui *interpui = NULL;$/;" v file: + interr pars.c /^static int interr;$/;" v file: + intersect_polygon draw.c /^int intersect_polygon(VPoint *vps, int n, VPoint vp1p, VPoint vp2p)$/;" f + intersect_to_left regionutils.c /^int intersect_to_left(double x, double y, double x1, double y1, double x2, double y2)$/;" f + inunf f2c.h /^ char *inunf;$/;" m struct: + inunflen f2c.h /^ ftnlen inunflen;$/;" m struct: + inunit f2c.h /^ ftnint inunit;$/;" m struct: + inv as274c.c /^void inv(int np, int nrbar, double *rbar, int nreq, double *rinv)$/;" f + inv_item compwin.c /^ OptionStructure *inv_item;$/;" m struct:_Four_ui file: + invalid_view draw.c /^static const view invalid_view = {0.0, 0.0, 0.0, 0.0};$/;" v file: + invert defines.h /^ int invert; \/* switch between ascending and descending$/;" m struct: + invert xmgrace.c /^ Boolean invert;$/;" m struct: file: + irand_wrap mathstuff.c /^extern double irand_wrap(int x)$/;" f + is7bit psdrv.c /^static int is7bit(unsigned char uc)$/;" f file: + is8bit psdrv.c /^static int is8bit(unsigned char uc)$/;" f file: + is_axis_active graphs.c /^int is_axis_active(int gno, int axis)$/;" f + is_dirtystate utils.c /^int is_dirtystate(void)$/;" f + is_graph_active graphs.h 231;" d + is_graph_hidden graphs.c /^int is_graph_hidden(int gno)$/;" f + is_graph_stacked graphs.c /^int is_graph_stacked(int gno)$/;" f + is_graph_xinvert graphs.c /^int is_graph_xinvert(int gno)$/;" f + is_graph_yinvert graphs.c /^int is_graph_yinvert(int gno)$/;" f + is_hotlinked setutils.c /^int is_hotlinked(int gno, int setno)$/;" f + is_inside_boundary draw.c /^static int is_inside_boundary(VPoint vp, VPoint vp1c, VPoint vp2c)$/;" f file: + is_log_axis drawticks.c /^int is_log_axis(int gno, int axis)$/;" f + is_logit_axis drawticks.c /^int is_logit_axis(int gno, int axis)$/;" f + is_motif_compatible xmgrace.c /^static int is_motif_compatible(void)$/;" f file: + is_refpoint_active graphs.c /^int is_refpoint_active(int gno)$/;" f + is_set_active setutils.c /^int is_set_active(int gno, int setno)$/;" f + is_set_drawable graphs.h 277;" d + is_set_hidden graphs.c /^int is_set_hidden(int gno, int setno)$/;" f + is_validVPoint draw.c /^int is_validVPoint(VPoint vp)$/;" f + is_validWPoint draw.c /^int is_validWPoint(WPoint wp)$/;" f + is_valid_axis graphs.c /^int is_valid_axis(int gno, int axis)$/;" f + is_valid_bbox draw.c /^int is_valid_bbox(view v)$/;" f + is_valid_box objutils.c /^int is_valid_box(int box)$/;" f + is_valid_color draw.c /^int is_valid_color(RGB rgb)$/;" f + is_valid_ellipse objutils.c /^int is_valid_ellipse(int ellipse)$/;" f + is_valid_gno graphs.c /^int is_valid_gno(int gno)$/;" f + is_valid_line objutils.c /^int is_valid_line(int line)$/;" f + is_valid_page_geometry device.c /^int is_valid_page_geometry(Page_geometry pg)$/;" f + is_valid_setno graphs.c /^int is_valid_setno(int gno, int setno)$/;" f + is_valid_string objutils.c /^int is_valid_string(int string)$/;" f + is_video_reversed draw.c /^int is_video_reversed(void)$/;" f + is_vpoint_inside draw.c /^int is_vpoint_inside(view v, VPoint vp, double epsilon)$/;" f + is_wpoint_inside draw.c /^int is_wpoint_inside(WPoint *wp, world *w)$/;" f + is_xaxis drawticks.c /^int is_xaxis(int axis)$/;" f + is_yaxis drawticks.c /^int is_yaxis(int axis)$/;" f + is_zero_axis graphs.c /^int is_zero_axis(int gno, int axis)$/;" f + isabove regionutils.c /^int isabove(double x, double y, double x1, double y1, double x2, double y2)$/;" f + isactive_box objutils.c /^int isactive_box(int boxno)$/;" f + isactive_ellipse objutils.c /^int isactive_ellipse(int ellipno)$/;" f + isactive_line objutils.c /^int isactive_line(int lineno)$/;" f + isactive_region regionutils.c /^int isactive_region(int regno)$/;" f + isactive_string objutils.c /^int isactive_string(int strno)$/;" f + isbelow regionutils.c /^int isbelow(double x, double y, double x1, double y1, double x2, double y2)$/;" f + isleft regionutils.c /^int isleft(double x, double y, double x1, double y1, double x2, double y2)$/;" f + islogitx graphs.c /^int islogitx(int gno)$/;" f + islogity graphs.c /^int islogity(int gno)$/;" f + islogx graphs.c /^int islogx(int gno)$/;" f + islogy graphs.c /^int islogy(int gno)$/;" f + isoneof utils.c /^int isoneof(int c, char *s)$/;" f + isright regionutils.c /^int isright(double x, double y, double x1, double y1, double x2, double y2)$/;" f + isvalid_viewport draw.c /^int isvalid_viewport(view v)$/;" f + iswap utils.c /^void iswap(int *x, int *y)$/;" f + item_code missing.c /^ unsigned short buffer_length, item_code;$/;" m struct: file: + itmlst_item missing.c /^ } itmlst_item;$/;" t file: + iui compwin.c /^static Int_ui iui;$/;" v file: + iv_wrap mathstuff.c /^extern double iv_wrap(double v, double x)$/;" f + ival pars.c /^ int ival;$/;" m union: file: + ivector as274c.c /^int *ivector(int l, int h)$/;" f + j_cb_b_bits jbitmaps.h /^static unsigned char j_cb_b_bits[] = {$/;" v + j_cm_b_bits jbitmaps.h /^static unsigned char j_cm_b_bits[] = {$/;" v + j_cm_o_bits jbitmaps.h /^static unsigned char j_cm_o_bits[] = {$/;" v + j_ct_b_bits jbitmaps.h /^static unsigned char j_ct_b_bits[] = {$/;" v + j_lb_b_bits jbitmaps.h /^static unsigned char j_lb_b_bits[] = {$/;" v + j_lm_b_bits jbitmaps.h /^static unsigned char j_lm_b_bits[] = {$/;" v + j_lm_o_bits jbitmaps.h /^static unsigned char j_lm_o_bits[] = {$/;" v + j_lt_b_bits jbitmaps.h /^static unsigned char j_lt_b_bits[] = {$/;" v + j_rb_b_bits jbitmaps.h /^static unsigned char j_rb_b_bits[] = {$/;" v + j_rm_b_bits jbitmaps.h /^static unsigned char j_rm_b_bits[] = {$/;" v + j_rm_o_bits jbitmaps.h /^static unsigned char j_rm_o_bits[] = {$/;" v + j_rt_b_bits jbitmaps.h /^static unsigned char j_rt_b_bits[] = {$/;" v + join_sets setutils.c /^int join_sets(int gno, int *sets, int nsets)$/;" f + jpg_gui_setup rstdrv.c /^void jpg_gui_setup(void)$/;" f + jpg_gui_setup rstdrv.h 77;" d + jpg_op_parser rstdrv.c /^int jpg_op_parser(char *opstring)$/;" f + jpg_setup_baseline rstdrv.c /^static int jpg_setup_baseline = FALSE;$/;" v file: + jpg_setup_baseline_item rstdrv.c /^static Widget jpg_setup_baseline_item;$/;" v file: + jpg_setup_dct rstdrv.c /^static int jpg_setup_dct = JPEG_DCT_DEFAULT;$/;" v file: + jpg_setup_dct_item rstdrv.c /^static OptionStructure *jpg_setup_dct_item;$/;" v file: + jpg_setup_frame rstdrv.c /^static Widget jpg_setup_frame;$/;" v file: + jpg_setup_grayscale rstdrv.c /^static int jpg_setup_grayscale = FALSE;$/;" v file: + jpg_setup_grayscale_item rstdrv.c /^static Widget jpg_setup_grayscale_item;$/;" v file: + jpg_setup_optimize rstdrv.c /^static int jpg_setup_optimize = FALSE;$/;" v file: + jpg_setup_optimize_item rstdrv.c /^static Widget jpg_setup_optimize_item;$/;" v file: + jpg_setup_progressive rstdrv.c /^static int jpg_setup_progressive = FALSE;$/;" v file: + jpg_setup_progressive_item rstdrv.c /^static Widget jpg_setup_progressive_item;$/;" v file: + jpg_setup_quality rstdrv.c /^static int jpg_setup_quality = 75;$/;" v file: + jpg_setup_quality_item rstdrv.c /^static SpinStructure *jpg_setup_quality_item;$/;" v file: + jpg_setup_smoothing rstdrv.c /^static int jpg_setup_smoothing = 0;$/;" v file: + jpg_setup_smoothing_item rstdrv.c /^static SpinStructure *jpg_setup_smoothing_item;$/;" v file: + jpginitgraphics rstdrv.c /^int jpginitgraphics(void)$/;" f + jul_and_time_to_jul dates.c /^double jul_and_time_to_jul(long jul, int hour, int min, double sec)$/;" f + jul_to_cal dates.c /^void jul_to_cal(long n, int *y, int *m, int *d)$/;" f + jul_to_cal_and_time dates.c /^void jul_to_cal_and_time(double jday, int rounding,$/;" f + jul_to_some_cal dates.c /^static void jul_to_some_cal(long n,$/;" f file: + just defines.h /^ int just;$/;" m struct: + just_item strwin.c /^ OptionStructure *just_item;$/;" m struct: file: + just_option_items motifutils.c /^static BitmapOptionItem just_option_items[12] =$/;" v file: + jv_wrap mathstuff.c /^extern double jv_wrap(double v, double x)$/;" f + keep_grab motifutils.c /^static Boolean keep_grab = True;$/;" v file: + kerning t1fonts.h /^ int kerning;$/;" m struct: + key pars.c /^symtab_entry *key;$/;" v + kill worldwin.c /^ Widget kill;$/;" m struct:_Arrange_ui file: + kill_all_graphs graphs.c /^void kill_all_graphs(void)$/;" f + kill_all_regions regionutils.c /^void kill_all_regions(void)$/;" f + kill_all_sets graphs.c /^int kill_all_sets(int gno)$/;" f + kill_box objutils.c /^void kill_box(int boxno)$/;" f + kill_cursor xutil.c /^static Cursor kill_cursor;$/;" v file: + kill_ellipse objutils.c /^void kill_ellipse(int ellipseno)$/;" f + kill_graph graphs.c /^int kill_graph(int gno)$/;" f + kill_graph_proc motifutils.c /^void kill_graph_proc(void *data)$/;" f + kill_item motifinc.h /^ Widget kill_item;$/;" m struct: + kill_item motifutils.c /^ Widget kill_item;$/;" m struct: file: + kill_line objutils.c /^void kill_line(int lineno)$/;" f + kill_object objutils.c /^int kill_object(int type, int id)$/;" f + kill_region regionutils.c /^void kill_region(int r)$/;" f + kill_set_proc motifutils.c /^void kill_set_proc(void *data)$/;" f + kill_string objutils.c /^void kill_string(int stringno)$/;" f + killd_item motifinc.h /^ Widget killd_item;$/;" m struct: + killd_set_proc motifutils.c /^void killd_set_proc(void *data)$/;" f + killset setutils.c /^void killset(int gno, int setno)$/;" f + killsetdata setutils.c /^void killsetdata(int gno, int setno)$/;" f + kn_wrap mathstuff.c /^extern double kn_wrap(int n, double x)$/;" f + l graphs.h /^ legend l; \/* legends *\/$/;" m struct: + lL_ff defines.h /^ double lL_ff; \/* l\/L form factor *\/$/;" m struct: + lL_ff_item strwin.c /^ SpinStructure *lL_ff_item;$/;" m struct: file: + label defines.h /^ char *label;$/;" m struct: + label defines.h /^ plotstr label; \/* graph axis label *\/$/;" m struct: + label editpwin.c /^ Widget label;$/;" m struct:_EditPoints file: + label motifinc.h /^ Widget label;$/;" m struct: + label motifinc.h /^ char *label;$/;" m struct: + labelCB editpwin.c /^static void labelCB(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + label_item motifinc.h /^ Widget label_item;$/;" m struct: + label_item motifutils.c /^ Widget label_item;$/;" m struct: file: + label_layout defines.h /^ int label_layout; \/* axis label orientation (h or v) *\/$/;" m struct: + label_op defines.h /^ PlacementType label_op; \/* tick labels on opposite side or both *\/$/;" m struct: + label_place defines.h /^ int label_place; \/* axis label placement (specfied or auto) *\/$/;" m struct: + label_subtitle_text_item graphappwin.c /^static TextStructure *label_subtitle_text_item;$/;" v file: + label_title_text_item graphappwin.c /^static TextStructure *label_title_text_item;$/;" v file: + label_to_resname motifutils.c /^static char *label_to_resname(const char *s, const char *suffix)$/;" f file: + labels defines.h /^} labels;$/;" t + labs graphs.h /^ labels labs; \/* title and subtitle *\/$/;" m struct: + labx regionwin.c /^static Widget *labx;$/;" v file: + lag_item compwin.c /^ Widget lag_item;$/;" m struct:_Cross_ui file: + lag_item compwin.c /^ Widget lag_item;$/;" m struct:_Lconv_ui file: + last helpwin.c /^ char *last;$/;" m struct:_html_ui file: + last_alloca_header alloca.c /^static header *last_alloca_header = NULL; \/* -> last alloca header. *\/$/;" v file: + lconvui compwin.c /^static Lconv_ui lconvui;$/;" v file: + leasev fit.c /^double leasev(double *c, int degree, double x)$/;" f + leaveCB editpwin.c /^static void leaveCB(Widget w, XtPointer client_data, XtPointer calld)$/;" f file: + leaveCB setwin.c /^static void leaveCB(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + leavegraphics draw.c /^void leavegraphics(void)$/;" f + left_bits bitmaps.h /^static unsigned char left_bits[] = {$/;" v + left_height bitmaps.h 155;" d + left_width bitmaps.h 154;" d + legend defines.h /^} legend;$/;" t + legend_boxcolor_item graphappwin.c /^static OptionStructure *legend_boxcolor_item;$/;" v file: + legend_boxfillcolor_item graphappwin.c /^static OptionStructure *legend_boxfillcolor_item;$/;" v file: + legend_boxfillpat_item graphappwin.c /^static OptionStructure *legend_boxfillpat_item;$/;" v file: + legend_boxlines_item graphappwin.c /^static OptionStructure *legend_boxlines_item;$/;" v file: + legend_boxlinew_item graphappwin.c /^static SpinStructure *legend_boxlinew_item;$/;" v file: + legend_boxpattern_item graphappwin.c /^static OptionStructure *legend_boxpattern_item;$/;" v file: + legend_charsize_item graphappwin.c /^static Widget legend_charsize_item;$/;" v file: + legend_clicked events.c /^int legend_clicked(int gno, VPoint vp, view *bb)$/;" f + legend_color_item graphappwin.c /^static OptionStructure *legend_color_item;$/;" v file: + legend_font_item graphappwin.c /^static OptionStructure *legend_font_item;$/;" v file: + legend_str_item setappwin.c /^static TextStructure *legend_str_item;$/;" v file: + legend_x_item graphappwin.c /^static Widget legend_x_item;$/;" v file: + legend_y_item graphappwin.c /^static Widget legend_y_item;$/;" v file: + legends_hgap_item graphappwin.c /^static OptionStructure *legends_hgap_item;$/;" v file: + legends_invert_item graphappwin.c /^static Widget legends_invert_item;$/;" v file: + legends_len_item graphappwin.c /^static OptionStructure *legends_len_item;$/;" v file: + legends_vgap_item graphappwin.c /^static OptionStructure *legends_vgap_item;$/;" v file: + legload_rc featext.c /^ Widget legload_rc;$/;" m struct:_Featext_ui file: + legx defines.h /^ double legx; \/* location on graph *\/$/;" m struct: + legy defines.h /^ double legy;$/;" m struct: + len defines.h /^ int len; \/* length of line to draw *\/$/;" m struct: + len graphs.h /^ int len; \/* dataset length *\/$/;" m struct: + len t1fonts.h /^ int len;$/;" m struct: + len_item compwin.c /^ Widget len_item;$/;" m struct:_Run_ui file: + length defines.h /^ double length; \/* head length (L) *\/$/;" m struct: + length parser.h /^ int length;$/;" m struct:_grarr + length_item setwin.c /^ Widget length_item;$/;" m struct:_Datasetop_ui file: + length_item setwin.c /^ Widget length_item;$/;" m struct:_Type_ui file: + leval_aac_cb setwin.c /^static int leval_aac_cb(void *data)$/;" f file: + levalui setwin.c /^static Leval_ui levalui;$/;" v file: + ligatures t1fonts.h /^ int ligatures;$/;" m struct: + line_cursor xutil.c /^static Cursor line_cursor;$/;" v file: + line_edit_popup strwin.c /^void line_edit_popup(int lineno)$/;" f + line_edit_proc strwin.c /^void line_edit_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f + line_intersect draw.c /^VPoint *line_intersect(VPoint vp1, VPoint vp2, VPoint vp1p, VPoint vp2p, int mode) {$/;" f + line_ui strwin.c /^static EditLineUI line_ui;$/;" v file: + line_width svgdrv.c /^ double line_width;$/;" m struct: file: + linear_interp featext.c /^double linear_interp( double x1, double y1, double x2, double y2, double x )$/;" f + linear_regression fit.c /^int linear_regression(int n, double *x, double *y, double *coeff)$/;" f + linearconv fit.c /^void linearconv(double *x, double *h, double *y, int n, int m)$/;" f + linecap draw.h /^ int linecap;$/;" m struct: + linecap svgdrv.c /^ int linecap;$/;" m struct: file: + linejoin draw.h /^ int linejoin;$/;" m struct: + linejoin svgdrv.c /^ int linejoin;$/;" m struct: file: + lineno defines.h /^ int lineno; \/* line number *\/$/;" m struct:_Input_buffer + lineno strwin.c /^ int lineno;$/;" m struct: file: + linepen graphs.h /^ Pen linepen; \/* pen for connecting line *\/$/;" m struct: + lines defines.h /^ int lines; \/* frame linestyle *\/$/;" m struct: + lines defines.h /^ int lines; \/* region linestyle *\/$/;" m struct: + lines defines.h /^ int lines; \/* linestyle of tickmarks *\/$/;" m struct: + lines defines.h /^ int lines; \/* error bar line style *\/$/;" m struct: + lines defines.h /^ int lines;$/;" m struct: + lines draw.h /^ int lines;$/;" m struct: + lines graphs.h /^ int lines; \/* set line style *\/$/;" m struct: + lines_a_dL_ff_item strwin.c /^static SpinStructure *lines_a_dL_ff_item;$/;" v file: + lines_a_lL_ff_item strwin.c /^static SpinStructure *lines_a_lL_ff_item;$/;" v file: + lines_arrow_item strwin.c /^static OptionStructure *lines_arrow_item;$/;" v file: + lines_asize_item strwin.c /^static SpinStructure *lines_asize_item;$/;" v file: + lines_atype_item strwin.c /^static OptionStructure *lines_atype_item;$/;" v file: + lines_color_item strwin.c /^static OptionStructure *lines_color_item;$/;" v file: + lines_def_proc strwin.c /^void lines_def_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f + lines_frame strwin.c /^static Widget lines_frame;$/;" v file: + lines_item strwin.c /^ OptionStructure *lines_item;$/;" m struct: file: + lines_loc_item strwin.c /^static OptionStructure *lines_loc_item;$/;" v file: + lines_option_items motifutils.c /^static BitmapOptionItem *lines_option_items;$/;" v file: + lines_style_item strwin.c /^static OptionStructure *lines_style_item;$/;" v file: + lines_width_item strwin.c /^static SpinStructure *lines_width_item;$/;" v file: + linestyle svgdrv.c /^ int linestyle;$/;" m struct: file: + linet graphs.h /^ int linet; \/* set line type *\/$/;" m struct: + linetype defines.h /^} linetype;$/;" t + linew defines.h /^ double linew; \/* frame line width *\/$/;" m struct: + linew defines.h /^ double linew; \/* region line width *\/$/;" m struct: + linew defines.h /^ double linew; \/* linewidth of tickmarks *\/$/;" m struct: + linew defines.h /^ double linew; \/* error bar line width *\/$/;" m struct: + linew defines.h /^ double linew;$/;" m struct: + linew draw.h /^ double linew;$/;" m struct: + linew graphs.h /^ double linew; \/* line width *\/$/;" m struct: + linew_item strwin.c /^ SpinStructure *linew_item;$/;" m struct: file: + link alloca.c /^ long link; \/* Address of trailer block of previous$/;" m struct:stk_trailer file: + linkscroll_item miscwin.c /^static Widget linkscroll_item;$/;" v file: + linkto defines.h /^ int linkto; \/* associated with graph linkto *\/$/;" m struct: + list motifinc.h /^ Widget list;$/;" m struct: + list motifinc.h /^ Widget list;$/;" m struct:_SetChoiceItem + list_int_cb_proc motifutils.c /^static void list_int_cb_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + list_invertselection motifutils.c /^static void list_invertselection(Widget list)$/;" f file: + list_invertselection_action motifutils.c /^void list_invertselection_action(Widget w, XEvent *e, String *par,$/;" f + list_invertselection_cb motifutils.c /^static void list_invertselection_cb(void *data)$/;" f file: + list_select_actions xmgrace.c /^static XtActionsRec list_select_actions[] = {$/;" v file: + list_selectall motifutils.c /^static void list_selectall(Widget list)$/;" f file: + list_selectall_action motifutils.c /^void list_selectall_action(Widget w, XEvent *e, String *par, Cardinal *npar)$/;" f + list_selectall_cb motifutils.c /^static void list_selectall_cb(void *data)$/;" f file: + list_translation_table motifutils.c /^static char list_translation_table[] = "\\$/;" v file: + list_unselectall motifutils.c /^static void list_unselectall(Widget list)$/;" f file: + list_unselectall_action motifutils.c /^void list_unselectall_action(Widget w, XEvent *e, String *par, Cardinal *npar)$/;" f + list_unselectall_cb motifutils.c /^static void list_unselectall_cb(void *data)$/;" f file: + listp motifutils.c /^ ListStructure *listp;$/;" m struct: file: + lmdif_ lmdif.c /^\/* Subroutine *\/ int lmdif_(S_fp fcn, integer *m, integer *n, doublereal *x, $/;" f + lmdif_drv nonlfit.c /^int lmdif_drv(U_fp fcn, integer m, integer n, doublereal *x, $/;" f + lmpar_ lmdif.c /^\/* Subroutine *\/ int lmpar_(integer *n, doublereal *r__, integer *ldr, $/;" f + load nonlwin.c /^ int load; \/* load to... *\/$/;" m struct: file: + loadFile helpwin.c /^static char *loadFile(char *URL)$/;" f file: + loadImage helpwin.c /^static XmImageInfo *loadImage(Widget w,$/;" f file: + load_comments_to_legend setutils.c /^int load_comments_to_legend(int gno, int setno)$/;" f + load_example xmgrace.c /^static void load_example(void *data)$/;" f file: + load_item compwin.c /^ OptionStructure *load_item;$/;" m struct:_Four_ui file: + load_item fileswin.c /^ OptionStructure *load_item; \/* load as single\/nxy\/block *\/$/;" m struct: file: + load_module dlmodule.c /^int load_module(char *fname, char *dl_function, char *dl_key, int dl_type)$/;" f + load_nonl_fit nonlwin.c /^static int load_nonl_fit(int src_gno, int src_setno, int force)$/;" f file: + load_nonl_fit_cb nonlwin.c /^static void load_nonl_fit_cb(void *data)$/;" f file: + load_poly_region regionutils.c /^void load_poly_region(int r, int gno, int n, WPoint *wps)$/;" f + load_project files.c /^int load_project(char *fn)$/;" f + load_project_file files.c /^int load_project_file(char *fn, int as_template)$/;" f + loadx_item compwin.c /^ OptionStructure *loadx_item;$/;" m struct:_Four_ui file: + loc_formatx locatewin.c /^static OptionStructure *loc_formatx;$/;" v file: + loc_formaty locatewin.c /^static OptionStructure *loc_formaty;$/;" v file: + loc_item strwin.c /^ OptionStructure *loc_item;$/;" m struct: file: + loc_precx locatewin.c /^static OptionStructure *loc_precx;$/;" v file: + loc_precy locatewin.c /^static OptionStructure *loc_precy;$/;" v file: + locate_point_item ptswin.c /^static TextStructure *locate_point_item;$/;" v file: + locate_point_message ptswin.c /^static Widget locate_point_message;$/;" v file: + location helpwin.c /^ TextStructure *location;$/;" m struct:_html_ui file: + location_cb helpwin.c /^void location_cb(void *data)$/;" f + locator graphs.h /^ GLocator locator; \/* locator props *\/$/;" m struct: + locator_define_notify_proc locatewin.c /^static int locator_define_notify_proc(void *data)$/;" f file: + locator_frame locatewin.c /^static Widget locator_frame;$/;" v file: + locatorbar xmgrace.c /^ Boolean locatorbar;$/;" m struct: file: + locbar_visible xmgrace.c /^static int locbar_visible = 1;$/;" v file: + lock_dirtystate utils.c /^void lock_dirtystate(flag)$/;" f + loclab xmgrace.c /^Widget loclab; \/* locator label *\/$/;" v + loctype defines.h /^ int loctype; \/* locate in world or viewport coords *\/$/;" m struct: + loctype defines.h /^ int loctype;$/;" m struct: + locx_item locatewin.c /^static Widget locx_item;$/;" v file: + locy_item locatewin.c /^static Widget locy_item;$/;" v file: + loff worldwin.c /^ SpinStructure *loff;$/;" m struct:_Arrange_ui file: + logical f2c.h /^typedef long int logical;$/;" t + logical1 f2c.h /^typedef char logical1;$/;" t + lowtoupper utils.c /^void lowtoupper(char *s)$/;" f + lrand48 missing.h 80;" d + lstr graphs.h /^ char lstr[MAX_STRING_LENGTH]; \/* legend for this set *\/$/;" m struct: + m fit.c 641;" d file: + m fit.c 720;" d file: + m_hv_lr_bt_bits mbitmaps.h /^static unsigned char m_hv_lr_bt_bits[] = {$/;" v + m_hv_lr_tb_bits mbitmaps.h /^static unsigned char m_hv_lr_tb_bits[] = {$/;" v + m_hv_rl_bt_bits mbitmaps.h /^static unsigned char m_hv_rl_bt_bits[] = {$/;" v + m_hv_rl_tb_bits mbitmaps.h /^static unsigned char m_hv_rl_tb_bits[] = {$/;" v + m_vh_lr_bt_bits mbitmaps.h /^static unsigned char m_vh_lr_bt_bits[] = {$/;" v + m_vh_lr_tb_bits mbitmaps.h /^static unsigned char m_vh_lr_tb_bits[] = {$/;" v + m_vh_rl_bt_bits mbitmaps.h /^static unsigned char m_vh_rl_bt_bits[] = {$/;" v + m_vh_rl_tb_bits mbitmaps.h /^static unsigned char m_vh_rl_tb_bits[] = {$/;" v + main buildinfo.c /^int main(int argc, char *argv[])$/;" f + main main.c /^int main(int argc, char *argv[])$/;" f + main_frame xmgrace.c /^static Widget main_frame;$/;" v file: + manager TabP.h /^ XmManagerConstraintPart manager;$/;" m struct:_XmTabConstraintRec + manager TabP.h /^ XmManagerPart manager;$/;" m struct:_XmTabRec + manager_class TabP.h /^ XmManagerClassPart manager_class;$/;" m struct:_XmTabClassRec + map_font t1fonts.c /^int map_font(int font, int mapped_id)$/;" f + map_font_by_name t1fonts.c /^int map_font_by_name(char *fname, int mapped_id)$/;" f + map_fonts t1fonts.c /^void map_fonts(int map)$/;" f + mapped_id t1fonts.h /^ int mapped_id;$/;" m struct: + margin_height TabP.h /^ Dimension margin_height;$/;" m struct:_XmTabPart + margin_width TabP.h /^ Dimension margin_width;$/;" m struct:_XmTabPart + max defines.h /^ double max; \/* upper bound constraint *\/$/;" m struct: + max f2c.h 193;" d + max motifinc.h /^ double max;$/;" m struct: + max_path_item miscwin.c /^static SpinStructure *max_path_item;$/;" v file: + max_path_length draw.c /^static int max_path_length = MAX_DRAWING_PATH;$/;" v file: + max_wrap mathstuff.c /^extern double max_wrap(double x, double y)$/;" f + maxboxes objutils.c /^static int maxboxes = 0;$/;" v file: + maxc alloca.c /^ long maxc; \/* Amount of contiguous space which would$/;" m struct:stk_stat file: + maxcolors draw.c /^static int maxcolors = 0;$/;" v file: + maxellipses objutils.c /^static int maxellipses = 0;$/;" v file: + maxfunc pars.c /^static int maxfunc = sizeof(ikey) \/ sizeof(symtab_entry);$/;" v file: + maxgraph graphs.c /^static int maxgraph = 0;$/;" v file: + maxlines objutils.c /^static int maxlines = 0;$/;" v file: + maxplot graphs.h /^ int maxplot; \/* number of sets allocated for this graph *\/$/;" m struct: + maxs alloca.c /^ long maxs; \/* Maximum number of stack segments so far. *\/$/;" m struct:stk_stat file: + maxstr objutils.c /^static int maxstr = 0;$/;" v file: + mc68010 f2c.h 239;" d + mc68020 f2c.h 240;" d + melt_bbox draw.c /^void melt_bbox(int type)$/;" f + memcpy missing.h 71;" d + memmove missing.h 67;" d + menu motifinc.h /^ SetPopupMenu *menu;$/;" m struct: + menu motifinc.h /^ Widget menu;$/;" m struct: + menu_bar xmgrace.c /^static Widget menu_bar;$/;" v file: + merge_bboxes draw.c /^view merge_bboxes(view v1, view v2)$/;" f + method compwin.c /^ OptionStructure *method;$/;" m struct:_Interp_ui file: + method iofilters.c /^ int method;$/;" m struct:filter file: + method_item compwin.c /^ Widget method_item;$/;" m struct:_Reg_ui file: + mf_drawarc mfdrv.c /^void mf_drawarc(VPoint vp1, VPoint vp2, int a1, int a2)$/;" f + mf_drawpixel mfdrv.c /^void mf_drawpixel(VPoint vp)$/;" f + mf_drawpolyline mfdrv.c /^void mf_drawpolyline(VPoint *vps, int n, int mode)$/;" f + mf_fillarc mfdrv.c /^void mf_fillarc(VPoint vp1, VPoint vp2, int a1, int a2, int mode)$/;" f + mf_fillpolygon mfdrv.c /^void mf_fillpolygon(VPoint *vps, int nc)$/;" f + mf_leavegraphics mfdrv.c /^void mf_leavegraphics(void)$/;" f + mf_putpixmap mfdrv.c /^void mf_putpixmap(VPoint vp, int width, int height, char *databits, $/;" f + mf_puttext mfdrv.c /^void mf_puttext(VPoint vp, char *s, int len, int font,$/;" f + mf_setdrawbrush mfdrv.c /^void mf_setdrawbrush(void)$/;" f + mf_setpen mfdrv.c /^void mf_setpen(void)$/;" f + mfinitgraphics mfdrv.c /^int mfinitgraphics(void)$/;" f + mif_arc mifdrv.c /^static void mif_arc(int draw, int fill, VPoint vp1, VPoint vp2, int a1, int a2)$/;" f file: + mif_drawarc mifdrv.c /^void mif_drawarc(VPoint vp1, VPoint vp2, int a1, int a2)$/;" f + mif_drawpixel mifdrv.c /^void mif_drawpixel(VPoint vp)$/;" f + mif_drawpolyline mifdrv.c /^void mif_drawpolyline(VPoint *vps, int n, int mode)$/;" f + mif_fillarc mifdrv.c /^void mif_fillarc(VPoint vp1, VPoint vp2, int a1, int a2, int mode)$/;" f + mif_fillpattern mifdrv.c /^static int mif_fillpattern(int fillpattern)$/;" f file: + mif_fillpolygon mifdrv.c /^void mif_fillpolygon(VPoint *vps, int nc)$/;" f + mif_leavegraphics mifdrv.c /^void mif_leavegraphics(void)$/;" f + mif_object_props mifdrv.c /^void mif_object_props (int draw, int fill)$/;" f + mif_putpixmap mifdrv.c /^void mif_putpixmap(VPoint vp, int width, int height, char *databits, $/;" f + mif_puttext mifdrv.c /^void mif_puttext(VPoint vp, char *s, int len, int font,$/;" f + mifinitgraphics mifdrv.c /^int mifinitgraphics(void)$/;" f + min defines.h /^ double min; \/* low bound constraint *\/$/;" m struct: + min f2c.h 192;" d + min motifinc.h /^ double min;$/;" m struct: + min_wrap mathstuff.c /^extern double min_wrap(double x, double y)$/;" f + minmax setutils.c /^void minmax(double *x, int n, double *xmin, double *xmax, int *imin, int *imax)$/;" f + minmaxrange setutils.c /^int minmaxrange(double *bvec, double *vec, int n, double bvmin, double bvmax,$/;" f + mips f2c.h 241;" d + mlength compwin.c /^ Widget mlength;$/;" m struct:_Histo_ui file: + mlength compwin.c /^ Widget mlength;$/;" m struct:_Interp_ui file: + monText monwin.c /^ Widget monText;$/;" m struct:_console_ui file: + mon_frame monwin.c /^ Widget mon_frame;$/;" m struct:_console_ui file: + monitor_input files.c /^int monitor_input(Input_buffer *tbl, int tblsize, int no_wait)$/;" f + monotonicity computils.c /^int monotonicity(double *array, int len, int strict)$/;" f + monthl utils.c /^char *monthl[] = {"January", "February", "March", "April", "May", "June",$/;" v + months utils.c /^char *months[] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"};$/;" v + move12_graph_proc motifutils.c /^void move12_graph_proc(void *data)$/;" f + move12_item motifinc.h /^ Widget move12_item;$/;" m struct: + move12_item motifutils.c /^ Widget move12_item;$/;" m struct: file: + move12_set_proc motifutils.c /^void move12_set_proc(void *data)$/;" f + move21_graph_proc motifutils.c /^void move21_graph_proc(void *data)$/;" f + move21_item motifinc.h /^ Widget move21_item;$/;" m struct: + move21_item motifutils.c /^ Widget move21_item;$/;" m struct: file: + move21_set_proc motifutils.c /^void move21_set_proc(void *data)$/;" f + move_com comwin.c /^static void move_com(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + move_cursor xutil.c /^static Cursor move_cursor;$/;" v file: + move_dir events.c /^static int move_dir;$/;" v file: + move_graph graphs.c /^int move_graph(int from, int to)$/;" f + move_legend graphutils.c /^void move_legend(int gno, VVector shift)$/;" f + move_object objutils.c /^void move_object(int type, int id, VVector shift)$/;" f + move_object_action events.c /^void move_object_action( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + move_timestamp graphutils.c /^void move_timestamp(VVector shift)$/;" f + moveset setutils.c /^int moveset(int gnofrom, int setfrom, int gnoto, int setto)$/;" f + mprops defines.h /^ tickprops mprops;$/;" m struct: + mrc compwin.c /^ Widget mrc;$/;" m struct:_Histo_ui file: + mrc compwin.c /^ Widget mrc;$/;" m struct:_Interp_ui file: + msleep_wrap utils.c /^void msleep_wrap(unsigned int msec)$/;" f + mstart compwin.c /^ Widget mstart;$/;" m struct:_Histo_ui file: + mstart compwin.c /^ Widget mstart;$/;" m struct:_Interp_ui file: + mstop compwin.c /^ Widget mstop;$/;" m struct:_Histo_ui file: + mstop compwin.c /^ Widget mstop;$/;" m struct:_Interp_ui file: + mute_linear_regression featext.c /^int mute_linear_regression(int n, double *x, double *y, double *slope, $/;" f + mw editpwin.c /^ Widget mw;$/;" m struct:_EditPoints file: + mw setwin.c /^ Widget mw;$/;" m struct:_Leval_ui file: + mw setwin.c /^ Widget mw;$/;" m struct:_Type_ui file: + my_proc events.c /^void my_proc(Widget parent, XtPointer data, XEvent *event)$/;" f + mybasename utils.c /^char *mybasename(const char *s)$/;" f + mytrunc utils.c /^double mytrunc(double a)$/;" f + n defines.h /^ int n; \/* number of points if type is POLY *\/$/;" m struct: + nactive graphs.c /^int nactive(int gno)$/;" f + name defines.h /^ char *name; \/* name of the input (filename or symbolic name) *\/$/;" m struct:_Input_buffer + name device.h /^ char *name; \/* name of device *\/$/;" m struct: + name f2c.h /^ char *name;$/;" m struct:Namelist + name f2c.h /^ char *name;$/;" m struct:Vardesc + naxis pars.c /^int naxis = 0; \/* current axis *\/$/;" v + nb_rt files.c /^int nb_rt = 0; \/* number of real time file descriptors *\/$/;" v + nchoices motifinc.h /^ int nchoices;$/;" m struct: + ncolor_option_items motifutils.c /^static int ncolor_option_items = 0;$/;" v file: + ncolor_selectors motifutils.c /^static int ncolor_selectors = 0;$/;" v file: + ncols motifinc.h /^ int ncols; \/* preferred number of columns *\/$/;" m struct: + ncols motifutils.c /^ int ncols;$/;" m struct: file: + ncols ssdata.h /^ int ncols;$/;" m struct:_ss_data + ncols worldwin.c /^ SpinStructure *ncols;$/;" m struct:_Arrange_ui file: + ndevices device.c /^static unsigned int ndevices = 0;$/;" v file: + need_locale utils.c /^static int need_locale = FALSE;$/;" v file: + neg_julian_cal_to_jul dates.c /^static long neg_julian_cal_to_jul(int y, int m, int d)$/;" f file: + neg_julian_non_leap dates.c /^static int neg_julian_non_leap (int year)$/;" f file: + neg_julian_year_estimate dates.c /^static int neg_julian_year_estimate(long n)$/;" f file: + negate motifinc.h /^ Widget negate;$/;" m struct: + netcdf_file_item fileswin.c /^static Widget netcdf_file_item;$/;" v file: + netcdf_frame fileswin.c /^static Widget netcdf_frame = (Widget) NULL;$/;" v file: + netcdf_listx_item fileswin.c /^static Widget netcdf_listx_item;$/;" v file: + netcdf_listy_item fileswin.c /^static Widget netcdf_listy_item;$/;" v file: + newB_set_proc motifutils.c /^void newB_set_proc(void *data)$/;" f + newE_set_proc motifutils.c /^void newE_set_proc(void *data)$/;" f + newF_set_proc motifutils.c /^void newF_set_proc(void *data)$/;" f + newS_set_proc motifutils.c /^void newS_set_proc(void *data)$/;" f + new_ep editpwin.c /^static EditPoints *new_ep(void)$/;" f file: + new_graph_tickmarks graphs.c /^tickmarks *new_graph_tickmarks(void)$/;" f + new_project files.c /^int new_project(char *template)$/;" f + newworld events.c /^void newworld(int gno, int axes, VPoint vp1, VPoint vp2)$/;" f + next alloca.c /^ union hdr *next; \/* For chaining headers. *\/$/;" m struct:hdr:: file: + next editpwin.c /^ struct _EditPoints *next;$/;" m struct:_EditPoints file: + next missing.c /^ struct pipe_details *next;$/;" m struct:pipe_details file: + next_box objutils.c /^int next_box(void)$/;" f + next_ellipse objutils.c /^int next_ellipse(void)$/;" f + next_graph_containing events.c /^int next_graph_containing(int cg, VPoint vp)$/;" f + next_line objutils.c /^int next_line(void)$/;" f + next_object objutils.c /^int next_object(int type)$/;" f + next_string objutils.c /^int next_string(void)$/;" f + next_token ssdata.c /^static char *next_token(char *s, char **token, int *quoted)$/;" f file: + nextset setutils.c /^int nextset(int gno)$/;" f + nfonts t1fonts.c /^static int nfonts = 0;$/;" v file: + ngraph_select_items motifutils.c /^static int ngraph_select_items = 0;$/;" v file: + ngraph_selectors motifutils.c /^static int ngraph_selectors = 0;$/;" v file: + nicenum graphutils.c /^static double nicenum(double x, int nrange, int round)$/;" f file: + nlfit_gno pars.c /^static int nlfit_gno, nlfit_setno, nlfit_nsteps;$/;" v file: + nlfit_nsteps pars.c /^static int nlfit_gno, nlfit_setno, nlfit_nsteps;$/;" v file: + nlfit_setno pars.c /^static int nlfit_gno, nlfit_setno, nlfit_nsteps;$/;" v file: + nlfit_warray pars.c /^static double *nlfit_warray = NULL;$/;" v file: + nminor defines.h /^ int nminor; \/* number of minor ticks per one major division *\/$/;" m struct: + nminor tickwin.c /^static SpinStructure *nminor; \/* # of minor ticks *\/$/;" v file: + noask_item miscwin.c /^static Widget noask_item;$/;" v file: + nonl_autol_item nonlwin.c /^static Widget nonl_autol_item;$/;" v file: + nonl_constr_item nonlwin.c /^static Widget nonl_constr_item[MAXPARM];$/;" v file: + nonl_fload_rc nonlwin.c /^static Widget nonl_fload_rc;$/;" v file: + nonl_formula_item nonlwin.c /^static TextStructure *nonl_formula_item;$/;" v file: + nonl_frame nonlwin.c /^static Widget nonl_frame = NULL;$/;" v file: + nonl_load_item nonlwin.c /^static OptionStructure *nonl_load_item;$/;" v file: + nonl_lowb_item nonlwin.c /^static Widget nonl_lowb_item[MAXPARM];$/;" v file: + nonl_nparm_item nonlwin.c /^static OptionStructure *nonl_nparm_item;$/;" v file: + nonl_npts_item nonlwin.c /^static Widget nonl_npts_item;$/;" v file: + nonl_nsteps_item nonlwin.c /^static SpinStructure *nonl_nsteps_item;$/;" v file: + nonl_opts globals.h /^nonlopts nonl_opts;$/;" v + nonl_parm_item nonlwin.c /^static Widget nonl_parm_item[MAXPARM];$/;" v file: + nonl_parms globals.h /^nonlparms nonl_parms[MAXPARM];$/;" v + nonl_prefs nonlwin.c /^static nonlprefs nonl_prefs = {TRUE, LOAD_VALUES, 10, 0.0, 1.0};$/;" v file: + nonl_set_item nonlwin.c /^static SrcDestStructure *nonl_set_item;$/;" v file: + nonl_start_item nonlwin.c /^static Widget nonl_start_item, nonl_stop_item;$/;" v file: + nonl_stop_item nonlwin.c /^static Widget nonl_start_item, nonl_stop_item;$/;" v file: + nonl_title_item nonlwin.c /^static Widget nonl_title_item;$/;" v file: + nonl_tol_item nonlwin.c /^static Widget nonl_tol_item;$/;" v file: + nonl_uppb_item nonlwin.c /^static Widget nonl_uppb_item[MAXPARM];$/;" v file: + nonl_value_item nonlwin.c /^static Widget nonl_value_item[MAXPARM];$/;" v file: + nonl_weigh_item nonlwin.c /^static OptionStructure *nonl_weigh_item;$/;" v file: + nonl_wf_cb nonlwin.c /^static void nonl_wf_cb(int value, void *data)$/;" f file: + nonl_wfunc_item nonlwin.c /^static Widget nonl_wfunc_item;$/;" v file: + nonlopts defines.h /^} nonlopts;$/;" t + nonlparms defines.h /^} nonlparms;$/;" t + nonlprefs nonlwin.c /^} nonlprefs;$/;" t file: + normal_gc TabP.h /^ GC normal_gc;$/;" m struct:_XmTabPart + normalize compwin.c /^ Widget normalize;$/;" m struct:_Histo_ui file: + now alloca.c /^ long now; \/* Current total stack size. *\/$/;" m struct:stk_stat file: + nplist motifutils.c /^static int nplist = 0;$/;" v file: + npoints nonlwin.c /^ int npoints; \/* # of points to evaluate function at *\/$/;" m struct: file: + npts defines.h /^ int npts; \/* number of points *\/$/;" m struct: + npts setwin.c /^ Widget npts;$/;" m struct:_Leval_ui file: + nrows motifutils.c /^ int nrows;$/;" m struct: file: + nrows ssdata.h /^ int nrows;$/;" m struct:_ss_data + nrows worldwin.c /^ SpinStructure *nrows;$/;" m struct:_Arrange_ui file: + nsavedwidgets motifutils.c /^static int nsavedwidgets = 0;$/;" v file: + nset_selectors motifutils.c /^static int nset_selectors = 0;$/;" v file: + nspec tickwin.c /^static SpinStructure *nspec;$/;" v file: + nticks defines.h /^ int nticks; \/* total number of ticks *\/$/;" m struct: + numIfilt iofilters.c /^int numIfilt=0;$/;" v + numOfilt iofilters.c /^int numOfilt=0;$/;" v + number_of_active_sets setutils.c /^int number_of_active_sets(int gno)$/;" f + number_of_boxes objutils.c /^int number_of_boxes(void)$/;" f + number_of_colors draw.c /^int number_of_colors(void)$/;" f + number_of_devices device.c /^int number_of_devices(void)$/;" f + number_of_ellipses objutils.c /^int number_of_ellipses(void)$/;" f + number_of_fonts t1fonts.c /^int number_of_fonts(void)$/;" f + number_of_graphs graphs.c /^int number_of_graphs(void)$/;" f + number_of_lines objutils.c /^int number_of_lines(void)$/;" f + number_of_linestyles draw.c /^int number_of_linestyles(void)$/;" f + number_of_patterns draw.c /^int number_of_patterns(void)$/;" f + number_of_pdf_builtin_fonts pdfdrv.c /^static int number_of_pdf_builtin_fonts = sizeof(pdf_builtin_fonts)\/sizeof(char *);$/;" v file: + number_of_sets graphs.c /^int number_of_sets(int gno)$/;" f + number_of_strings objutils.c /^int number_of_strings(void)$/;" f + nvars f2c.h /^ int nvars;$/;" m struct:Namelist + oacc f2c.h /^ char *oacc;$/;" m struct: + object_edit_popup strwin.c /^int object_edit_popup(int type, int id)$/;" f + objects_frame strwin.c /^static Widget objects_frame;$/;" v file: + oblnk f2c.h /^ char *oblnk;$/;" m struct: + oc_axes_cb tickwin.c /^void oc_axes_cb( int c, void *data )$/;" f + oc_boxedit_cb strwin.c /^void oc_boxedit_cb( int c, void *data )$/;" f + oc_ellipse_edit_cb strwin.c /^void oc_ellipse_edit_cb( int c, void *data )$/;" f + oc_graph_cb graphappwin.c /^void oc_graph_cb( int a, void *data )$/;" f + oc_int_cb_proc motifutils.c /^static void oc_int_cb_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + oc_line_edit_cb strwin.c /^void oc_line_edit_cb( int c, void *data )$/;" f + oc_plot_cb plotwin.c /^void oc_plot_cb( int a, void *data )$/;" f + oc_setapp_cb setappwin.c /^static int oc_setapp_cb( int c, void *data )$/;" f file: + oc_string_edit_cb strwin.c /^void oc_string_edit_cb( int c, void *data )$/;" f + oerr f2c.h /^{ flag oerr;$/;" m struct: + offset Tab.c 54;" d file: + offset defines.h /^ VPoint offset; \/* offset related to symbol position *\/$/;" m struct: + offsx defines.h /^ double offsx, offsy; \/* offset of axes in viewport coords$/;" m struct: + offsy defines.h /^ double offsx, offsy; \/* offset of axes in viewport coords$/;" m struct: + offx tickwin.c /^static Widget offx; \/* x offset of axis in viewport coords *\/$/;" v file: + offy tickwin.c /^static Widget offy; \/* y offset of axis in viewport coords *\/$/;" v file: + ofilt iofilters.c /^Filter *ifilt, *ofilt;$/;" v + ofm f2c.h /^ char *ofm;$/;" m struct: + ofnm f2c.h /^ char *ofnm;$/;" m struct: + ofnmlen f2c.h /^ ftnlen ofnmlen;$/;" m struct: + olist f2c.h /^} olist;$/;" t + on_item worldwin.c /^ OptionStructure *on_item;$/;" m struct:_Auto_ui file: + on_or_off utils.h 43;" d + open gd.h /^ int open[gdMaxColors];$/;" m struct:gdImageStruct + open_command comwin.c /^void open_command(void *data)$/;" f + open_pipes missing.c /^static struct pipe_details *open_pipes = NULL;$/;" v file: + open_proc fileswin.c /^static int open_proc(char *filename, void *data)$/;" f file: + opt motifutils.c /^ OptionStructure *opt;$/;" m struct: file: + opt motifutils.c /^ SpinStructure *opt;$/;" m struct: file: + opt motifutils.c /^ Widget *opt;$/;" m struct: file: + opt motifutils.c /^ Widget opt;$/;" m struct: file: + options motifinc.h /^ OptionWidgetItem *options;$/;" m struct: + optype_item setwin.c /^ OptionStructure *optype_item;$/;" m struct:_Datasetop_ui file: + optype_item setwin.c /^ OptionStructure *optype_item;$/;" m struct:_Setop_ui file: + order worldwin.c /^ OptionStructure *order;$/;" m struct:_Arrange_ui file: + order_item compwin.c /^ OptionStructure *order_item;$/;" m struct:_Geom_ui file: + orl f2c.h /^ ftnint orl;$/;" m struct: + osta f2c.h /^ char *osta;$/;" m struct: + ounit f2c.h /^ ftnint ounit;$/;" m struct: + output_frame printwin.c /^static Widget output_frame;$/;" v file: + outputset files.c /^void outputset(int gno, int setno, char *fname, char *dformat)$/;" f + overflows alloca.c /^ long overflows; \/* Number of stack overflow ($STKOFEN) calls. *\/$/;" m struct:stk_stat file: + overlay_dialog worldwin.c /^static Widget overlay_dialog = NULL;$/;" v file: + overlay_graphs graphutils.c /^int overlay_graphs(int gsec, int gpri, int type)$/;" f + overline t1fonts.h /^ int overline;$/;" m struct: + p graphs.h /^ plotarr *p; \/* sets go here *\/$/;" m struct: + pack_set_proc motifutils.c /^void pack_set_proc(void *data)$/;" f + packsets setutils.c /^void packsets(int gno)$/;" f + pad_size alloca.c /^ long pad_size; \/* Stack pad size. *\/$/;" m struct:stk_stat file: + page_dpi device.h 146;" d + page_format_item printwin.c /^static OptionStructure *page_format_item;$/;" v file: + page_height device.h 149;" d + page_height_cm device.h 158;" d + page_height_in device.h 152;" d + page_height_mm device.h 155;" d + page_height_pp device.h 161;" d + page_layout xmgrace.c /^static int page_layout = PAGE_FIXED;$/;" v file: + page_orient_item printwin.c /^static OptionStructure *page_orient_item;$/;" v file: + page_orientation psdrv.c /^static int page_orientation;$/;" v file: + page_scale pdfdrv.c /^static unsigned long page_scale;$/;" v file: + page_scale psdrv.c /^static unsigned long page_scale;$/;" v file: + page_scale rstdrv.c /^static unsigned long page_scale;$/;" v file: + page_scalef pdfdrv.c /^static float page_scalef;$/;" v file: + page_scalef psdrv.c /^static float page_scalef;$/;" v file: + page_size_unit_item printwin.c /^static OptionStructure *page_size_unit_item;$/;" v file: + page_width device.h 148;" d + page_width_cm device.h 157;" d + page_width_in device.h 151;" d + page_width_mm device.h 154;" d + page_width_pp device.h 160;" d + page_x_item printwin.c /^static Widget page_x_item;$/;" v file: + page_y_item printwin.c /^static Widget page_y_item;$/;" v file: + paint_color_selector motifutils.c /^void paint_color_selector(OptionStructure *optp)$/;" f + paramfile pars.c /^ paramfile[GR_MAXPATHLEN] = "",$/;" v + parms_to_a nonlfit.c /^void parms_to_a (double *a)$/;" f + parnum defines.h /^ int parnum; \/* # of fit parameters *\/$/;" m struct: + parse_calendar_date dates.c /^static int parse_calendar_date(const char* s,$/;" f file: + parse_date dates.c /^int parse_date(const char* s, Dates_format preferred, int absolute,$/;" f + parse_date_or_number dates.c /^int parse_date_or_number(const char* s, int absolute, double *value)$/;" f + parse_device_options device.c /^int parse_device_options(int dindex, char *options)$/;" f + parse_float dates.c /^int parse_float(const char* s, double *value, const char **after)$/;" f + parse_ss_row ssdata.c /^int parse_ss_row(const char *s, int *nncols, int *nscols, int **formats)$/;" f + parser device.h /^ int (*parser)(char *); \/* function to parse device-specific commands *\/$/;" m struct: + parser pars.c /^static int parser(char *s, int type)$/;" f file: + passwd missing.h /^struct passwd {$/;" s + pat0_bits patterns.h /^static unsigned char pat0_bits[] = {$/;" v + pat10_bits patterns.h /^static unsigned char pat10_bits[] = {$/;" v + pat11_bits patterns.h /^static unsigned char pat11_bits[] = {$/;" v + pat12_bits patterns.h /^static unsigned char pat12_bits[] = {$/;" v + pat13_bits patterns.h /^static unsigned char pat13_bits[] = {$/;" v + pat14_bits patterns.h /^static unsigned char pat14_bits[] = {$/;" v + pat15_bits patterns.h /^static unsigned char pat15_bits[] = {$/;" v + pat16_bits patterns.h /^static unsigned char pat16_bits[] = {$/;" v + pat17_bits patterns.h /^static unsigned char pat17_bits[] = {$/;" v + pat18_bits patterns.h /^static unsigned char pat18_bits[] = {$/;" v + pat19_bits patterns.h /^static unsigned char pat19_bits[] = {$/;" v + pat1_bits patterns.h /^static unsigned char pat1_bits[] = {$/;" v + pat20_bits patterns.h /^static unsigned char pat20_bits[] = {$/;" v + pat21_bits patterns.h /^static unsigned char pat21_bits[] = {$/;" v + pat22_bits patterns.h /^static unsigned char pat22_bits[] = {$/;" v + pat23_bits patterns.h /^static unsigned char pat23_bits[] = {$/;" v + pat24_bits patterns.h /^static unsigned char pat24_bits[] = {$/;" v + pat25_bits patterns.h /^static unsigned char pat25_bits[] = {$/;" v + pat26_bits patterns.h /^static unsigned char pat26_bits[] = {$/;" v + pat27_bits patterns.h /^static unsigned char pat27_bits[] = {$/;" v + pat28_bits patterns.h /^static unsigned char pat28_bits[] = {$/;" v + pat29_bits patterns.h /^static unsigned char pat29_bits[] = {$/;" v + pat2_bits patterns.h /^static unsigned char pat2_bits[] = {$/;" v + pat30_bits patterns.h /^static unsigned char pat30_bits[] = {$/;" v + pat31_bits patterns.h /^static unsigned char pat31_bits[] = {$/;" v + pat3_bits patterns.h /^static unsigned char pat3_bits[] = {$/;" v + pat4_bits patterns.h /^static unsigned char pat4_bits[] = {$/;" v + pat5_bits patterns.h /^static unsigned char pat5_bits[] = {$/;" v + pat6_bits patterns.h /^static unsigned char pat6_bits[] = {$/;" v + pat7_bits patterns.h /^static unsigned char pat7_bits[] = {$/;" v + pat8_bits patterns.h /^static unsigned char pat8_bits[] = {$/;" v + pat9_bits patterns.h /^static unsigned char pat9_bits[] = {$/;" v + pat_bits patterns.h /^static unsigned char *pat_bits[MAXPATTERNS] = {$/;" v + path_translate missing.c /^char *path_translate(const char *path)$/;" f + path_translate missing.h 128;" d + pattern defines.h /^ int pattern;$/;" m struct: + pattern_defined svgdrv.c /^ int *pattern_defined;$/;" m struct: file: + pattern_empty svgdrv.c /^ int *pattern_empty;$/;" m struct: file: + pattern_full svgdrv.c /^ int *pattern_full;$/;" m struct: file: + pattern_option_items motifutils.c /^static BitmapOptionItem *pattern_option_items;$/;" v file: + pclose missing.c /^int pclose(FILE *fp)$/;" f + pcorr as274c.c /^int pcorr(int np, int nrbar, double *d, $/;" f + pdev_rc printwin.c /^static Widget pdev_rc;$/;" v file: + pdf_builtin_font pdfdrv.c /^static int pdf_builtin_font(const char *fname)$/;" f file: + pdf_builtin_fonts pdfdrv.c /^static char *pdf_builtin_fonts[] = $/;" v file: + pdf_color pdfdrv.c /^static int pdf_color;$/;" v file: + pdf_drawarc pdfdrv.c /^void pdf_drawarc(VPoint vp1, VPoint vp2, int a1, int a2)$/;" f + pdf_drawpixel pdfdrv.c /^void pdf_drawpixel(VPoint vp)$/;" f + pdf_drawpolyline pdfdrv.c /^void pdf_drawpolyline(VPoint *vps, int n, int mode)$/;" f + pdf_error_handler pdfdrv.c /^static void pdf_error_handler(PDF *p, int type, const char *msg)$/;" f file: + pdf_fillarc pdfdrv.c /^void pdf_fillarc(VPoint vp1, VPoint vp2, int a1, int a2, int mode)$/;" f + pdf_fillpolygon pdfdrv.c /^void pdf_fillpolygon(VPoint *vps, int nc)$/;" f + pdf_font_ids pdfdrv.c /^static int *pdf_font_ids;$/;" v file: + pdf_gui_setup pdfdrv.c /^void pdf_gui_setup(void)$/;" f + pdf_gui_setup pdfdrv.h 48;" d + pdf_leavegraphics pdfdrv.c /^void pdf_leavegraphics(void)$/;" f + pdf_linecap pdfdrv.c /^static int pdf_linecap;$/;" v file: + pdf_linejoin pdfdrv.c /^static int pdf_linejoin;$/;" v file: + pdf_lines pdfdrv.c /^static int pdf_lines;$/;" v file: + pdf_linew pdfdrv.c /^static double pdf_linew;$/;" v file: + pdf_op_parser pdfdrv.c /^int pdf_op_parser(char *opstring)$/;" f + pdf_pattern pdfdrv.c /^static int pdf_pattern;$/;" v file: + pdf_pattern_ids pdfdrv.c /^static int *pdf_pattern_ids;$/;" v file: + pdf_putpixmap pdfdrv.c /^void pdf_putpixmap(VPoint vp, int width, int height, char *databits, $/;" f + pdf_puttext pdfdrv.c /^void pdf_puttext(VPoint vp, char *s, int len, int font,$/;" f + pdf_setdrawbrush pdfdrv.c /^void pdf_setdrawbrush(void)$/;" f + pdf_setlineprops pdfdrv.c /^void pdf_setlineprops(void)$/;" f + pdf_setpen pdfdrv.c /^void pdf_setpen(const Pen *pen)$/;" f + pdf_setup_compression pdfdrv.c /^static int pdf_setup_compression = 4;$/;" v file: + pdf_setup_compression_item pdfdrv.c /^static SpinStructure *pdf_setup_compression_item;$/;" v file: + pdf_setup_frame pdfdrv.c /^static Widget pdf_setup_frame;$/;" v file: + pdf_setup_pdf1_3 pdfdrv.c /^static int pdf_setup_pdf1_3 = TRUE;$/;" v file: + pdf_setup_pdf1_3_item pdfdrv.c /^static Widget pdf_setup_pdf1_3_item;$/;" v file: + pdf_setup_pdfpattern pdfdrv.c /^static int pdf_setup_pdfpattern = FALSE;$/;" v file: + pdf_setup_pdfpattern_item pdfdrv.c /^static Widget pdf_setup_pdfpattern_item;$/;" v file: + pdfinitgraphics pdfdrv.c /^int pdfinitgraphics(void)$/;" f + pdfinitpatterns pdfdrv.c /^void pdfinitpatterns(void)$/;" f + pdp11 f2c.h 242;" d + pen defines.h /^ Pen pen; \/* frame pen *\/$/;" m struct: + pen defines.h /^ Pen pen; \/* pen *\/$/;" m struct: + pen draw.h /^ Pen pen;$/;" m struct: + pen svgdrv.c /^ Pen pen;$/;" m struct: file: + perimlab regionwin.c /^Widget arealab, perimlab;$/;" v + period_item compwin.c /^ Widget period_item;$/;" m struct:_Seas_ui file: + pg device.h /^ Page_geometry pg; \/* device defaults *\/$/;" m struct: + phandle pdfdrv.c /^static PDF *phandle;$/;" v file: + pi_const mathstuff.c /^extern double pi_const(void)$/;" f + pid missing.c /^ int pid;$/;" m struct:pipe_details file: + pipe_details missing.c /^struct pipe_details$/;" s file: + pixel_size pdfdrv.c /^static float pixel_size;$/;" v file: + pixel_size psdrv.c /^static double pixel_size;$/;" v file: + pixel_size x11drv.c /^static int pixel_size;$/;" v file: + pixels gd.h /^ unsigned char ** pixels;$/;" m struct:gdImageStruct + place_legend_action events.c /^void place_legend_action( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + place_timestamp_action events.c /^void place_timestamp_action( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + please_report_the_bug utils.c /^static void please_report_the_bug(void)$/;" f file: + plist motifutils.c /^static SetChoiceItem *plist = NULL;$/;" v file: + plot_define_notify_proc plotwin.c /^static int plot_define_notify_proc(void *data)$/;" f file: + plot_frame plotwin.c /^static Widget plot_frame;$/;" v file: + plotarr graphs.h /^} plotarr;$/;" t + plotone plotone.c /^void plotone(int gno)$/;" f + plotstr defines.h /^} plotstr;$/;" t + plotwin_iu plotwin.c /^void plotwin_iu(int a, void *data)$/;" f + png_gui_setup rstdrv.c /^void png_gui_setup(void)$/;" f + png_gui_setup rstdrv.h 87;" d + png_op_parser rstdrv.c /^int png_op_parser(char *opstring)$/;" f + png_setup_compression rstdrv.c /^static int png_setup_compression = 4;$/;" v file: + png_setup_compression_item rstdrv.c /^static SpinStructure *png_setup_compression_item;$/;" v file: + png_setup_frame rstdrv.c /^static Widget png_setup_frame;$/;" v file: + png_setup_interlaced rstdrv.c /^static int png_setup_interlaced = FALSE;$/;" v file: + png_setup_interlaced_item rstdrv.c /^static Widget png_setup_interlaced_item;$/;" v file: + png_setup_transparent rstdrv.c /^static int png_setup_transparent = FALSE;$/;" v file: + png_setup_transparent_item rstdrv.c /^static Widget png_setup_transparent_item;$/;" v file: + pnginitgraphics rstdrv.c /^int pnginitgraphics(void)$/;" f + pnm_gui_setup rstdrv.c /^void pnm_gui_setup(void)$/;" f + pnm_gui_setup rstdrv.h 68;" d + pnm_op_parser rstdrv.c /^int pnm_op_parser(char *opstring)$/;" f + pnm_setup_format rstdrv.c /^static int pnm_setup_format = DEFAULT_PNM_FORMAT;$/;" v file: + pnm_setup_format_item rstdrv.c /^static OptionStructure *pnm_setup_format_item;$/;" v file: + pnm_setup_frame rstdrv.c /^static Widget pnm_setup_frame;$/;" v file: + pnm_setup_rawbits rstdrv.c /^static int pnm_setup_rawbits = TRUE;$/;" v file: + pnm_setup_rawbits_item rstdrv.c /^static Widget pnm_setup_rawbits_item;$/;" v file: + pnminitgraphics rstdrv.c /^int pnminitgraphics(void)$/;" f + pointer alloca.c /^typedef char *pointer;$/;" t file: + pointer alloca.c /^typedef void *pointer;$/;" t file: + points_done_proc ptswin.c /^static void points_done_proc(void *data)$/;" f file: + points_frame ptswin.c /^static Widget points_frame;$/;" v file: + points_overlap draw.c /^int points_overlap(VPoint vp1, VPoint vp2)$/;" f + pointset graphs.h /^ int pointset; \/* if (dsx, dsy) have been set *\/$/;" m struct: + polar2xy draw.c /^int polar2xy(double phi, double rho, double *x, double *y)$/;" f + polyAllocated gd.h /^ int polyAllocated;$/;" m struct:gdImageStruct + polyInts gd.h /^ int *polyInts;$/;" m struct:gdImageStruct + polybuf_length draw.c /^static int polybuf_length;$/;" v file: + pop_world graphs.c /^void pop_world(void)$/;" f + popen missing.c /^FILE *popen(char *cmd, char *mode)$/;" f + popen missing.c /^popen(char *cmd, char *mode)$/;" f + popen_completion_ast missing.c /^popen_completion_ast(unsigned long int unused)$/;" f file: + popup motifinc.h /^ Widget popup;$/;" m struct: + popup motifutils.c /^ Widget popup;$/;" m struct: file: + popup_on monwin.c /^static void popup_on(int onoff, void *data)$/;" f file: + popup_only_on_errors monwin.c /^ int popup_only_on_errors;$/;" m struct:_console_ui file: + pos pars.c /^static int pos;$/;" v file: + pos_julian_cal_to_jul dates.c /^static long pos_julian_cal_to_jul(int y, int m, int d)$/;" f file: + pos_julian_non_leap dates.c /^static int pos_julian_non_leap(int year)$/;" f file: + pos_julian_year_estimate dates.c /^static int pos_julian_year_estimate(long n)$/;" f file: + posix_locale_string utils.c /^static char *system_locale_string, *posix_locale_string;$/;" v file: + postprocess_project graphs.c /^void postprocess_project(int version)$/;" f + pr_utdm_v as274c.c /^void pr_utdm_v(double *x, int N, int width, int precision)$/;" f + prec defines.h /^ int prec; \/* precision *\/$/;" m struct: + prestr defines.h /^ char prestr[64]; \/* prepend string *\/$/;" m struct: + print_cmd utils.c /^static char print_cmd[GR_MAXPATHLEN] = GRACE_PRINT_CMD; $/;" v file: + print_file plotone.c /^char print_file[GR_MAXPATHLEN] = "";$/;" v + print_string_item printwin.c /^static Widget print_string_item;$/;" v file: + printfile_item printwin.c /^static Widget printfile_item;$/;" v file: + printto_item printwin.c /^static Widget printto_item;$/;" v file: + private_cmap x11drv.c /^static int private_cmap = FALSE;$/;" v file: + process_complete_lines files.c /^static int process_complete_lines(Input_buffer *ib)$/;" f file: + process_ligatures t1fonts.c /^static void process_ligatures(CompositeString *cs)$/;" f file: + project_description graphs.c /^static char *project_description = NULL;$/;" v file: + project_version graphs.c /^static int project_version;$/;" v file: + props defines.h /^ tickprops props;$/;" m struct: + props_define_notify_proc miscwin.c /^static int props_define_notify_proc(void *data)$/;" f file: + props_frame miscwin.c /^static Widget props_frame;$/;" v file: + prstream plotone.c /^FILE *prstream;$/;" v + prune_xconv computils.c 1125;" d file: + prune_yconv computils.c 1141;" d file: + pruneui compwin.c /^static Prune_ui pruneui;$/;" v file: + ps_color psdrv.c /^static int ps_color;$/;" v file: + ps_drawarc psdrv.c /^void ps_drawarc(VPoint vp1, VPoint vp2, int a1, int a2)$/;" f + ps_drawpixel psdrv.c /^void ps_drawpixel(VPoint vp)$/;" f + ps_drawpolyline psdrv.c /^void ps_drawpolyline(VPoint *vps, int n, int mode)$/;" f + ps_fillarc psdrv.c /^void ps_fillarc(VPoint vp1, VPoint vp2, int a1, int a2, int mode)$/;" f + ps_fillpolygon psdrv.c /^void ps_fillpolygon(VPoint *vps, int nc)$/;" f + ps_grayscale psdrv.c /^static int ps_grayscale = FALSE;$/;" v file: + ps_gui_setup psdrv.c /^void ps_gui_setup(void)$/;" f + ps_gui_setup psdrv.h 66;" d + ps_initgraphics psdrv.c /^static int ps_initgraphics(int format)$/;" f file: + ps_leavegraphics psdrv.c /^void ps_leavegraphics(void)$/;" f + ps_level2 psdrv.c /^static int ps_level2 = TRUE;$/;" v file: + ps_linecap psdrv.c /^static int ps_linecap;$/;" v file: + ps_linejoin psdrv.c /^static int ps_linejoin;$/;" v file: + ps_lines psdrv.c /^static int ps_lines;$/;" v file: + ps_linew psdrv.c /^static double ps_linew;$/;" v file: + ps_op_parser psdrv.c /^int ps_op_parser(char *opstring)$/;" f + ps_pattern psdrv.c /^static int ps_pattern;$/;" v file: + ps_putpixmap psdrv.c /^void ps_putpixmap(VPoint vp, int width, int height, $/;" f + ps_puttext psdrv.c /^void ps_puttext(VPoint vp, char *s, int len, int font,$/;" f + ps_setdrawbrush psdrv.c /^void ps_setdrawbrush(void)$/;" f + ps_setlineprops psdrv.c /^void ps_setlineprops(void)$/;" f + ps_setpen psdrv.c /^void ps_setpen(void)$/;" f + ps_setup_docdata psdrv.c /^static int ps_setup_docdata = DOCDATA_8BIT;$/;" v file: + ps_setup_docdata_item psdrv.c /^static OptionStructure *ps_setup_docdata_item;$/;" v file: + ps_setup_feed psdrv.c /^static int ps_setup_feed = MEDIA_FEED_AUTO;$/;" v file: + ps_setup_feed_item psdrv.c /^static OptionStructure *ps_setup_feed_item;$/;" v file: + ps_setup_frame psdrv.c /^static Widget ps_setup_frame;$/;" v file: + ps_setup_grayscale psdrv.c /^static int ps_setup_grayscale = FALSE;$/;" v file: + ps_setup_grayscale_item psdrv.c /^static Widget ps_setup_grayscale_item;$/;" v file: + ps_setup_hwres psdrv.c /^static int ps_setup_hwres = FALSE;$/;" v file: + ps_setup_hwres_item psdrv.c /^static Widget ps_setup_hwres_item;$/;" v file: + ps_setup_level2 psdrv.c /^static int ps_setup_level2 = TRUE;$/;" v file: + ps_setup_level2_item psdrv.c /^static Widget ps_setup_level2_item;$/;" v file: + ps_setup_offset_x psdrv.c /^static int ps_setup_offset_x = 0;$/;" v file: + ps_setup_offset_x_item psdrv.c /^static SpinStructure *ps_setup_offset_x_item;$/;" v file: + ps_setup_offset_y psdrv.c /^static int ps_setup_offset_y = 0;$/;" v file: + ps_setup_offset_y_item psdrv.c /^static SpinStructure *ps_setup_offset_y_item;$/;" v file: + psetup_frame printwin.c /^static Widget psetup_frame;$/;" v file: + psetup_rc printwin.c /^static Widget psetup_rc;$/;" v file: + psfont_status psdrv.c /^static int *psfont_status = NULL;$/;" v file: + psprintinitgraphics psdrv.c /^int psprintinitgraphics(void)$/;" f + psync_item printwin.c /^static Widget dsync_item, psync_item;$/;" v file: + pt_type graphs.h /^ int pt_type; \/* type of locator display *\/$/;" m struct: + ptofile device.c /^static int ptofile = FALSE;$/;" v file: + ptype defines.h /^ PlacementType ptype; \/* placement type *\/$/;" m struct: + pulldown motifinc.h /^ Widget pulldown;$/;" m struct: + purge_dense_points draw.c /^static void purge_dense_points(const VPoint *vps, int n, VPoint *pvps, int *np)$/;" f file: + push_and_zoom events.c /^void push_and_zoom(void)$/;" f + push_world graphs.c /^void push_world(void)$/;" f + pushset setutils.c /^int pushset(int gno, int setno, int push_type)$/;" f + put_fitparms params.c /^void put_fitparms(FILE * pp, int embed)$/;" f + put_objects params.c /^static void put_objects(int gno, FILE * pp, int embed)$/;" f file: + put_regions params.c /^static void put_regions(FILE * pp, int embed)$/;" f file: + put_string psdrv.c /^static void put_string(FILE *fp, char *s, int len)$/;" f file: + putdvec as274c.c /^void putdvec(const char *s, double *x, int l, int h)$/;" f + putlegends plotone.c /^void putlegends(int gno, VPoint vp, double ldist, double sdist, double yskip)$/;" f + putparms params.c /^void putparms(int gno, FILE *pp, int embed)$/;" f + pw_age missing.h /^ char *pw_age;$/;" m struct:passwd + pw_comment missing.h /^ char *pw_comment;$/;" m struct:passwd + pw_dir missing.h /^ char *pw_dir;$/;" m struct:passwd + pw_encrypt missing.h /^ int pw_encrypt;$/;" m struct:passwd + pw_gecos missing.h /^ char *pw_gecos;$/;" m struct:passwd + pw_gid missing.h /^ int pw_gid;$/;" m struct:passwd + pw_name missing.h /^ char *pw_name;$/;" m struct:passwd + pw_passwd missing.h /^ char *pw_passwd;$/;" m struct:passwd + pw_salt missing.h /^ short pw_salt;$/;" m struct:passwd + pw_shell missing.h /^ char *pw_shell;$/;" m struct:passwd + pw_uid missing.h /^ int pw_uid;$/;" m struct:passwd + px graphs.h /^ int px, py; \/* locator precision *\/$/;" m struct: + py graphs.h /^ int px, py; \/* locator precision *\/$/;" m struct: + q draw.h /^ double q;$/;" m struct: + qbit_clear f2c.h 53;" d + qbit_set f2c.h 54;" d + qrfac_ lmdif.c /^\/* Subroutine *\/ int qrfac_(integer *m, integer *n, doublereal *a, integer *$/;" f + qrsolv_ lmdif.c /^\/* Subroutine *\/ int qrsolv_(integer *n, doublereal *r__, integer *ldr, $/;" f + r f2c.h /^ real r;$/;" m union:Multitype + r f2c.h /^typedef struct { doublereal r, i; } doublecomplex;$/;" m struct: + r f2c.h /^typedef struct { real r, i; } complex;$/;" m struct: + r_sel motifinc.h /^ OptionStructure *r_sel;$/;" m struct: + ra nonlfit.c /^static char *ra;$/;" v file: + rad_uconst mathstuff.c /^extern double rad_uconst(void)$/;" f + raise TabP.h /^ Dimension raise;$/;" m struct:_XmTabPart + rc motifinc.h /^ Widget rc;$/;" m struct: + rc_filesel printwin.c /^static Widget rc_filesel;$/;" v file: + rdataGUI fileswin.c /^} rdataGUI;$/;" t file: + read_begin files.c /^struct timeval read_begin = {0l, 0l}; \/* used to check too long inputs *\/$/;" v + read_long_line files.c /^static int read_long_line(FILE * fp, char **linebuf, int *buflen)$/;" f file: + read_params_proc fileswin.c /^static int read_params_proc(char *filename, void *data)$/;" f file: + read_real_time_lines files.c /^static int read_real_time_lines(Input_buffer *ib)$/;" f file: + read_sets_proc fileswin.c /^static int read_sets_proc(char *filename, void *data)$/;" f file: + readfile pars.c /^ readfile[GR_MAXPATHLEN] = "";$/;" v + readnetcdf files.c /^int readnetcdf(int gno,$/;" f + readxformat pars.c /^int readxformat;$/;" v + real f2c.h /^typedef float real;$/;" t + real_time_under_monitoring files.c /^int real_time_under_monitoring(void)$/;" f + realloc_boxes objutils.c /^int realloc_boxes(int n)$/;" f + realloc_colors draw.c /^int realloc_colors(int n)$/;" f + realloc_ellipses objutils.c /^int realloc_ellipses(int n)$/;" f + realloc_graph_plots graphs.c /^int realloc_graph_plots(int gno, int n)$/;" f + realloc_graphs graphs.c /^int realloc_graphs(int n)$/;" f + realloc_lines objutils.c /^int realloc_lines(int n)$/;" f + realloc_ss_data ssdata.c /^int realloc_ss_data(ss_data *ssd, int nrows)$/;" f + realloc_strings objutils.c /^int realloc_strings(int n)$/;" f + realloc_vrbl pars.c /^void realloc_vrbl(grarr *vrbl, int len)$/;" f + reason Tab.h /^ int reason;$/;" m struct: + recent_target setutils.c /^static target recent_target = {-1, -1};$/;" v file: + red draw.h /^ double red;$/;" m struct: + red draw.h /^ int red;$/;" m struct: + red gd.h /^ int red[gdMaxColors];$/;" m struct:gdImageStruct + reduced_year dates.c /^static int reduced_year(int y)$/;" f file: + ref_date dates.c /^static double ref_date = 0.0;$/;" v file: + refresh_cb helpwin.c /^static void refresh_cb(void *data)$/;" f file: + refresh_hotlink_action events.c /^void refresh_hotlink_action( Widget w, XKeyEvent *e, String *p, Cardinal *c )$/;" f + regcf as274c.c /^int regcf(int np, int nrbar, double *d, double *rbar,$/;" f + region defines.h /^} region;$/;" t + region_item compwin.c /^ OptionStructure *region_item;$/;" m struct:_Reg_ui file: + region_item compwin.c /^ OptionStructure *region_item;$/;" m struct:_Run_ui file: + region_item compwin.c /^ Widget *region_item;$/;" m struct:_Diff_ui file: + region_item compwin.c /^ Widget *region_item;$/;" m struct:_Digf_ui file: + region_item compwin.c /^ Widget *region_item;$/;" m struct:_Geom_ui file: + region_item compwin.c /^ Widget *region_item;$/;" m struct:_Int_ui file: + region_item compwin.c /^ Widget *region_item;$/;" m struct:_Lconv_ui file: + region_item compwin.c /^ Widget *region_item;$/;" m struct:_Samp_ui file: + region_item compwin.c /^ Widget *region_item;$/;" m struct:_Seas_ui file: + region_pts events.c /^static int region_pts = 0;$/;" v file: + region_types regionutils.c /^char *region_types(int it, int which)$/;" f + region_wps events.c /^static WPoint region_wps[MAX_POLY_POINTS];$/;" v file: + regiontype regionutils.c /^int regiontype = 0;$/;" v + register_device device.c /^int register_device(Device_entry device)$/;" f + register_dummy_drv dummydrv.c /^int register_dummy_drv(void)$/;" f + register_eps_drv psdrv.c /^int register_eps_drv(void)$/;" f + register_jpg_drv rstdrv.c /^int register_jpg_drv(void)$/;" f + register_mf_drv mfdrv.c /^int register_mf_drv(void)$/;" f + register_mif_drv mifdrv.c /^int register_mif_drv(void)$/;" f + register_pdf_drv pdfdrv.c /^int register_pdf_drv(void)$/;" f + register_png_drv rstdrv.c /^int register_png_drv(void)$/;" f + register_pnm_drv rstdrv.c /^int register_pnm_drv(void)$/;" f + register_ps_drv psdrv.c /^int register_ps_drv(void)$/;" f + register_real_time_input files.c /^int register_real_time_input(int fd, const char *name, int reopen)$/;" f + register_svg_drv svgdrv.c /^int register_svg_drv(void)$/;" f + register_x11_drv x11drv.c /^int register_x11_drv(void)$/;" f + regui compwin.c /^static Reg_ui regui;$/;" v file: + reopen defines.h /^ int reopen; \/* non-zero if we should close and reopen *\/$/;" m struct:_Input_buffer + reopen_real_time_input files.c /^static int reopen_real_time_input(Input_buffer *ib)$/;" f file: + reordr as274c.c /^int reordr(int np, int nrbar, int *vorder,$/;" f + replace_com comwin.c /^static void replace_com(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + replay_history comwin.c /^static void replay_history(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + reporton_region regionutils.c /^void reporton_region(int gno, int rno, int type)$/;" f + reporton_region_item regionwin.c /^static OptionStructure *reporton_region_item;$/;" v file: + reporton_type_item regionwin.c /^static OptionStructure *reporton_type_item;$/;" v file: + rereadConfig utils.c /^static void rereadConfig(void)$/;" f file: + rescale_viewport graphutils.c /^void rescale_viewport(double ext_x, double ext_y)$/;" f + reset_bbox draw.c /^void reset_bbox(int type)$/;" f + reset_bboxes draw.c /^void reset_bboxes(void)$/;" f + reset_crosshair xutil.c /^void reset_crosshair(void)$/;" f + reset_geom_proc compwin.c /^static void reset_geom_proc(Widget w, XtPointer client_data, XtPointer call_data)$/;" f file: + reset_nonl nonlfit.c /^void reset_nonl(void)$/;" f + reset_nonl_frame_cb nonlwin.c /^static void reset_nonl_frame_cb(void *data)$/;" f file: + reset_project_version graphs.c /^void reset_project_version(void)$/;" f + resid_item compwin.c /^ OptionStructure *resid_item;$/;" m struct:_Reg_ui file: + resize_bufpixmap xutil.c /^Pixmap resize_bufpixmap(unsigned int w, unsigned int h)$/;" f + resize_children TabP.h /^ Boolean resize_children;$/;" m struct:_XmTabPart + resources Tab.c /^static XtResource resources[]={$/;" v file: + resources xmgrace.c /^static XtResource resources[] =$/;" v file: + restr_item compwin.c /^ RestrictionStructure *restr_item;$/;" m struct:_Eval_ui file: + restr_item nonlwin.c /^static RestrictionStructure *restr_item;$/;" v file: + return_len missing.c /^ int *return_len;$/;" m struct: file: + reverse_set setutils.c /^void reverse_set(int gno, int setno)$/;" f + reverse_string t1fonts.c /^static void reverse_string(char *s, int len)$/;" f file: + reverse_video draw.c /^void reverse_video(void)$/;" f + reversebits utils.c /^unsigned char reversebits(unsigned char inword)$/;" f + revflag draw.c /^static int revflag = FALSE;$/;" v file: + rg globals.h /^region rg[MAXREGION];$/;" v + rgb draw.h /^ RGB rgb;$/;" m struct: + rhist_dialog comwin.c /^static Widget rhist_dialog;$/;" v file: + right_bits bitmaps.h /^static unsigned char right_bits[] = {$/;" v + right_height bitmaps.h 161;" d + right_width bitmaps.h 160;" d + rinvert_item compwin.c /^ Widget rinvert_item;$/;" m struct:_Diff_ui file: + rinvert_item compwin.c /^ Widget rinvert_item;$/;" m struct:_Digf_ui file: + rinvert_item compwin.c /^ Widget rinvert_item;$/;" m struct:_Geom_ui file: + rinvert_item compwin.c /^ Widget rinvert_item;$/;" m struct:_Int_ui file: + rinvert_item compwin.c /^ Widget rinvert_item;$/;" m struct:_Lconv_ui file: + rinvert_item compwin.c /^ Widget rinvert_item;$/;" m struct:_Reg_ui file: + rinvert_item compwin.c /^ Widget rinvert_item;$/;" m struct:_Run_ui file: + rinvert_item compwin.c /^ Widget rinvert_item;$/;" m struct:_Samp_ui file: + rinvert_item compwin.c /^ Widget rinvert_item;$/;" m struct:_Seas_ui file: + riser_lines defines.h /^ int riser_lines; \/* connecting line between error limits line style *\/$/;" m struct: + riser_linew defines.h /^ double riser_linew; \/* connecting line between error limits line width *\/$/;" m struct: + rnorm mathstuff.c /^extern double rnorm(double mean, double sdev)$/;" f + roff worldwin.c /^ SpinStructure *roff;$/;" m struct:_Arrange_ui file: + root x11drv.c /^Window root;$/;" v + rot defines.h /^ int rot;$/;" m struct: + rot_item strwin.c /^ Widget rot_item;$/;" m struct: file: + rotx_item compwin.c /^ Widget rotx_item;$/;" m struct:_Geom_ui file: + roty_item compwin.c /^ Widget roty_item;$/;" m struct:_Geom_ui file: + round_axis_limits graphutils.c /^static void round_axis_limits(double *amin, double *amax, int scale)$/;" f file: + rows setwin.c /^ char *rows[MAX_SET_COLS][6];$/;" m struct:_Type_ui file: + rstImageJpg rstdrv.c /^static void rstImageJpg(gdImagePtr ihandle, FILE *prstream)$/;" f file: + rstImagePng rstdrv.c /^static void rstImagePng(gdImagePtr ihandle, FILE *prstream)$/;" f file: + rstImagePnm rstdrv.c /^static void rstImagePnm(gdImagePtr ihandle, FILE *prstream)$/;" f file: + rst_colors rstdrv.c /^static int rst_colors[MAXCOLORS];$/;" v file: + rst_dash_array_length rstdrv.c /^static int rst_dash_array_length;$/;" v file: + rst_drawarc rstdrv.c /^void rst_drawarc(VPoint vp1, VPoint vp2, int a1, int a2)$/;" f + rst_drawbrush rstdrv.c /^static int rst_drawbrush, rst_fillbrush;$/;" v file: + rst_drawpixel rstdrv.c /^void rst_drawpixel(VPoint vp)$/;" f + rst_drawpolyline rstdrv.c /^void rst_drawpolyline(VPoint *vps, int n, int mode)$/;" f + rst_fillarc rstdrv.c /^void rst_fillarc(VPoint vp1, VPoint vp2, int a1, int a2, int mode)$/;" f + rst_fillbrush rstdrv.c /^static int rst_drawbrush, rst_fillbrush;$/;" v file: + rst_fillpolygon rstdrv.c /^void rst_fillpolygon(VPoint *vps, int nc)$/;" f + rst_initgraphics rstdrv.c /^static int rst_initgraphics(int format)$/;" f file: + rst_leavegraphics rstdrv.c /^void rst_leavegraphics(void)$/;" f + rst_putpixmap rstdrv.c /^void rst_putpixmap(VPoint vp, int width, int height, $/;" f + rst_setdrawbrush rstdrv.c /^void rst_setdrawbrush(void)$/;" f + rst_setfillbrush rstdrv.c /^void rst_setfillbrush(void)$/;" f + rst_updatecmap rstdrv.c /^static void rst_updatecmap(void)$/;" f file: + rstlines rstdrv.c /^static int rstlines, rstlinew;$/;" v file: + rstlinew rstdrv.c /^static int rstlines, rstlinew;$/;" v file: + rstpen rstdrv.c /^static Pen rstpen;$/;" v file: + rui compwin.c /^static Run_ui rui;$/;" v file: + runavg fit.c /^void runavg(double *x, double *y, double *ax, double *ay, int n, int ilen)$/;" f + runmedian fit.c /^void runmedian(double *x, double *y, double *ax, double *ay, int n, int ilen)$/;" f + runminmax fit.c /^void runminmax(double *x, double *y, double *ax, double *ay, int n, int ilen, int type)$/;" f + runstddev fit.c /^void runstddev(double *x, double *y, double *ax, double *ay, int n, int ilen)$/;" f + s defines.h /^ char *s;$/;" m struct: + s graphs.h /^ char **s; \/* pointer to strings *\/$/;" m struct: + s graphs.h /^ char *s; \/* string *\/$/;" m struct: + s parser.h /^ char *s;$/;" m struct: + s t1fonts.h /^ char *s;$/;" m struct: + s_result pars.c /^static double s_result; \/* return value if a scalar expression is scanned*\/$/;" v file: + s_scanner pars.c /^int s_scanner(char *s, double *res)$/;" f + safe_mode_item miscwin.c /^static Widget safe_mode_item;$/;" v file: + sampling compwin.c /^ OptionStructure *sampling;$/;" m struct:_Histo_ui file: + sampling compwin.c /^ OptionStructure *sampling;$/;" m struct:_Interp_ui file: + sampling_cb compwin.c /^static void sampling_cb(int value, void *data)$/;" f file: + sampui compwin.c /^static Samp_ui sampui;$/;" v file: + saveGUI fileswin.c /^} saveGUI;$/;" t file: + save_gui fileswin.c /^static saveGUI save_gui;$/;" v file: + save_proc fileswin.c /^static int save_proc(char *filename, void *data)$/;" f file: + save_project files.c /^int save_project(char *fn)$/;" f + save_set_list motifutils.c /^int save_set_list(SetChoiceItem l)$/;" f + save_wisdom fourier.c /^static void save_wisdom(void){$/;" f file: + savewidget motifutils.c /^void savewidget(Widget w)$/;" f + savewidgets motifutils.c /^static Widget *savewidgets = NULL;$/;" v file: + sb_boxedit_cb strwin.c /^void sb_boxedit_cb( double c, void *data )$/;" f + sb_ellipse_edit_cb strwin.c /^void sb_ellipse_edit_cb( double s, void *data )$/;" f + sb_line_edit_cb strwin.c /^void sb_line_edit_cb( double c, void *data )$/;" f + sb_string_edit_cb strwin.c /^void sb_string_edit_cb( double c, void *data )$/;" f + scale_int_cb_proc motifutils.c /^void scale_int_cb_proc( Widget w, XtPointer client_data, XtPointer call_data)$/;" f + scale_types draw.c /^char *scale_types(int it)$/;" f + scaletypex draw.c /^static int scaletypex;$/;" v file: + scaletypey draw.c /^static int scaletypey;$/;" v file: + scaleval svgdrv.c /^static double scaleval (double val)$/;" f file: + scalex_item compwin.c /^ Widget scalex_item;$/;" m struct:_Geom_ui file: + scaley_item compwin.c /^ Widget scaley_item;$/;" m struct:_Geom_ui file: + scanner pars.c /^int scanner(char *s)$/;" f + screennumber x11drv.c /^int screennumber;$/;" v + scroll_proc graphutils.c /^void scroll_proc(int value)$/;" f + scrollinout_proc graphutils.c /^void scrollinout_proc(int value)$/;" f + scrollper_item miscwin.c /^static Widget scrollper_item;$/;" v file: + search_tab Tab.c /^static Widget search_tab(XmTabWidget wid, XEvent *event) $/;" f file: + seasonaldiff computils.c /^static void seasonaldiff(double *x, double *y,$/;" f file: + segments alloca.c /^ long segments; \/* Current number of stack segments. *\/$/;" m struct:stk_stat file: + sel compwin.c /^ SetChoiceItem sel;$/;" m struct:_Diff_ui file: + sel compwin.c /^ SetChoiceItem sel;$/;" m struct:_Four_ui file: + sel compwin.c /^ SetChoiceItem sel;$/;" m struct:_Geom_ui file: + sel compwin.c /^ SetChoiceItem sel;$/;" m struct:_Int_ui file: + sel compwin.c /^ SetChoiceItem sel;$/;" m struct:_Prune_ui file: + sel compwin.c /^ SetChoiceItem sel;$/;" m struct:_Reg_ui file: + sel compwin.c /^ SetChoiceItem sel;$/;" m struct:_Run_ui file: + sel compwin.c /^ SetChoiceItem sel;$/;" m struct:_Samp_ui file: + sel compwin.c /^ SetChoiceItem sel;$/;" m struct:_Seas_ui file: + sel fileswin.c /^ ListStructure *sel;$/;" m struct: file: + sel setwin.c /^ ListStructure *sel;$/;" m struct:_Datasetop_ui file: + sel setwin.c /^ ListStructure *sel;$/;" m struct:_Type_ui file: + sel worldwin.c /^ SetChoiceItem sel;$/;" m struct:_Auto_ui file: + sel1 compwin.c /^ SetChoiceItem sel1;$/;" m struct:_Cross_ui file: + sel1 compwin.c /^ SetChoiceItem sel1;$/;" m struct:_Digf_ui file: + sel1 compwin.c /^ SetChoiceItem sel1;$/;" m struct:_Lconv_ui file: + sel2 compwin.c /^ SetChoiceItem sel2;$/;" m struct:_Cross_ui file: + sel2 compwin.c /^ SetChoiceItem sel2;$/;" m struct:_Digf_ui file: + sel2 compwin.c /^ SetChoiceItem sel2;$/;" m struct:_Geom_ui file: + sel2 compwin.c /^ SetChoiceItem sel2;$/;" m struct:_Lconv_ui file: + select_device device.c /^int select_device(int dindex)$/;" f + select_graph graphs.c /^int select_graph(int gno)$/;" f + select_line xutil.c /^void select_line(int x1, int y1, int x2, int y2, int erase)$/;" f + select_region xutil.c /^void select_region(int x1, int y1, int x2, int y2, int erase)$/;" f + sendb_item motifinc.h /^ Widget sendb_item;$/;" m struct: + sendb_set_proc motifutils.c /^void sendb_set_proc(void *data)$/;" f + set_action events.c /^void set_action(CanvasAction act)$/;" f + set_actioncb events.c /^void set_actioncb(void *data)$/;" f + set_active_proc tickwin.c /^static void set_active_proc(int onoff, void *data)$/;" f file: + set_axis_proc tickwin.c /^static void set_axis_proc(int value, void *data)$/;" f file: + set_barebones xmgrace.c /^void set_barebones(int onoff)$/;" f + set_blockdata ssdata.c /^void set_blockdata(ss_data *ssd)$/;" f + set_cset_proc setappwin.c /^static void set_cset_proc(int n, int *values, void *data)$/;" f file: + set_curdevice_data device.c /^void set_curdevice_data(void *data)$/;" f + set_curdevice_props device.c /^void set_curdevice_props(Device_entry device)$/;" f + set_cursor xutil.c /^void set_cursor(int c)$/;" f + set_dataset_type setutils.c /^int set_dataset_type(int gno, int setno, int type)$/;" f + set_date_hint dates.c /^void set_date_hint(Dates_format preferred)$/;" f + set_debuglevel utils.c /^void set_debuglevel(int level)$/;" f + set_default_arrow defaults.c /^void set_default_arrow(Arrow *arrowp)$/;" f + set_default_box defaults.c /^void set_default_box(boxtype * b)$/;" f + set_default_ellipse defaults.c /^void set_default_ellipse(ellipsetype * e)$/;" f + set_default_framep defaults.c /^void set_default_framep(framep * f)$/;" f + set_default_graph graphs.c /^void set_default_graph(int gno)$/;" f + set_default_legend defaults.c /^void set_default_legend(int gno, legend * l)$/;" f + set_default_line defaults.c /^void set_default_line(linetype * l)$/;" f + set_default_plotarr defaults.c /^void set_default_plotarr(plotarr * p)$/;" f + set_default_string defaults.c /^void set_default_string(plotstr * s)$/;" f + set_default_ticks defaults.c /^void set_default_ticks(tickmarks *t)$/;" f + set_default_view defaults.c /^void set_default_view(view * v)$/;" f + set_default_world defaults.c /^void set_default_world(world * w)$/;" f + set_device_props device.c /^int set_device_props(int deviceid, Device_entry device)$/;" f + set_dirtystate utils.c /^void set_dirtystate(void)$/;" f + set_docname utils.c /^void set_docname(const char *s)$/;" f + set_draw_mode draw.c /^void set_draw_mode(int mode)$/;" f + set_editor utils.c /^void set_editor(const char *cmd)$/;" f + set_eps_setup_proc psdrv.c /^static int set_eps_setup_proc(void *data)$/;" f file: + set_grace_home utils.c /^void set_grace_home(const char *dir)$/;" f + set_graph_active graphs.c /^int set_graph_active(int gno)$/;" f + set_graph_bargap graphs.c /^int set_graph_bargap(int gno, double bargap)$/;" f + set_graph_box objutils.c /^void set_graph_box(int i, boxtype * b)$/;" f + set_graph_ellipse objutils.c /^void set_graph_ellipse(int i, ellipsetype * e)$/;" f + set_graph_framep graphs.c /^void set_graph_framep(int gno, framep * f)$/;" f + set_graph_hidden graphs.c /^int set_graph_hidden(int gno, int flag)$/;" f + set_graph_labels graphs.c /^void set_graph_labels(int gno, labels *labs)$/;" f + set_graph_legend graphs.c /^void set_graph_legend(int gno, legend *leg)$/;" f + set_graph_legend_active graphs.c /^void set_graph_legend_active(int gno, int flag)$/;" f + set_graph_line objutils.c /^void set_graph_line(int i, linetype * l)$/;" f + set_graph_locator graphs.c /^void set_graph_locator(int gno, GLocator *locator)$/;" f + set_graph_plotarr graphs.c /^void set_graph_plotarr(int gno, int i, plotarr * p)$/;" f + set_graph_selectors motifutils.c /^void set_graph_selectors(int gno)$/;" f + set_graph_stacked graphs.c /^int set_graph_stacked(int gno, int flag)$/;" f + set_graph_string objutils.c /^void set_graph_string(int i, plotstr * s)$/;" f + set_graph_tickmarks graphs.c /^int set_graph_tickmarks(int gno, int a, tickmarks *t)$/;" f + set_graph_type graphs.c /^int set_graph_type(int gno, int gtype)$/;" f + set_graph_viewport graphs.c /^void set_graph_viewport(int gno, view v)$/;" f + set_graph_world graphs.c /^void set_graph_world(int gno, world w)$/;" f + set_graph_xinvert graphs.c /^int set_graph_xinvert(int gno, int flag)$/;" f + set_graph_xscale graphs.c /^int set_graph_xscale(int gno, int scale)$/;" f + set_graph_yinvert graphs.c /^int set_graph_yinvert(int gno, int flag)$/;" f + set_graph_yscale graphs.c /^int set_graph_yscale(int gno, int scale)$/;" f + set_