"*Shields.fromHoriz: Torpedo",
"*Damages.fromHoriz: Shields",
"*Crystals.fromHoriz: Damages",
- "*Deathray.fromHoriz: Damages",
+ "*Deathray.fromHoriz: Crystals",
"*Mayday.fromHoriz: Deathray",
"*Abandon.fromHoriz: Mayday",
// Planet row
/* the command window */
text = XtVaCreateManagedWidget("text", asciiTextWidgetClass, form,
NULL);
-
+ XtVaSetValues(text, XtNeditType,XawtextRead, XtNdisplayCaret,False, NULL);
/* The button panel */
buttons = XtVaCreateManagedWidget("form",
formWidgetClass, form,
if (cp->callback)
XtAddCallback (cp->widget, XtNcallback, cp->callback, NULL);
}
- /* sample text so the widget will be identifiable */
- XtVaSetValues(text, XtNtype, XawAsciiString,
- XtNstring, "Command window", NULL);
- XtVaSetValues(text, XtNeditType, XawtextRead, XtNdisplayCaret, False, NULL);
XtRealizeWidget(toplevel);
XtAppMainLoop(app_context);
/* loop may be interrupted */