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: ┃ B T ┃
Length: 2867 (0xb33) Types: TextFile Names: »BUTTON_C«
└─⟦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/Form.h> #include <Xm/PushB.h> #include <Xm/PushBG.h> static Widget ApplicationShell00; static Widget XmForm01; static Widget XmPushButton02; 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 XmPushButton02_activateCallback(widget, client_data, call_data) Widget widget; caddr_t client_data; caddr_t call_data; { ActivateCB(); } Widget FmCreateButton(name, parent, args, num_args) String name; Widget parent; Arg *args; Cardinal num_args; { static char *_data_base[] = { 0 }; Widget ChildrenToManage[1]; 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; XtSetArg(arg[narg], "x", 352); narg++; XtSetArg(arg[narg], "y", 336); narg++; XtSetArg(arg[narg], "width", 358); narg++; XtSetArg(arg[narg], "height", 244); narg++; while(num_args-- > 0){ XtSetArg(arg[narg], args->name, args->value); narg++; args++; } toplevel_widget = ApplicationShell00 = XtCreateApplicationShell((name ? name : "ApplicationShell0"), applicationShellWidgetClass, arg, narg); narg = 0; XtSetArg(arg[narg], "x", 0); narg++; XtSetArg(arg[narg], "y", 0); narg++; XtSetArg(arg[narg], "width", 358); narg++; XtSetArg(arg[narg], "height", 244); narg++; XmForm01 = XtCreateWidget("XmForm0", xmFormWidgetClass, ApplicationShell00, arg, narg); narg = 0; XtSetArg(arg[narg], "x", 74); narg++; XtSetArg(arg[narg], "y", 71); narg++; XtSetArg(arg[narg], "width", 213); narg++; XtSetArg(arg[narg], "height", 96); narg++; XmPushButton02 = XtCreateWidget("XmPushButton0", xmPushButtonWidgetClass, XmForm01, arg, narg); XtAddCallback(XmPushButton02, "activateCallback", XmPushButton02_activateCallback, NULL); ChildrenToManage[0] = XmForm01; XtManageChildren(ChildrenToManage, 1); ChildrenToManage[0] = XmPushButton02; XtManageChildren(ChildrenToManage, 1); XtRealizeWidget(ApplicationShell00); return(toplevel_widget); }