Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: draw question

From: cyphre:seznam:cz at: 25-Oct-2002 18:13

Hi Bruno, aha, then maybe this is what you want to do? ------------code-------------- img: load %palms.jpg view layout [ image img at 50x50 box 100x100 with [ effect: [ merge invert oval key 0.0.0 ] feel: make feel [ click?: false engage: func [f a e][ if find [down] a [ click?: true mouse-pos: e/offset ] if find [up] a [ click?: false ] if find [over away] a [ if click? [ f/offset: f/offset + e/offset - mouse-pos show f ] ] ] ] ] ] ---------------end of code------------------------ regards, Cyphre