r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[View] discuss view related issues

[unknown: 10]
20-Mar-2006
[4566]
But it have to be said once agani once every year ;-) "Rebol Rules" 
;-)
DideC
20-Mar-2006
[4567]
Seems to work OK here.

Are you sure you don't have any special things in your %user.r file?
It's usually a things to check.
[unknown: 10]
20-Mar-2006
[4568x3]
Well now you mentioned it.. I had a look and its stuffed with 'Steel 
configurations.. Let me remove those ;-)
Who created the Images in the document http://www.rebol.com/docs/view-system.html
 ??? I mean the Data-flow images...can the person in question please 
contact me ;-)
Because I wonder if they where made with the draw dialect? If so 
then i would like to know how.. Im unable to immitate that effect...
james_nak
20-Mar-2006
[4571]
I think they were from Carl or his son. Just a guess. Non-rebol.
Maxim
20-Mar-2006
[4572x2]
dideC:  thanks!
steel !!!  wow that's a long time ago!  ;-)
[unknown: 10]
21-Mar-2006
[4574x6]
When does this happen -->
** Script Error: Not enough memory
** Where: wake-event
** Near: show main
>>
?
Im using Layout where im appending panes into layouts.. But i dont 
think thats the problem... The problem is resizing an 'effect to 
negative numbers... like a box from 0x0 500x500 to ->  -50x0 -100x100 
...and only using it in the Engage event... Odd?? anyone an explanation 
perhaps ? This is Linux /rebview from SDk262
>> ? system/stats
SYSTEM/STATS is an integer of value: 6544927


x     3667  6.1  1.2  15192 11684 pts/1    S+   20:48   0:04 rebview 
draw4

x     3668  0.0  0.0   4404   868 pts/1    S+   20:48   0:00 rebview 
draw4

x     3669  0.0  0.0   4404   876 pts/1    S+   20:48   0:00 rebview 
draw4
Sorry !!.. i dont use layouts in this exmaple...onyl 'faces
Anton
21-Mar-2006
[4580]
Sounds like a bug. What is the effect block which shows the error 
?
[unknown: 10]
22-Mar-2006
[4581]
By the way... Is there any news on the Right Text Formatting inside 
Rebol? Will it be in? or is there a special project for RTF ?
Rebolek
22-Mar-2006
[4582]
AFAIK RTF is ready, but I'm afraid we have to wait for R3 :/
[unknown: 10]
22-Mar-2006
[4583]
owww oke.. well yes I have read the concept from Carl in his Blog.. 
So thats probably then also the release that will be inside R3.. 
..oke lets wait..
Rebolek
22-Mar-2006
[4584]
not only concept, but Cyphre has also code ready, only it's not integrated 
in View :/
Pekr
22-Mar-2006
[4585]
I would really like to see that roadmap .... and discuss it here 
- what waits for the new branch, and what goes into 2.x .... VID 
is still incomplete and misses some show-stopper styles like grouping, 
tabs, drop-down is ugly like hell
[unknown: 10]
22-Mar-2006
[4586]
Yes "roadmap"... We are all very currious regarding a roapmap and 
status indicator of all the running projects.. I have asked Carl 
if it would be possible to publish sush an indicator for the public.. 
It seemed a good idea to him...so lets wait and see if that can bring 
us more insight ;-)
Rebolek
22-Mar-2006
[4587]
don't be so inpatient. as Carl said on 3rd March and Gabriele on 
14th March, roadmap is just couple of days away.
[unknown: 10]
22-Mar-2006
[4588]
Im not waiting for anything Im still trying to understand all of 
rebols concepts.. so i enjoy the time being ;-) New releases are 
always a surprice to me..Its like a small gift in a box when that 
happens.. ;-)
Rebolek
22-Mar-2006
[4589]
:)
[unknown: 10]
22-Mar-2006
[4590]
Question regarding 'draw and 'face..

What is adviced .. Im currently creating faces what will later be 
stored as pictures i.e. PNG.. 

No should I start already using an IMAGE and draw on that or create 
faces and draw on that?


