World: r3wp
[View] discuss view related issues
older newer | first last |
Ammon 23-Mar-2005 [705] | NP |
[unknown: 10] 23-Mar-2005 [706x4] | HA ! |
There it is !! the FormDesigner ... | |
is was searching for that one for a long time... | |
Wasnt there an GUI builder too ? | |
Ammon 23-Mar-2005 [710] | Uhm... There have been a number of them built but none of them have passed Alpha stage if they ever actually hit what could be called Alpha... |
[unknown: 10] 23-Mar-2005 [711x2] | Yes i think that was 3 years ago... |
never heard anything from it again | |
Ammon 23-Mar-2005 [713x3] | http://www.rebol.org/cgi-bin/cgiwrap/rebol/view-script.r?script=layout-1.8.r |
I played a little with a script that Carl wrote to demonstrate how to build a GUI builder but ultimately decided to rebuild my own. | |
I had Bo build me an engine for creating faces for the IDE I'm writing but have since decided to use GLayout as my GUI engine which makes the engine Bo wrote obsolete. | |
[unknown: 10] 23-Mar-2005 [716x2] | Glayout ?? |
Mmmm | |
Ammon 23-Mar-2005 [718] | http://www.rebol.it/~steel/is the homepage for GLayout... |
[unknown: 10] 23-Mar-2005 [719] | aaa Right... yes i know that, but i actualy never used it... |
Ammon 23-Mar-2005 [720] | It is getting better and better as we improve it for use in Anvil... |
[unknown: 10] 23-Mar-2005 [721] | lets have a look again then ;-) |
Ammon 23-Mar-2005 [722] | Scrollpanes are in the middle of getting a revamp which will include an enhancement or two to the layout engine itself but the revamp isn't available yet... |
[unknown: 10] 23-Mar-2005 [723x2] | the complete website has a new layout too ;-) |
ill have a closer look | |
[unknown: 10] 24-Mar-2005 [725x4] | Mmm still no luck on making 1 face transparent when it moves over another face.. |
I tried different thinks but no result on transparentcy with color.. Or its 100% transparent or not ;-) | |
Anyone any hint ? | |
The idea is to have 1 face to be transparent in its own color so the face below it get visable.. | |
Gabriele 24-Mar-2005 [729x2] | you need MERGE in the effects block |
older versions (i.e. 1.2.1) didn't need it | |
[unknown: 10] 24-Mar-2005 [731x5] | merge ? Mmmmm lets investigate that ;-) |
Well im not quiet sure what you mean Gabriele.. | |
Its not as simple as it seems after all.. | |
it must be possible to have 1 face turn into transparentcy when it moves over the other face. Not 100% transparent but lets say 60%... | |
odd ;-) | |
Ammon 24-Mar-2005 [736x2] | Playing with alpha channels requires some skill and experience. ;~> |
Can you give us a quick snippet that demonstrates how you attempting to create the transparency and how the faces are being moved over each other? | |
DideC 24-Mar-2005 [738x6] | What Gabriele mean : |
View layout [box 300x300 help.gif at 40x50 box 200x150 effect [merge colorize 128.128.255]] | |
AFAIK It's not possible to set the transparency amount (alpha) between faces. Maybe, you can approximate transparency with 'gradmul and 'gradcol : | |
View layout [box 300x300 help.gif at 40x50 box 200x150 effect [merge gradmul 1x1 100.100.100 100.100.100]] | |
'gradcol = I mean 'colorize. But may be 'gradcol can help too. Depand what you want to do. | |
View layout [box 300x300 help.gif at 40x50 box 200x150 effect [merge gradcol 1x1 100.100.100 100.100.100 ]] | |
Romano 24-Mar-2005 [744] | i do not know if this is what you need, but exists also an alphamul effect |
[unknown: 10] 24-Mar-2005 [745x8] | DideC... thanks for the Tip.. But thats a 100% undocumented feature!..I cant find it anywhere ..hehe.. |
I think i need to explain it again...Its very simple actualy... | |
I do a a: make face [ ....... color: something text: '"OK" ] and a b: make face [ .... ] | |
Face B moves over Face A.. and Face A has the Word '"OK" ... I like to see the word "OK" Through Face B while im dragging Face B over Face A... Therefor Face B can be transparent in its own color not 100% transparent... | |
With an IMAGE it NO problem... but with 2 faces i simple dont get it working... | |
I thought Its impossible too! .. But thats strange because its that difficult feature... | |
I read something in Carls Blogging that from the AGG project there was a Vote over 4 tupple RGB colors... with the last tupple as alpha bending/ transparentcy option? Or did i not understand it quite well.. | |
I just think its not possible..as DideC mentioned... | |
Ammon 24-Mar-2005 [753] | ;Try this: view layout [ text "Testing..." black white box "drag box" 50x50 effect [merge colorize green] feel [ engage: func [face action event] [ if action = 'down [start: event/offset] if find [over away] action [ face/offset: face/offset + event/offset - start show face ] ] ] ] |
[unknown: 10] 24-Mar-2005 [754] | F*CK!!!! |
older newer | first last |