[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.31 and 1.33

version 1.31, 2014/05/12 16:54:41 version 1.33, 2015/08/06 10:01:53
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.30 2013/11/05 02:55:03 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/plot/ox_plot_xevent.c,v 1.32 2014/06/27 07:58:29 saito Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 101  int stream;
Line 101  int stream;
 DISPLAY *display;  DISPLAY *display;
 CURSOR normalcur,runningcur,errorcur;  CURSOR normalcur,runningcur,errorcur;
   
 #if defined(VISUAL)  #if defined(VISUAL) || defined(__MINGW32__) || defined(__MINGW64__)
 POINT start_point, end_point;  POINT start_point, end_point;
 SIZE cansize;  SIZE cansize;
 #else  #else
Line 198  void motion(Widget w,struct canvas *can,XMotionEvent *
Line 198  void motion(Widget w,struct canvas *can,XMotionEvent *
 void release(Widget w,struct canvas *can,XButtonEvent *ev)  void release(Widget w,struct canvas *can,XButtonEvent *ev)
 {  {
         POINT e;          POINT e;
   
         switch ( ev->button ) {          switch ( ev->button ) {
                 case Button1:                  case Button1:
                         e.x = ev->x; e.y = ev->y;                          e.x = ev->x; e.y = ev->y;
                         draw_frame0(can->window,spos,e);                          draw_frame0(can->window,spos,e);
                         if ( !busy                          if(!busy
                         && can->mode != modeNO(INTERACTIVE)                          && can->mode != modeNO(INTERACTIVE)
                         && can->mode != modeNO(POLARPLOT)) {                          && can->mode != modeNO(POLARPLOT)) plot_resize(can,spos,e);
                                 if ( can->mode == modeNO(PLOT) )  
                                         plot_resize(can,spos,e);  
                                 else  
                                         ifplot_resize(can,spos,e);  
                         }  
                         break;                          break;
                 default:                  default:
                         break;                          break;

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.33

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