DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - downloadIndex: ┃ G T ┃
Length: 41797 (0xa345) Types: TextFile Names: »GUI_C«
└─⟦149519bd4⟧ Bits:30000546 8mm tape, Rational 1000, !projects 93-07-13 └─ ⟦124ff5788⟧ »DATA« └─⟦this⟧ └─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11 └─ ⟦129cab021⟧ »DATA« └─⟦this⟧ └─⟦f64eaa120⟧ Bits:30000752 8mm tape, Rational 1000, !projects 93 02 16 └─ ⟦6f12a12be⟧ »DATA« └─⟦this⟧ └─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04 └─ ⟦d65440be7⟧ »DATA« └─⟦this⟧
/* C file generated by XFaceMaker2. * Do not edit directly, and do not remove this comment. */ #include <stdio.h> #include <X11/Intrinsic.h> #include <X11/StringDefs.h> #include <X11/Quarks.h> #include <X11/Shell.h> #include <Xm/Xm.h> #define true True #define false False #undef XtMapWidget(widget) #undef XtUnmapWidget(widget) #define XtMapWidget(widget) XMapWindow(XtDisplay((Widget)(widget)), XtWindow((Widget)(widget))) #define XtUnmapWidget(widget) XUnmapWindow(XtDisplay((Widget)(widget)), XtWindow((Widget)(widget))) #include <Xm/BulletinB.h> #include <Xm/CascadeB.h> #include <Xm/CascadeBG.h> #include <Xm/Form.h> #include <Xm/Frame.h> #include <Xm/Label.h> #include <Xm/LabelG.h> #include <Xm/List.h> #include <Xm/MainW.h> #include <Xm/PushB.h> #include <Xm/PushBG.h> #include <Xm/RowColumn.h> #include <Xm/Separator.h> #include <Xm/SeparatoG.h> #include <Xm/Text.h> #include <Xm/ToggleB.h> #include <Xm/ToggleBG.h> static Widget Z800; static Widget MW1; static Widget MB2; static Widget FilePD3; static Widget Open4; static Widget XmSeparator05; static Widget Quit6; static Widget File7; static Widget ToolsPD8; static Widget Memory9; static Widget Tools10; static Widget BB11; static Widget Frame12; static Widget Form13; static Widget Register_214; static Widget T15; static Widget A16; static Widget Register_317; static Widget T18; static Widget F19; static Widget Register_420; static Widget T21; static Widget B22; static Widget Register_523; static Widget T24; static Widget C25; static Widget Register_626; static Widget T27; static Widget D28; static Widget Register_729; static Widget T30; static Widget E31; static Widget Register_832; static Widget T33; static Widget H34; static Widget Register_935; static Widget T36; static Widget L37; static Widget Frame_238; static Widget Form39; static Widget Register_240; static Widget T41; static Widget AP42; static Widget Register_343; static Widget T44; static Widget FP45; static Widget Register_446; static Widget T47; static Widget BP48; static Widget Register_549; static Widget T50; static Widget CP51; static Widget Register_652; static Widget T53; static Widget DP54; static Widget Register_755; static Widget T56; static Widget EP57; static Widget Register_858; static Widget T59; static Widget HP60; static Widget Register_961; static Widget T62; static Widget LP63; static Widget Frame_364; static Widget Form65; static Widget Register_266; static Widget T67; static Widget IX68; static Widget Register_369; static Widget T70; static Widget IIX71; static Widget Register_472; static Widget T73; static Widget IY74; static Widget Register_575; static Widget T76; static Widget IIY77; static Widget Register_678; static Widget T79; static Widget SP80; static Widget Register_781; static Widget T82; static Widget ISP83; static Widget Register_884; static Widget T85; static Widget PC86; static Widget Register_987; static Widget T88; static Widget Instruction89; static Widget Register_1090; static Widget T91; static Widget I92; static Widget BreakFrame93; static Widget Form94; static Widget Break95; static Widget XmForm296; static Widget Delete_All97; static Widget Add98; static Widget Delete99; static Widget XmText0_2100; static Widget FormList101; static Widget List102; static Widget XmText0103; static Widget XmFrame1104; static Widget XmForm4105; static Widget Reset106; static Widget Go107; static Widget Step108; static Widget Stop109; static Widget FileOpen110; static Widget Form111; static Widget Label112; static Widget XmText0113; static Widget OK114; static Widget Cancel115; static Widget Memory116; static Widget BB117; static Widget Add118; static Widget Delete119; static Widget Delete_All120; static Widget MemoryInput121; static Widget MemoryDump122; static Widget Label123; static Widget FormList124; static Widget MemoryList125; static Widget MemoryDumpAscii126; static Widget Label_2127; extern XrmQuark XtQNone; extern XrmQuark XtQAny; extern XrmQuark XtQFloat; extern XrmQuark XtQWidget; extern XrmQuark XtQCallback; typedef struct { int value; int type; } FaceVariable; extern Widget FaceGetWidget(); extern XtArgVal FaceGetResource(); extern int FaceSetResource(); extern int FaceGetProperty(); extern int FaceSetProperty(); static void FileName_XmText0113_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(XmText0113); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void MemoryInput_MemoryInput121_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(MemoryInput121); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void MemoryDump_MemoryDump122_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(MemoryDump122); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void MemoryDump_MemoryDump122_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(MemoryDump122, call_data); } static void AP_T41_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T41); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void AP_T41_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T41, call_data); } static void BP_T47_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T47); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void BP_T47_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T47, call_data); } static void PC_T85_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T85); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void PC_T85_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T85, call_data); } static void CP_T50_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T50); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void CP_T50_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T50, call_data); } static void DP_T53_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T53); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void DP_T53_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T53, call_data); } static void EP_T56_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T56); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void EP_T56_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T56, call_data); } static void FP_T44_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T44); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void FP_T44_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T44, call_data); } static void HP_T59_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T59); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void HP_T59_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T59, call_data); } static void LP_T62_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T62); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void LP_T62_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T62, call_data); } static void IX_T67_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T67); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void IX_T67_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T67, call_data); } static void Instruction_T88_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T88, call_data); } static void IY_T73_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T73); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void IY_T73_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T73, call_data); } static void SP_T79_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T79); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void SP_T79_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T79, call_data); } static void A_T15_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T15); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void A_T15_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T15, call_data); } static void B_T21_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T21); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void B_T21_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T21, call_data); } static void C_T24_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T24); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void C_T24_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T24, call_data); } static void D_T27_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T27); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void D_T27_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T27, call_data); } static void Message_XmText0103_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(XmText0103, call_data); } static void E_T30_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T30); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void E_T30_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T30, call_data); } static void F_T18_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T18); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void F_T18_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T18, call_data); } static void H_T33_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T33); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void H_T33_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T33, call_data); } static void I_T91_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T91); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void I_T91_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T91, call_data); } static void L_T36_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(T36); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void L_T36_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T36, call_data); } static void Break_XmText0_2100_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(XmText0_2100); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void IIX_T70_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T70, call_data); } static void IIY_T76_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T76, call_data); } static void ISP_T82_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(T82, call_data); } static void MemoryDumpAscii_MemoryDumpAscii126_get(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FaceVariable _r0; FaceVariable _r1; _r0.value = (int) XmTextGetString(MemoryDumpAscii126); _r0.type = XtQString; _r1.value = (int) _r0.value; _r1.type = XtQString; strcpy(call_data, _r1.value); } static void MemoryDumpAscii_MemoryDumpAscii126_set(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { XmTextSetString(MemoryDumpAscii126, call_data); } static void Open4_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FmShowWidget(FileOpen110); } static void Quit6_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { QuitActivate(); } static void Memory9_valueChangedCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { static FaceVariable on; FaceVariable _r0; if(on.value){ FmHideWidget(Memory116); _r0.value = (int) (! on.value); _r0.type = XtQInt; on.value = (int) _r0.value; on.type = _r0.type; } else { FmShowWidget(Memory116); _r0.value = (int) (! on.value); _r0.type = XtQInt; on.value = (int) _r0.value; on.type = _r0.type; } } static void Delete_All97_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { DeleteAllActivate(); } static void Add98_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { AddActivate(); } static void Delete99_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { DeleteActivate(); } static void Reset106_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { ResetActivate(); } static void Go107_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { GoActivate(); } static void Step108_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { StepActivate(); } static void Stop109_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { StopActivate(); } static void XmText0113_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { OpenOkActivate(); } static void OK114_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { OpenOkActivate(); } static void Cancel115_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { FmHideWidget(FileOpen110); } static void Add118_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { MemoryAddActivate(); } static void Delete119_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { MemoryDeleteActivate(); } static void Delete_All120_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { MemoryDeleteAllActivate(); } static void MemoryDump122_valueChangedCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { ValueChangedCallback(); } Widget FmCreateGUI(name, parent, args, num_args) String name; Widget parent; Arg *args; Cardinal num_args; { static char *_data_base[] = { 0 }; Widget ChildrenToManage[13]; Widget SingleChildrenToManage; Widget toplevel, toplevel_widget; Arg arg[100]; int narg; static int actions_added = 0; extern Widget FmToplevel(); parent = 0; FmLoadStringDataBase(parent, _data_base, 0); narg = 0; while(num_args-- > 0){ XtSetArg(arg[narg], args->name, args->value); narg++; args++; } toplevel_widget = Z800 = XtCreateApplicationShell((name ? name : "Z80"), applicationShellWidgetClass, arg, narg); narg = 0; MW1 = XtCreateWidget("MW", xmMainWindowWidgetClass, Z800, arg, narg); narg = 0; MB2 = XmCreateMenuBar(MW1, "MB",arg, narg); narg = 0; FilePD3 = XmCreatePulldownMenu(MB2, "FilePD",arg, narg); narg = 0; Open4 = XtCreateWidget("Open", xmPushButtonWidgetClass, FilePD3, arg, narg); XtAddCallback(Open4, "activateCallback", Open4_activateCallback, NULL); narg = 0; XmSeparator05 = XtCreateWidget("XmSeparator0", xmSeparatorWidgetClass, FilePD3, arg, narg); narg = 0; Quit6 = XtCreateWidget("Quit", xmPushButtonWidgetClass, FilePD3, arg, narg); XtAddCallback(Quit6, "activateCallback", Quit6_activateCallback, NULL); narg = 0; XtSetArg(arg[narg], "subMenuId", FilePD3); narg++; File7 = XtCreateWidget("File", xmCascadeButtonWidgetClass, MB2, arg, narg); narg = 0; ToolsPD8 = XmCreatePulldownMenu(MB2, "ToolsPD",arg, narg); narg = 0; Memory9 = XtCreateWidget("Memory", xmToggleButtonWidgetClass, ToolsPD8, arg, narg); XtAddCallback(Memory9, "valueChangedCallback", Memory9_valueChangedCallback, NULL); narg = 0; XtSetArg(arg[narg], "subMenuId", ToolsPD8); narg++; Tools10 = XtCreateWidget("Tools", xmCascadeButtonWidgetClass, MB2, arg, narg); narg = 0; BB11 = XtCreateWidget("BB", xmBulletinBoardWidgetClass, MW1, arg, narg); narg = 0; Frame12 = XtCreateWidget("Frame", xmFrameWidgetClass, BB11, arg, narg); narg = 0; Form13 = XtCreateWidget("Form", xmFormWidgetClass, Frame12, arg, narg); narg = 0; Register_214 = XtCreateWidget("Register_2", xmFormWidgetClass, Form13, arg, narg); narg = 0; T15 = XtCreateWidget("T", xmTextWidgetClass, Register_214, arg, narg); FmNewAv("A", A_T15_get, A_T15_set, T15); narg = 0; XtSetArg(arg[narg], "bottomWidget", T15); narg++; A16 = XtCreateWidget("A", xmLabelWidgetClass, Register_214, arg, narg); narg = 0; Register_317 = XtCreateWidget("Register_3", xmFormWidgetClass, Form13, arg, narg); narg = 0; T18 = XtCreateWidget("T", xmTextWidgetClass, Register_317, arg, narg); FmNewAv("F", F_T18_get, F_T18_set, T18); narg = 0; XtSetArg(arg[narg], "bottomWidget", T18); narg++; F19 = XtCreateWidget("F", xmLabelWidgetClass, Register_317, arg, narg); narg = 0; Register_420 = XtCreateWidget("Register_4", xmFormWidgetClass, Form13, arg, narg); narg = 0; T21 = XtCreateWidget("T", xmTextWidgetClass, Register_420, arg, narg); FmNewAv("B", B_T21_get, B_T21_set, T21); narg = 0; XtSetArg(arg[narg], "bottomWidget", T21); narg++; B22 = XtCreateWidget("B", xmLabelWidgetClass, Register_420, arg, narg); narg = 0; Register_523 = XtCreateWidget("Register_5", xmFormWidgetClass, Form13, arg, narg); narg = 0; T24 = XtCreateWidget("T", xmTextWidgetClass, Register_523, arg, narg); FmNewAv("C", C_T24_get, C_T24_set, T24); narg = 0; XtSetArg(arg[narg], "bottomWidget", T24); narg++; C25 = XtCreateWidget("C", xmLabelWidgetClass, Register_523, arg, narg); narg = 0; Register_626 = XtCreateWidget("Register_6", xmFormWidgetClass, Form13, arg, narg); narg = 0; T27 = XtCreateWidget("T", xmTextWidgetClass, Register_626, arg, narg); FmNewAv("D", D_T27_get, D_T27_set, T27); narg = 0; XtSetArg(arg[narg], "bottomWidget", T27); narg++; D28 = XtCreateWidget("D", xmLabelWidgetClass, Register_626, arg, narg); narg = 0; Register_729 = XtCreateWidget("Register_7", xmFormWidgetClass, Form13, arg, narg); narg = 0; T30 = XtCreateWidget("T", xmTextWidgetClass, Register_729, arg, narg); FmNewAv("E", E_T30_get, E_T30_set, T30); narg = 0; XtSetArg(arg[narg], "bottomWidget", T30); narg++; E31 = XtCreateWidget("E", xmLabelWidgetClass, Register_729, arg, narg); narg = 0; Register_832 = XtCreateWidget("Register_8", xmFormWidgetClass, Form13, arg, narg); narg = 0; T33 = XtCreateWidget("T", xmTextWidgetClass, Register_832, arg, narg); FmNewAv("H", H_T33_get, H_T33_set, T33); narg = 0; XtSetArg(arg[narg], "bottomWidget", T33); narg++; H34 = XtCreateWidget("H", xmLabelWidgetClass, Register_832, arg, narg); narg = 0; Register_935 = XtCreateWidget("Register_9", xmFormWidgetClass, Form13, arg, narg); narg = 0; T36 = XtCreateWidget("T", xmTextWidgetClass, Register_935, arg, narg); FmNewAv("L", L_T36_get, L_T36_set, T36); narg = 0; XtSetArg(arg[narg], "bottomWidget", T36); narg++; L37 = XtCreateWidget("L", xmLabelWidgetClass, Register_935, arg, narg); narg = 0; Frame_238 = XtCreateWidget("Frame_2", xmFrameWidgetClass, BB11, arg, narg); narg = 0; Form39 = XtCreateWidget("Form", xmFormWidgetClass, Frame_238, arg, narg); narg = 0; Register_240 = XtCreateWidget("Register_2", xmFormWidgetClass, Form39, arg, narg); narg = 0; T41 = XtCreateWidget("T", xmTextWidgetClass, Register_240, arg, narg); FmNewAv("AP", AP_T41_get, AP_T41_set, T41); narg = 0; XtSetArg(arg[narg], "bottomWidget", T41); narg++; AP42 = XtCreateWidget("AP", xmLabelWidgetClass, Register_240, arg, narg); narg = 0; Register_343 = XtCreateWidget("Register_3", xmFormWidgetClass, Form39, arg, narg); narg = 0; T44 = XtCreateWidget("T", xmTextWidgetClass, Register_343, arg, narg); FmNewAv("FP", FP_T44_get, FP_T44_set, T44); narg = 0; XtSetArg(arg[narg], "bottomWidget", T44); narg++; FP45 = XtCreateWidget("FP", xmLabelWidgetClass, Register_343, arg, narg); narg = 0; Register_446 = XtCreateWidget("Register_4", xmFormWidgetClass, Form39, arg, narg); narg = 0; T47 = XtCreateWidget("T", xmTextWidgetClass, Register_446, arg, narg); FmNewAv("BP", BP_T47_get, BP_T47_set, T47); narg = 0; XtSetArg(arg[narg], "bottomWidget", T47); narg++; BP48 = XtCreateWidget("BP", xmLabelWidgetClass, Register_446, arg, narg); narg = 0; Register_549 = XtCreateWidget("Register_5", xmFormWidgetClass, Form39, arg, narg); narg = 0; T50 = XtCreateWidget("T", xmTextWidgetClass, Register_549, arg, narg); FmNewAv("CP", CP_T50_get, CP_T50_set, T50); narg = 0; XtSetArg(arg[narg], "bottomWidget", T50); narg++; CP51 = XtCreateWidget("CP", xmLabelWidgetClass, Register_549, arg, narg); narg = 0; Register_652 = XtCreateWidget("Register_6", xmFormWidgetClass, Form39, arg, narg); narg = 0; T53 = XtCreateWidget("T", xmTextWidgetClass, Register_652, arg, narg); FmNewAv("DP", DP_T53_get, DP_T53_set, T53); narg = 0; XtSetArg(arg[narg], "bottomWidget", T53); narg++; DP54 = XtCreateWidget("DP", xmLabelWidgetClass, Register_652, arg, narg); narg = 0; Register_755 = XtCreateWidget("Register_7", xmFormWidgetClass, Form39, arg, narg); narg = 0; T56 = XtCreateWidget("T", xmTextWidgetClass, Register_755, arg, narg); FmNewAv("EP", EP_T56_get, EP_T56_set, T56); narg = 0; XtSetArg(arg[narg], "bottomWidget", T56); narg++; EP57 = XtCreateWidget("EP", xmLabelWidgetClass, Register_755, arg, narg); narg = 0; Register_858 = XtCreateWidget("Register_8", xmFormWidgetClass, Form39, arg, narg); narg = 0; T59 = XtCreateWidget("T", xmTextWidgetClass, Register_858, arg, narg); FmNewAv("HP", HP_T59_get, HP_T59_set, T59); narg = 0; XtSetArg(arg[narg], "bottomWidget", T59); narg++; HP60 = XtCreateWidget("HP", xmLabelWidgetClass, Register_858, arg, narg); narg = 0; Register_961 = XtCreateWidget("Register_9", xmFormWidgetClass, Form39, arg, narg); narg = 0; T62 = XtCreateWidget("T", xmTextWidgetClass, Register_961, arg, narg); FmNewAv("LP", LP_T62_get, LP_T62_set, T62); narg = 0; XtSetArg(arg[narg], "bottomWidget", T62); narg++; LP63 = XtCreateWidget("LP", xmLabelWidgetClass, Register_961, arg, narg); narg = 0; Frame_364 = XtCreateWidget("Frame_3", xmFrameWidgetClass, BB11, arg, narg); narg = 0; Form65 = XtCreateWidget("Form", xmFormWidgetClass, Frame_364, arg, narg); narg = 0; Register_266 = XtCreateWidget("Register_2", xmFormWidgetClass, Form65, arg, narg); narg = 0; T67 = XtCreateWidget("T", xmTextWidgetClass, Register_266, arg, narg); FmNewAv("IX", IX_T67_get, IX_T67_set, T67); narg = 0; XtSetArg(arg[narg], "bottomWidget", T67); narg++; IX68 = XtCreateWidget("IX", xmLabelWidgetClass, Register_266, arg, narg); narg = 0; Register_369 = XtCreateWidget("Register_3", xmFormWidgetClass, Form65, arg, narg); narg = 0; T70 = XtCreateWidget("T", xmTextWidgetClass, Register_369, arg, narg); FmNewAv("IIX", 0, IIX_T70_set, T70); narg = 0; XtSetArg(arg[narg], "bottomWidget", T70); narg++; IIX71 = XtCreateWidget("IIX", xmLabelWidgetClass, Register_369, arg, narg); narg = 0; Register_472 = XtCreateWidget("Register_4", xmFormWidgetClass, Form65, arg, narg); narg = 0; T73 = XtCreateWidget("T", xmTextWidgetClass, Register_472, arg, narg); FmNewAv("IY", IY_T73_get, IY_T73_set, T73); narg = 0; XtSetArg(arg[narg], "bottomWidget", T73); narg++; IY74 = XtCreateWidget("IY", xmLabelWidgetClass, Register_472, arg, narg); narg = 0; Register_575 = XtCreateWidget("Register_5", xmFormWidgetClass, Form65, arg, narg); narg = 0; T76 = XtCreateWidget("T", xmTextWidgetClass, Register_575, arg, narg); FmNewAv("IIY", 0, IIY_T76_set, T76); narg = 0; XtSetArg(arg[narg], "bottomWidget", T76); narg++; IIY77 = XtCreateWidget("IIY", xmLabelWidgetClass, Register_575, arg, narg); narg = 0; Register_678 = XtCreateWidget("Register_6", xmFormWidgetClass, Form65, arg, narg); narg = 0; T79 = XtCreateWidget("T", xmTextWidgetClass, Register_678, arg, narg); FmNewAv("SP", SP_T79_get, SP_T79_set, T79); narg = 0; XtSetArg(arg[narg], "bottomWidget", T79); narg++; SP80 = XtCreateWidget("SP", xmLabelWidgetClass, Register_678, arg, narg); narg = 0; Register_781 = XtCreateWidget("Register_7", xmFormWidgetClass, Form65, arg, narg); narg = 0; T82 = XtCreateWidget("T", xmTextWidgetClass, Register_781, arg, narg); FmNewAv("ISP", 0, ISP_T82_set, T82); narg = 0; XtSetArg(arg[narg], "bottomWidget", T82); narg++; ISP83 = XtCreateWidget("ISP", xmLabelWidgetClass, Register_781, arg, narg); narg = 0; Register_884 = XtCreateWidget("Register_8", xmFormWidgetClass, Form65, arg, narg); narg = 0; T85 = XtCreateWidget("T", xmTextWidgetClass, Register_884, arg, narg); FmNewAv("PC", PC_T85_get, PC_T85_set, T85); narg = 0; XtSetArg(arg[narg], "bottomWidget", T85); narg++; PC86 = XtCreateWidget("PC", xmLabelWidgetClass, Register_884, arg, narg); narg = 0; Register_987 = XtCreateWidget("Register_9", xmFormWidgetClass, Form65, arg, narg); narg = 0; T88 = XtCreateWidget("T", xmTextWidgetClass, Register_987, arg, narg); FmNewAv("Instruction", 0, Instruction_T88_set, T88); narg = 0; XtSetArg(arg[narg], "bottomWidget", T88); narg++; Instruction89 = XtCreateWidget("Instruction", xmLabelWidgetClass, Register_987, arg, narg); narg = 0; Register_1090 = XtCreateWidget("Register_10", xmFormWidgetClass, Form65, arg, narg); narg = 0; T91 = XtCreateWidget("T", xmTextWidgetClass, Register_1090, arg, narg); FmNewAv("I", I_T91_get, I_T91_set, T91); narg = 0; XtSetArg(arg[narg], "bottomWidget", T91); narg++; I92 = XtCreateWidget("I", xmLabelWidgetClass, Register_1090, arg, narg); narg = 0; BreakFrame93 = XtCreateWidget("BreakFrame", xmFrameWidgetClass, BB11, arg, narg); narg = 0; Form94 = XtCreateWidget("Form", xmFormWidgetClass, BreakFrame93, arg, narg); narg = 0; Break95 = XtCreateWidget("Break", xmFormWidgetClass, Form94, arg, narg); narg = 0; XmForm296 = XtCreateWidget("XmForm2", xmFormWidgetClass, Break95, arg, narg); narg = 0; Delete_All97 = XtCreateWidget("Delete All", xmPushButtonWidgetClass, XmForm296, arg, narg); XtAddCallback(Delete_All97, "activateCallback", Delete_All97_activateCallback, NULL); narg = 0; Add98 = XtCreateWidget("Add", xmPushButtonWidgetClass, XmForm296, arg, narg); XtAddCallback(Add98, "activateCallback", Add98_activateCallback, NULL); narg = 0; Delete99 = XtCreateWidget("Delete", xmPushButtonWidgetClass, XmForm296, arg, narg); XtAddCallback(Delete99, "activateCallback", Delete99_activateCallback, NULL); narg = 0; XmText0_2100 = XtCreateWidget("XmText0_2", xmTextWidgetClass, Break95, arg, narg); FmNewAv("Break", Break_XmText0_2100_get, 0, XmText0_2100); narg = 0; FormList101 = XtCreateWidget("FormList", xmFormWidgetClass, Break95, arg, narg); narg = 0; List102 = XtCreateWidget("List", xmListWidgetClass, FormList101, arg, narg); narg = 0; XmText0103 = XtCreateWidget("XmText0", xmTextWidgetClass, BB11, arg, narg); FmNewAv("Message", 0, Message_XmText0103_set, XmText0103); narg = 0; XmFrame1104 = XtCreateWidget("XmFrame1", xmFrameWidgetClass, BB11, arg, narg); narg = 0; XmForm4105 = XtCreateWidget("XmForm4", xmFormWidgetClass, XmFrame1104, arg, narg); narg = 0; Reset106 = XtCreateWidget("Reset", xmPushButtonWidgetClass, XmForm4105, arg, narg); XtAddCallback(Reset106, "activateCallback", Reset106_activateCallback, NULL); narg = 0; Go107 = XtCreateWidget("Go", xmPushButtonWidgetClass, XmForm4105, arg, narg); XtAddCallback(Go107, "activateCallback", Go107_activateCallback, NULL); narg = 0; Step108 = XtCreateWidget("Step", xmPushButtonWidgetClass, XmForm4105, arg, narg); XtAddCallback(Step108, "activateCallback", Step108_activateCallback, NULL); narg = 0; Stop109 = XtCreateWidget("Stop", xmPushButtonWidgetClass, XmForm4105, arg, narg); XtAddCallback(Stop109, "activateCallback", Stop109_activateCallback, NULL); narg = 0; FileOpen110 = XtCreatePopupShell("FileOpen", topLevelShellWidgetClass, Z800, arg, narg); narg = 0; Form111 = XtCreateWidget("Form", xmFormWidgetClass, FileOpen110, arg, narg); narg = 0; Label112 = XtCreateWidget("Label", xmLabelWidgetClass, Form111, arg, narg); narg = 0; XmText0113 = XtCreateWidget("XmText0", xmTextWidgetClass, Form111, arg, narg); XtAddCallback(XmText0113, "activateCallback", XmText0113_activateCallback, NULL); FmNewAv("FileName", FileName_XmText0113_get, 0, XmText0113); narg = 0; OK114 = XtCreateWidget("OK", xmPushButtonWidgetClass, Form111, arg, narg); XtAddCallback(OK114, "activateCallback", OK114_activateCallback, NULL); narg = 0; Cancel115 = XtCreateWidget("Cancel", xmPushButtonWidgetClass, Form111, arg, narg); XtAddCallback(Cancel115, "activateCallback", Cancel115_activateCallback, NULL); narg = 0; Memory116 = XtCreatePopupShell("Memory", topLevelShellWidgetClass, Z800, arg, narg); narg = 0; BB117 = XtCreateWidget("BB", xmBulletinBoardWidgetClass, Memory116, arg, narg); narg = 0; Add118 = XtCreateWidget("Add", xmPushButtonWidgetClass, BB117, arg, narg); XtAddCallback(Add118, "activateCallback", Add118_activateCallback, NULL); narg = 0; Delete119 = XtCreateWidget("Delete", xmPushButtonWidgetClass, BB117, arg, narg); XtAddCallback(Delete119, "activateCallback", Delete119_activateCallback, NULL); narg = 0; Delete_All120 = XtCreateWidget("Delete All", xmPushButtonWidgetClass, BB117, arg, narg); XtAddCallback(Delete_All120, "activateCallback", Delete_All120_activateCallback, NULL); narg = 0; MemoryInput121 = XtCreateWidget("MemoryInput", xmTextWidgetClass, BB117, arg, narg); FmNewAv("MemoryInput", MemoryInput_MemoryInput121_get, 0, MemoryInput121); narg = 0; MemoryDump122 = XtCreateWidget("MemoryDump", xmTextWidgetClass, BB117, arg, narg); XtAddCallback(MemoryDump122, "valueChangedCallback", MemoryDump122_valueChangedCallback, NULL); FmNewAv("MemoryDump", MemoryDump_MemoryDump122_get, MemoryDump_MemoryDump122_set, MemoryDump122); narg = 0; Label123 = XtCreateWidget("Label", xmLabelWidgetClass, BB117, arg, narg); narg = 0; FormList124 = XtCreateWidget("FormList", xmFormWidgetClass, BB117, arg, narg); narg = 0; MemoryList125 = XtCreateWidget("MemoryList", xmListWidgetClass, FormList124, arg, narg); narg = 0; MemoryDumpAscii126 = XtCreateWidget("MemoryDumpAscii", xmTextWidgetClass, BB117, arg, narg); FmNewAv("MemoryDumpAscii", MemoryDumpAscii_MemoryDumpAscii126_get, MemoryDumpAscii_MemoryDumpAscii126_set, MemoryDumpAscii126); narg = 0; Label_2127 = XtCreateWidget("Label_2", xmLabelWidgetClass, BB117, arg, narg); ChildrenToManage[0] = MW1; XtManageChildren(ChildrenToManage, 1); ChildrenToManage[0] = MB2; ChildrenToManage[1] = BB11; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = File7; ChildrenToManage[1] = Tools10; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = Open4; ChildrenToManage[1] = XmSeparator05; ChildrenToManage[2] = Quit6; XtManageChildren(ChildrenToManage, 3); ChildrenToManage[0] = Memory9; XtManageChildren(ChildrenToManage, 1); ChildrenToManage[0] = Frame12; ChildrenToManage[1] = Frame_238; ChildrenToManage[2] = Frame_364; ChildrenToManage[3] = BreakFrame93; ChildrenToManage[4] = XmText0103; ChildrenToManage[5] = XmFrame1104; XtManageChildren(ChildrenToManage, 6); ChildrenToManage[0] = Form13; XtManageChildren(ChildrenToManage, 1); ChildrenToManage[0] = Register_214; ChildrenToManage[1] = Register_317; ChildrenToManage[2] = Register_420; ChildrenToManage[3] = Register_523; ChildrenToManage[4] = Register_626; ChildrenToManage[5] = Register_729; ChildrenToManage[6] = Register_832; ChildrenToManage[7] = Register_935; XtManageChildren(ChildrenToManage, 8); ChildrenToManage[0] = T15; ChildrenToManage[1] = A16; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T18; ChildrenToManage[1] = F19; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T21; ChildrenToManage[1] = B22; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T24; ChildrenToManage[1] = C25; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T27; ChildrenToManage[1] = D28; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T30; ChildrenToManage[1] = E31; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T33; ChildrenToManage[1] = H34; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T36; ChildrenToManage[1] = L37; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = Form39; XtManageChildren(ChildrenToManage, 1); ChildrenToManage[0] = Register_240; ChildrenToManage[1] = Register_343; ChildrenToManage[2] = Register_446; ChildrenToManage[3] = Register_549; ChildrenToManage[4] = Register_652; ChildrenToManage[5] = Register_755; ChildrenToManage[6] = Register_858; ChildrenToManage[7] = Register_961; XtManageChildren(ChildrenToManage, 8); ChildrenToManage[0] = T41; ChildrenToManage[1] = AP42; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T44; ChildrenToManage[1] = FP45; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T47; ChildrenToManage[1] = BP48; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T50; ChildrenToManage[1] = CP51; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T53; ChildrenToManage[1] = DP54; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T56; ChildrenToManage[1] = EP57; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T59; ChildrenToManage[1] = HP60; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T62; ChildrenToManage[1] = LP63; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = Form65; XtManageChildren(ChildrenToManage, 1); ChildrenToManage[0] = Register_266; ChildrenToManage[1] = Register_369; ChildrenToManage[2] = Register_472; ChildrenToManage[3] = Register_575; ChildrenToManage[4] = Register_678; ChildrenToManage[5] = Register_781; ChildrenToManage[6] = Register_884; ChildrenToManage[7] = Register_987; ChildrenToManage[8] = Register_1090; XtManageChildren(ChildrenToManage, 9); ChildrenToManage[0] = T67; ChildrenToManage[1] = IX68; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T70; ChildrenToManage[1] = IIX71; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T73; ChildrenToManage[1] = IY74; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T76; ChildrenToManage[1] = IIY77; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T79; ChildrenToManage[1] = SP80; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T82; ChildrenToManage[1] = ISP83; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T85; ChildrenToManage[1] = PC86; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T88; ChildrenToManage[1] = Instruction89; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = T91; ChildrenToManage[1] = I92; XtManageChildren(ChildrenToManage, 2); ChildrenToManage[0] = Form94; XtManageChildren(ChildrenToManage, 1); ChildrenToManage[0] = Break95; XtManageChildren(ChildrenToManage, 1); ChildrenToManage[0] = XmForm296; ChildrenToManage[1] = XmText0_2100; ChildrenToManage[2] = FormList101; XtManageChildren(ChildrenToManage, 3); ChildrenToManage[0] = Delete_All97; ChildrenToManage[1] = Add98; ChildrenToManage[2] = Delete99; XtManageChildren(ChildrenToManage, 3); ChildrenToManage[0] = List102; XtManageChildren(ChildrenToManage, 1); ChildrenToManage[0] = XmForm4105; XtManageChildren(ChildrenToManage, 1); ChildrenToManage[0] = Reset106; ChildrenToManage[1] = Go107; ChildrenToManage[2] = Step108; ChildrenToManage[3] = Stop109; XtManageChildren(ChildrenToManage, 4); ChildrenToManage[0] = Form111; XtManageChildren(ChildrenToManage, 1); ChildrenToManage[0] = Label112; ChildrenToManage[1] = XmText0113; ChildrenToManage[2] = OK114; ChildrenToManage[3] = Cancel115; XtManageChildren(ChildrenToManage, 4); ChildrenToManage[0] = BB117; XtManageChildren(ChildrenToManage, 1); ChildrenToManage[0] = Add118; ChildrenToManage[1] = Delete119; ChildrenToManage[2] = Delete_All120; ChildrenToManage[3] = MemoryInput121; ChildrenToManage[4] = MemoryDump122; ChildrenToManage[5] = Label123; ChildrenToManage[6] = FormList124; ChildrenToManage[7] = MemoryDumpAscii126; ChildrenToManage[8] = Label_2127; XtManageChildren(ChildrenToManage, 9); ChildrenToManage[0] = MemoryList125; XtManageChildren(ChildrenToManage, 1); XtRealizeWidget(Z800); return(toplevel_widget); }