version 1.19, 2005/12/21 23:18:16 |
version 1.20, 2006/11/09 03:41:47 |
|
|
* 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/if.c,v 1.18 2005/08/04 04:34:49 noro Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/plot/if.c,v 1.19 2005/12/21 23:18:16 noro Exp $ |
*/ |
*/ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
Line 223 int memory_plot(NODE arg,LIST *bytes) |
|
Line 223 int memory_plot(NODE arg,LIST *bytes) |
|
|
|
int plotover(NODE arg) |
int plotover(NODE arg) |
{ |
{ |
int index; |
int index, org_color; |
P formula; |
P formula; |
struct canvas *can; |
struct canvas *can; |
struct canvas fakecan; |
struct canvas fakecan; |
Line 232 int plotover(NODE arg) |
|
Line 232 int plotover(NODE arg) |
|
index = QTOS((Q)ARG0(arg)); |
index = QTOS((Q)ARG0(arg)); |
formula = (P)ARG1(arg); |
formula = (P)ARG1(arg); |
can = canvas[index]; |
can = canvas[index]; |
|
org_color = can->color; |
if ( !can->window ) |
if ( !can->window ) |
return -1; |
return -1; |
get_vars_recursive((Obj)formula,&vl); |
get_vars_recursive((Obj)formula,&vl); |
Line 254 int plotover(NODE arg) |
|
Line 255 int plotover(NODE arg) |
|
} else |
} else |
ifplotmain(&fakecan); |
ifplotmain(&fakecan); |
copy_to_canvas(&fakecan); |
copy_to_canvas(&fakecan); |
|
can->color = org_color; |
return index; |
return index; |
} |
} |
|
|