Im not sure what is more efficient in relation to flexibilty of creating 
images regarding delete and create of faces inside faces or creating 
/ deleting images from/inside images..
Anton
22-Mar-2006
[4591x2]
What is the application to do ?
(by the way, RTF = *Rich* Text Format)
[unknown: 10]
22-Mar-2006
[4593x2]
yes thanks.. Im a blind Horse on my new keyboard..sorry..
coming back to the question.. In both cases of my program the output 
will always be an image.. so should I start drawing already on an 
image of should i use faces and convert those to an image?
Anton
22-Mar-2006
[4595]
so ... what is the application to do ?
[unknown: 10]
22-Mar-2006
[4596]
oke a small extraction of it... You draw something.. I.e. you draw 
a circle.. (I know do that with a face and a 'draw effect) but when 
i look at the Paint-Program from the Old Draw manual its done directly 
on an image.. That Circle can grow in size and shrink in size or 
even be deleted..can change color... can have overlaps.. anctualy 
think of it as a drawing too with interactive drawings.. (Though 
the output is always an image because the result is saved as an image...No 
framework is saved in rebol code..)
Anton
22-Mar-2006
[4597]
Well, if you want to keep a long DRAW block, you can modify the parameters 
and change/delete commands. Every time the face is refreshed, however, 
that draw block will be executed. This will become slow eventually. 
So once in a while you will want to render the result into an image 
and clear the draw block. This is as simple as  face/image: to-image 
face .
[unknown: 10]
22-Mar-2006
[4598]
thanks anton..I now have to think ;-)
Maxim
22-Mar-2006
[4599]
yes and keep a block to the draw which created it so you can play 
with it later, if you want  (undo, history, etc).
Anton
23-Mar-2006
[4600]
Yes, do you want full history like Photoshop ? (Not that hard to 
do, really, except the styles which need to be created for the user 
interface will be time consuming).
[unknown: 10]
23-Mar-2006
[4601x2]
Mmm well depends..currently I do some delete of the faces ... but 
not xxx steps back..
Ill try the image way... Like the idea ;-)
[unknown: 10]
24-Mar-2006
[4603x2]
Im lost in tuples...
Rooky: how do i get this thing to become a tuple ? -> rejoin [ random 
white "." 64 ]
whatever i try it stays a string..
Henrik
24-Mar-2006
[4605]
what are you trying to do? can't you randomize a tuple directly?
[unknown: 10]
24-Mar-2006
[4606x2]
well i want random collors in my 'draw effect like this ->

 effect: compose [ merge fit draw [  
                        pen randomcolor + alpha blending
                        line-width 4
                        line-pattern 1 5
                        fill-pen randomcolor + alpha blending
                        box 10 10 8
]

but somehow Im unable to do that with compose or reduce...
so i need to rejoin the random color with i.e. the alpha of .64...
Do i need a compose/deep on this perhpas?
Vincent
24-Mar-2006
[4608x2]
0.0.0.64 or random white
you don't need to compose (compose/deep in this case) at each change, 
you can just change the value of 'randomcolor, then show the face. 
draw blocks aren't fully evaluated ("+" does nothing), but words 
gets their values
[unknown: 10]
24-Mar-2006
[4610]
yes thats what I though... but somehow I need to be able to stick 
the colors and the alpha together and that brings me always to a 
string.. instead of a tuple.. so the result is 'none and thus my 
drawing is transparent ;-)
Vincent
24-Mar-2006
[4611]
to-tuple rejoin [ random white "." 64 ]
[unknown: 10]
24-Mar-2006
[4612]
Duh? i tried that already... But I see now... i mixed a .64 and a 
"." 64 with the rejoin.. This would indeed ben very odd if that would 
not have been possible ;-) Thnx...
Anton
24-Mar-2006
[4613]
>> (random white) + 0.0.0.64
== 85.26.216.64
Graham
26-Mar-2006
[4614x2]
how to tell if your app has focus or not ?
I want to sound an audio cue for incoming messages if I don't have 
focus on the chat program