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

[REBOL] Re: Oval buttons

From: andy:flyingcat at: 5-Sep-2002 13:04

>>If I specify both edge and oval color >> >>view layout [button 120x120 "test" with [effect: [0x1 oval 0.255.255 ] >>edge: [color: 255.0.0 ] ] ] > >I am not sure if it is what you are asking for, but few latest View >releases changed the way transparency works by default. Try putting >'merge in the beginning of effect block .... > >-pekr-
Hi pekr When I put up an oval button, I get a (for instance) blue round button that looks cut out of a solid white square, in a window with background color gray. What I want is a round blue button that looks cut out of a solid grey square (with no edge), in a window with background color gray. So what I want is basically a round, flat, blue button coming out of the background. But I don't seem to be able to get that. Rebol/view seems to pick a color for the "cutout" area automatically; I can't seem to specify what I want view layout [backcolor 255.255.0 button 120x120 255.255.0 "test" with [effect: [0x1 oval ] edge: [color: 255.240.0] ] ] For instance, is almost there; I get a yellow button, with a black cutout area, with (slightly different) yellow edges, on a window with a background yellow color. If I could control the color of that black cutout area, I'd have what I want. (since I'm using the released version of View/Pro I don't think the new merge words are available to me; and since I need Call, I'm kind of stuck with this version) Andy