version 1.8, 2000/10/24 01:53:53 |
version 1.10, 2000/11/09 01:51:12 |
|
|
* 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.7 2000/10/15 10:58:11 takayama Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/plot/ox_plot_xevent.c,v 1.9 2000/11/07 06:06:40 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 149 XButtonEvent *ev; |
|
Line 149 XButtonEvent *ev; |
|
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 != MODE_INTERACTIVE ) { |
if ( can->mode == MODE_PLOT ) |
if ( can->mode == MODE_PLOT ) |
plot_resize(can,spos,e); |
plot_resize(can,spos,e); |
else |
else |
Line 1120 static void method_is_not_available() { |
|
Line 1120 static void method_is_not_available() { |
|
strcat(m,Printing_methods[PrintingMethod]); |
strcat(m,Printing_methods[PrintingMethod]); |
strcat(m,MSG2); |
strcat(m,MSG2); |
warning(Can,m); |
warning(Can,m); |
|
} |
|
|
|
clear_pixmap(can) |
|
struct canvas *can; |
|
{ |
|
XFillRectangle(display,can->pix,clearGC,0,0,can->width,can->height); |
|
XFlush(display); |
} |
} |