to s设置按钮变量框
setvar mouse mouse,-633,368,0,0,1,0xffffee,0x0,0x0
setvar pid pid,-633,249,300,0,1,0xffffee,0x0,0x0
setvar pc pc,-631,219,15,0,0,0xffffee,0x0,0x0
setvar bg bg,-633,189,15,0,0,0xffffee,0x0,0x0
setvar heading heading,-636,338,360,-360,1,0xffffee,0x0,0x0
setvar alpha alpha,-634,277,1,0,1,0xffffee,0x0,0x0
setvar pattern pattern,-636,307,21,0,1,0xffffee,0x0,0x0
setvar xcor xcor,-522,278,400,-400,1,0xffffee,0x0,0x0
setvar ycor ycor,-524,249,400,-400,1,0xffffee,0x0,0x0
setvar t_x轴 x,-531,219,300,0,1,0xffffee,0x0,0x0
setvar t_y轴 y,-531,187,300,0,1,0xffffee,0x0,0x0
setvar b步长 步长,-439,164,300,0,1,0xffffee,0x0,0x0
setvar x存1 x,-400,364,300,0,1,0xffffee,0x0,0x0
setvar y存1 y,-400,339,300,0,1,0xffffee,0x0,0x0
setvar t_h轴 h,-632,162,300,0,1,0xffffee,0x0,0x0
setvar h存1 h,-400,312,300,0,1,0xffffee,0x0,0x0
setvar x存2 x,-296,364,300,0,1,0xffffee,0x0,0x0
setvar y存2 y,-296,339,300,0,1,0xffffee,0x0,0x0
setvar h存2 h,-296,312,300,0,1,0xffffee,0x0,0x0
setvar x存3 x,-192,364,300,0,1,0xffffee,0x0,0x0
setvar y存3 y,-192,339,300,0,1,0xffffee,0x0,0x0
setvar h存3 h,-192,312,300,0,1,0xffffee,0x0,0x0
setvar x存4 x,-88,364,300,0,1,0xffffee,0x0,0x0
setvar y存4 y,-88,339,300,0,1,0xffffee,0x0,0x0
setvar h存4 h,-88,312,300,0,1,0xffffee,0x0,0x0
setvar x存5 x,16,364,300,0,1,0xffffee,0x0,0x0
setvar y存5 y,16,339,300,0,1,0xffffee,0x0,0x0
setvar h存5 h,16,312,300,0,1,0xffffee,0x0,0x0
setvar t_p偏 偏,-369,255,300,0,1,0xffffee,0x0,0x0
make b步长 25 svar b步长
setbut cmd,刷新,-457,365,54,22,0xffff99,0x0,14 for,t_i,0,100,[svar,mouse,svar,pid,svar,pc,svar,bg,svar,heading,svar,alpha,svar,patten,svar,xcor,svar,ycor,wait,5],
setbut cmd_1,跟鼠标画线,-511,337,108,18,0xffff99,0x0,14 for,t_ii,0,1000,[,if,button,=1,then,[setxy,mousex,mousey],if,button,=2,then,[stop],wait,3],
setbut cmd_2,跟鼠标填充,-511,308,108,20,0xffff99,0x0,14 pu,for,t_i,0,1000,[,if,button,=1,then,[setxy,mousex,mousey,fill],if,button,=2,then,[pd,stop],wait,3],
setbut cmd_4,↓,-396,196,30,27,0xffff99,0x0,14 seth,180+t_p偏,fd,b步长,
setbut cmd_5,置坐标,-496,159,58,17,0xffff99,0x0,14 setxy,t_x轴,t_y轴,svar,xcor,svar,ycor,
setbut cmd_6,→,-369,223,35,24,0xffff99,0x0,14 seth,90+t_p偏,fd,b步长,
setbut cmd_7,←,-428,223,35,23,0xffff99,0x0,14 seth,270+t_p偏,fd,b步长,
setbut cmd_8,↑,-395,250,29,26,0xffff99,0x0,14 seth,0+t_p偏,fd,b步长,
setbut cmd_9,⊙,-396,223,30,22,0xffff99,0x0,14 for,t_ii,0,1000,[,make,t_f,Rc,if,t_f="j,then,[seth,270+t_p偏,fd,b步长],if,t_f="k,then,[seth,180+t_p偏,fd,b步长],if,t_f="l,then,[seth,90+t_p偏,fd,b步长],if,t_f="i,then,[seth,0+t_p偏,fd,b步长],if,t_f="f,then,[pu],if,t_f="q,then,[stop],if,t_f="d,then,[pd],],
setbut cmd_10,存,-407,285,30.95,23,0xffff99,0x0,14 make,x存1,xcor,make,y存1,ycor,make,h存1,heading,svar,x存1,svar,y存1,svar,h存1,
setbut cmd_11,载,-380,285,37,23,0xffff99,0x0,14 make,t_x轴,x存1,make,t_y轴,y存1,make,t_h轴,h存1,svar,t_x轴,svar,t_y轴,svar,t_h轴,make,x中间b,xcor,make,y中间b,ycor,make,h中间b,heading,pu,setxy,x存1,y存1,seth,h存1,wait,6,setxy,x中间b,y中间b,seth,h中间b,pd,
setbut cmd_12,置,-346,285,37,23,0xffff99,0x0,14 setxy,x存1,y存1,seth,h存1,svar,xcor,svar,ycor,
setbut cmd_13,存,-304,285,33,23,0xffff99,0x0,14 make,x存2,xcor,make,y存2,ycor,make,h存2,heading,svar,x存2,svar,y存2,svar,h存2,
setbut cmd_14,载,-276,285,37,23,0xffff99,0x0,14 make,t_x轴,x存2,make,t_y轴,y存2,make,t_h轴,h存2,svar,t_x轴,svar,t_y轴,svar,t_h轴,make,x中间b,xcor,make,y中间b,ycor,make,h中间b,heading,pu,setxy,x存2,y存2,seth,h存2,wait,6,setxy,x中间b,y中间b,seth,h中间b,pd,
setbut cmd_15,置,-242,285,37,23,0xffff99,0x0,14 setxy,x存2,y存2,seth,h存2,svar,xcor,svar,ycor,
setbut cmd_16,存,-201,285,33,23,0xffff99,0x0,14 make,x存3,xcor,make,y存3,ycor,make,h存3,heading,svar,x存3,svar,y存3,svar,h存3,
setbut cmd_17,载,-172,285,37,23,0xffff99,0x0,14 make,t_x轴,x存3,make,t_y轴,y存3,make,t_h轴,h存3,svar,t_x轴,svar,t_y轴,svar,t_h轴,make,x中间b,xcor,make,y中间b,ycor,make,h中间b,heading,pu,setxy,x存3,y存3,seth,h存3,wait,6,setxy,x中间b,y中间b,seth,h中间b,pd,
setbut cmd_18,置,-140,285,37,23,0xffff99,0x0,14 setxy,x存3,y存3,seth,h存3,svar,xcor,svar,ycor,
setbut cmd_19,存,-97,285,33,23,0xffff99,0x0,14 make,x存4,xcor,make,y存4,ycor,make,h存4,heading,svar,x存4,svar,y存4,svar,h存4,
setbut cmd_20,载,-68,285,37,23,0xffff99,0x0,14 make,t_x轴,x存4,make,t_y轴,y存4,make,t_h轴,h存4,svar,t_x轴,svar,t_y轴,svar,t_h轴,make,x中间b,xcor,make,y中间b,ycor,make,h中间b,heading,pu,setxy,x存4,y存4,seth,h存4,wait,6,setxy,x中间b,y中间b,seth,h中间b,pd,
setbut cmd_21,置,-36,285,37,23,0xffff99,0x0,14 setxy,x存4,y存4,seth,h存4,svar,xcor,svar,ycor,
setbut cmd_22,存,7,285,33,23,0xffff99,0x0,14 make,x存5,xcor,make,y存5,ycor,make,h存5,heading,svar,x存5,svar,y存5,svar,h存5,
setbut cmd_23,载,36,285,37,23,0xffff99,0x0,14 make,t_x轴,x存5,make,t_y轴,y存5,make,t_h轴,h存5,svar,t_x轴,svar,t_y轴,svar,t_h轴,make,x中间b,xcor,make,y中间b,ycor,make,h中间b,heading,pu,setxy,x存5,y存5,seth,h存5,wait,6,setxy,x中间b,y中间b,seth,h中间b,pd,
setbut cmd_24,置,68,285,37,23,0xffff99,0x0,14 setxy,x存5,y存5,seth,h存5,svar,xcor,svar,ycor,
setbut cmd_25,方向,-540,158,44,16,0xffff99,0x0,14 seth,t_h轴,
setbut cmd_26,说明,-440,192,44,23,0xffcc00,0x0,14 pr,'pattern填充图案号,pr,'ALPHA透明度,pr,'跟鼠标单机操作右击退出,pr,'⊙ikjl上下左右f抬d落q退,pr,'按钮''载''会落笔,
end