#! xbigforth \ automatic generated code \ do not edit also editor also minos also forth component class comp0000 public: glcanvas ptr gl1 glcanvas ptr gl2 glcanvas ptr gl3 button ptr gl2 ( [varstart] ) ( [varend] ) how: : params DF[ 0 ]DF X" No Title" ; class; comp0000 implements ( [methodstart] ) : xy-test ( x y b n -- ) 2drop DOPRESS cr ." in:" .s cr 2drop 2drop ; ( [methodend] ) : widget ( [dumpstart] ) GL[ ]GL ( MINOS ) ^^ CK[ ( x y b n -- ) dup 1 = if ." zx" cr xy-test else 2drop 2drop then ]CK ( MINOS ) $64 $1 *hfil $64 $1 *vfil glcanvas new ^^bind gl1 GL[ ]GL ( MINOS ) ^^ CK[ ( x y b n -- ) dup 1 = if ." xy" cr xy-test else 2drop 2drop then ]CK ( MINOS ) $64 $1 *hfil $64 $1 *vfil glcanvas new ^^bind gl2 #2 vabox new GL[ ]GL ( MINOS ) ^^ CK[ ( x y b n -- ) ." zy" cr 2drop 2drop ]CK ( MINOS ) $64 $1 *hfil $64 $1 *vfil glcanvas new ^^bind gl3 $64 $1 *hfil $64 $1 *vfil glue new #2 vabox new #2 habox new #1 hskips ^^ S[ close ]S ( MINOS ) X" done" button new ^^bind gl2 #1 vabox new vfixbox #2 vabox new ( [dumpend] ) ; class; : main comp0000 open-app event-loop bye ; script? [IF] main [THEN] previous previous previous