home *** CD-ROM | disk | FTP | other *** search
-
- image p1 e1.pic
- image p2 e2.pic
- image p3 e3.pic
- image p4 e4.pic
- image p5 e5.pic
- image p6 e6.pic
- image p7 e7.pic
- image p8 e8.pic
- image p9 e9.pic
- image p0 e0.pic
-
- image plus +.pic
- image min -.pic
- image right right.pic
- image try try.pic
-
-
- setstr blitcopy 192
- setstr blitinvertsource 48
- setstr blitinvertdest 80
-
-
- setstr hires 1
-
- if hires = 1
-
- setstr height 400
- setstr width 640
- setstr depth 4
- setstr wtitle "<---- To exit pick this, But first, try some additions"
- setstr title "Use 0..9 (keyboard not keypad) then <return>; Use <- (bs) to correct"
- else
-
- setstr height 400
- setstr width 320
- setstr depth 4
- setstr title "Med res screen"
-
- endif
-
-
- CreateScreen sname width - ! width
- height - ! height
- depth - ! depth
- title "p0" - ! This is the title and the color map to use
- 0 14 ! detail block pens (1,2)
-
- add3 height -100 h
- CreateWindow -
- wname - ! window name
- sname - ! screen name
- 0 - ! origin is 0,100
- 30 -
- width - ! the width
- h - ! the height
- "closewindow menupick gadgetup mousebuttons rawkey mousemove" - ! idcmp flags
- "borderless gimmezerozero WINDOWCLOSE activate smart_refresh" - ! window flags
- "" - ! mygadgets - ! gadgets
- wtitle ! window title
-
-
- ! just some testing stuff
-
-
-
- setstr xx 1
- setstr yy 1!5
-
- refreshgadgets wname
-
-
- strings p1 p2 p3 p4 p5 p6 p7 p8 p9 p0
-
- set y 1
- loop 10
- set x 0
-
- loop 10
- ! delay yy
- add 1 x
- drawimage wname *x 150 100
- endloop
-
- drawimage wname *y 80 100
- add 1 y
-
- endloop
-
- delay 50
-
- fillbox wname 0 0 250 280 0 0 ! clear it out
-
-
- rexx wname xxxport
-
-