version 1.12, 2004/02/29 08:30:31 |
version 1.13, 2004/03/01 05:48:24 |
|
|
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* |
* |
* $OpenXM: OpenXM_contrib2/asir2000/parse/xdeb.c,v 1.11 2003/03/07 06:39:59 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/parse/xdeb.c,v 1.12 2004/02/29 08:30:31 noro Exp $ |
*/ |
*/ |
#if defined(VISUAL) |
#if defined(VISUAL) |
#if defined(VISUAL_LIB) |
#if defined(VISUAL_LIB) |
Line 114 static String fallback[] = { |
|
Line 114 static String fallback[] = { |
|
}; |
}; |
|
|
static void Done(); |
static void Done(); |
|
static void Quit(); |
static void SetSelected(); |
static void SetSelected(); |
static void SetDismiss(); |
static void SetDismiss(); |
|
|
static XtActionsRec actions_table[] = { |
static XtActionsRec actions_table[] = { |
{"done",Done}, |
{"done",Done}, |
|
{"quit",Quit}, |
}; |
}; |
|
|
char debug_cmd[BUFSIZ]; |
char debug_cmd[BUFSIZ]; |
Line 160 static void SetDismiss(Widget w,XtPointer cld,XtPointe |
|
Line 162 static void SetDismiss(Widget w,XtPointer cld,XtPointe |
|
} |
} |
|
|
static Atom wm_delete_window; |
static Atom wm_delete_window; |
static void quit(Widget w, XEvent *ev, String *params,Cardinal *nparams) |
static void Quit(Widget w, XEvent *ev, String *params,Cardinal *nparams) |
{ |
{ |
XBell(XtDisplay(w),0); |
XBell(XtDisplay(w),0); |
} |
} |
Line 201 void init_cmdwin() |
|
Line 203 void init_cmdwin() |
|
n = 0; |
n = 0; |
wm_delete_window = XInternAtom(XtDisplay(toplevel), "WM_DELETE_WINDOW", |
wm_delete_window = XInternAtom(XtDisplay(toplevel), "WM_DELETE_WINDOW", |
False); |
False); |
XtOverrideTranslations(toplevel, |
|
XtParseTranslationTable("<Message>WM_PROTOCOLS: quit()")); |
|
XtSetArg(arg[n],XtNiconName,title); n++; |
XtSetArg(arg[n],XtNiconName,title); n++; |
XtSetArg(arg[n], XtNwidth, 360); n++; |
XtSetArg(arg[n], XtNwidth, 360); n++; |
mainwin = XtCreatePopupShell("shell",topLevelShellWidgetClass, |
mainwin = XtCreatePopupShell("shell",topLevelShellWidgetClass, |
toplevel,arg,n); |
toplevel,arg,n); |
|
XtOverrideTranslations(mainwin, |
|
XtParseTranslationTable("<Message>WM_PROTOCOLS: quit()")); |
/* |
/* |
* Command line |
* Command line |
*/ |
*/ |