[REBOL] Re: Radial / Irregular Menu Implementation
From: rotenca:telvia:it at: 21-May-2003 14:49
Hi James,
> The only time the
> double-key code becomes expensive is if there are more than about 8
> functions per menu (lots of masks to make..).
Try this for b/w masks:
context [
image: clr: msk: none
layout [
image: image black effect [
draw [
fill-pen white
box 0x0 image/size - 1x1
image msk 0x0 clr
]
key 254
]
]
system/words/invert-key-color: func [
mask
color
][
image/size: mask/size
clr: color
msk: mask
make image! image
]
]
---
Ciao
Romano