[BACK]Return to xdeb.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / parse

Diff for /OpenXM_contrib2/asir2000/parse/xdeb.c between version 1.12 and 1.15

version 1.12, 2004/02/29 08:30:31 version 1.15, 2015/08/14 13:51:56
Line 45 
Line 45 
  * 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.14 2015/08/06 10:01:53 fujimoto Exp $
 */  */
 #if defined(VISUAL)  #if defined(VISUAL) || defined(__MINGW32__)
 #if defined(VISUAL_LIB)  #if defined(VISUAL_LIB)
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
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
          */           */

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.15

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>