World: r3wp
[View] discuss view related issues
older newer | first last |
[unknown: 10] 25-Mar-2005 [793x2] | do you know if it possible to create transparent 'DRAW faces too ? |
I mean ..using fill-pen in combination with 'merge colorize | |
Ammon 25-Mar-2005 [795] | Yeah, that should work just fine |
[unknown: 10] 25-Mar-2005 [796x2] | I was uable to so far |
Mmm look ;-) | |
Ammon 25-Mar-2005 [798] | Really? Not merging? |
[unknown: 10] 25-Mar-2005 [799] | then I just must be trying harder ;-) |
Ammon 25-Mar-2005 [800] | Example? |
[unknown: 10] 25-Mar-2005 [801x2] | well what is use is ie. effect: [ merge colorize draw [ circle 100x100 90 ]] |
but that merges with the Face background not with the color below using drag& drop | |
Ammon 25-Mar-2005 [803] | Is color: none on the face with DRAW code in it? |
[unknown: 10] 25-Mar-2005 [804] | yes |
Ammon 25-Mar-2005 [805] | Hmm... |
[unknown: 10] 25-Mar-2005 [806x4] | but fill-pen is also there.. |
to fill the figure | |
and that ne need to be transparent | |
BTW... text is transparent... but color not ;-) | |
Ammon 25-Mar-2005 [810] | Hm... NOt much of a Draw expert. Can't seem to make it work either. :-( |
[unknown: 10] 25-Mar-2005 [811x2] | thanks anyway.. Ill keep practising ;-) |
Using 'merge on a GIF image crashed view.. also the beta's crash..is this known ? | |
Graham 26-Mar-2005 [813] | How does one shut down all the events initiated by do-events ( wait [] ) ? |
eFishAnt 26-Mar-2005 [814] | halt ;? |
Graham 26-Mar-2005 [815x2] | yeah ... not really. |
I'm getting a 100% cpu when I do a wait inside a uniserve protocol... so I want to kill all the waits so I can restart the whole process after a period. | |
Volker 26-Mar-2005 [817x4] | one way is to break wait is to throw an error, as long as it is not catched in between. another to use wait with timeout, and "poll" a variable every second or so. |
hmm, that would fail with nested waits.. | |
'halt may be an option, because you can put code in system/options/prompt, and if the console want to draw the next ">>", it restarts the main-loop :) but do not know how stable that is. | |
but do you really need the wait? or could you give the thing you wait for a fresh /awake, and return? | |
Graham 26-Mar-2005 [821x2] | seems to be working without breaking the wait .. no longer a busy wait. Odd. |
Oh, well, can't complain... :) | |
Graham 27-Mar-2005 [823] | what's the facet now for a password field ? Not value, and not text ... |
Volker 27-Mar-2005 [824] | /data |
Graham 27-Mar-2005 [825] | thanks... |
[unknown: 10] 27-Mar-2005 [826x3] | how do I display a GIF image with a transparent background. The GIF image is White and Blue and the background of the image is BLACK. I want to make the BLACK part transparent to its background face it is floating on. (The image is dragged and dropped). Is this possible ?? |
I think im using the wrong GIF format tool.. | |
Ha ..pffff its was PAINT from windows who did it wrong..sorry folks.. | |
DideC 28-Mar-2005 [829x2] | You can make any color of an image tranparent with the KEY effect keyword. |
view layout [space 0 backdrop help.gif image logo.gif effect [key 254.254.254] image logo.gif effect [key 2.2.2]] | |
[unknown: 10] 28-Mar-2005 [831x2] | Yes it worked fine.. the problem was the paint program that confused me ;-) |
Thanks anyway | |
[unknown: 10] 31-Mar-2005 [833x5] | How do I ctach in which 'face I am when using 'Detect for events? |
I have currently this -> | |
and want to detect per face.. Do i need to Name the face perhpas? | |
view layout [ origin 0x0 space 0x0 size 400x400 at 0x0 box 300x300 aqua at 200x100 box 200x300 linen at 0x100 box "In the middle" 400x200 khaki feel [ detect: func [face event] [ if event/type = 'move [ popup/text: event/offset - 0x100 popup/offset: event/offset + 10x0 show popup ] return none ] ] font [ size: 72 ] effect reduce [ 'merge 'colorize 128.64.128 ] popup: box 50x15 font [color: white size: 10 shadow: none ] effect reduce [ 'merge 'colorize 128.64.255 'draw [ pen 0.128.0 box 0x0 49x14 ]] ] | |
Or do i need to create an event per face ? actualy i want to Roam over the main face an select the face i am moving over ta that time...uable to comply currently ;-) | |
[unknown: 10] 1-Apr-2005 [838] | OLDES !!! Thanks for your "Bezier Demo!!!" I was seeking for that ;-) |
DideC 1-Apr-2005 [839] | Does the Bezier demo answer to your question above ? |
Gregg 1-Apr-2005 [840] | Using insert-event-func is probably the way to go. event/face should have what you want. (if you don't already have an answer) |
DideC 1-Apr-2005 [841] | With insert-event-funcs, face and event/face are the window face where the event happens. You have to search yourself what is the face under the cursor. Very boring OMO. |
Gregg 1-Apr-2005 [842] | I thought the face param was the main face and event face was the face getting the actual event, in the case of 'move, etc. |
older newer | first last |