1 static char *rcsid = "$Id: TopLevel.c,v 1.1 1992/05/18 21:43:03 tvr Exp $";
6 void TopQuitCB(topaddress, htext, htextobject, parameter)
9 HTextObject_t *htextobject;
12 UiDisplayWarningDialog("Quit Erwise?", NukeErwiseCB);
16 void NukeErwiseCB(button)
21 if (fp = OpenErwiserc("w")) {
25 fprintf(stderr, "Warning: could not save settings to .erwiserc\n");
31 void TopInfoCB(topaddress, htext, htextobject, parameter)
34 HTextObject_t *htextobject;
41 void TopOpenCB(topaddress, htext, htextobject, parameter)
44 HTextObject_t *htextobject;
47 UiDisplaySelectionBox(GetPageCB);
51 void GetPageCB(address)
54 if (FindPage(Pages, address)) {
55 DisplayWarning("Already loaded");
58 AddPage(&Pages, address, (HText_t *) NULL, (Page_t *) NULL);
60 StartLoading(address, address, (char *) NULL);