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

Diff for /OpenXM_contrib2/asir2000/plot/ox_plot_xevent.c between version 1.18 and 1.19

version 1.18, 2002/07/20 02:28:08 version 1.19, 2002/07/29 03:08:16
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/plot/ox_plot_xevent.c,v 1.17 2002/07/12 00:14:40 takayama Exp $   * $OpenXM: OpenXM_contrib2/asir2000/plot/ox_plot_xevent.c,v 1.18 2002/07/20 02:28:08 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 72  XFontStruct *sffs;
Line 72  XFontStruct *sffs;
 #endif  #endif
   
 struct canvas *canvas[MAXCANVAS];  struct canvas *canvas[MAXCANVAS];
   struct canvas *closed_canvas[MAXCANVAS];
 struct canvas *current_can;  struct canvas *current_can;
 #endif /* __DARWIN__ */  #endif /* __DARWIN__ */
   
Line 359  search_active_canvas()
Line 360  search_active_canvas()
         return -1;          return -1;
 }  }
   
   void popup_canvas(index)
   {
           XtPopup(canvas[index]->shell,XtGrabNone);
   }
   
 void destroy_canvas(w,can,calldata)  void destroy_canvas(w,can,calldata)
 Widget w;  Widget w;
Line 367  struct canvas *can;
Line 371  struct canvas *can;
 XtPointer calldata;  XtPointer calldata;
 {  {
         XtPopdown(can->shell);          XtPopdown(can->shell);
         XtDestroyWidget(can->shell);  /*      XtDestroyWidget(can->shell); */
         XFlush(display);          XFlush(display);
         if ( can == current_can ) {          if ( can == current_can ) {
                 reset_busy(can); current_can = 0;                  reset_busy(can); current_can = 0;
         }          }
           if ( closed_canvas[can->index] )
                   XtDestroyWidget(closed_canvas[can->index]->shell);
           closed_canvas[can->index] = can;
         canvas[can->index] = 0;          canvas[can->index] = 0;
 }  }
   

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

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