World: r3wp
[View] discuss view related issues
older newer | first last |
Rebolek 16-Mar-2006 [4545] | Yes, that works. Great, Anton! |
Maxim 16-Mar-2006 [4546x3] | anton: WRT license, (I had found that one ;-) this only tells you that a pro license is installed... not the components which it enables... |
since components of the pro package have changed from one version to another... its getting a bit tedious to hope everything is properly mapped... | |
and we aren't talking of other obscure packages like dll, link, sdk... for which I have no clue what is enabled. | |
MichaelB 16-Mar-2006 [4549] | I tried to create with the following code a circle with a transparent background and save it. I tried some different versions, but currently I have no glue how to achieve this. The point is I need a file with a circle and a transparent background :-) and I thought I quickly do this with Rebol instead of using a paintprogram. So am I doing something wrong ? It's saving the background from the window and if that is set to 'none then it's black ? view layout [ b: box 22x22 effect [ draw [pen red line-width 2 circle 11x11 10] ] across f: field 200 button "Save" [ file-name: to-file f/text unless find/last file-name ".png" [append file-name ".png"] save/png file-name to-image b ] ] |
DideC 16-Mar-2006 [4550x2] | There is some rebol-XXX? words and one is 'rebol-pro? >> help rebol- Found these words: rebol-command? logic! false rebol-encap? logic! false rebol-link? logic! false rebol-pro? logic! false rebol-view? logic! true to-rebol-file native! Converts a local |
Seems pretty recent (almost 1.2.48, not in 1.2.8) | |
Geomol 16-Mar-2006 [4552] | MichaelB, maybe you wanna something like: i: to-image b repeat n length? i [t: i/:n t/4: 255 - t/1 poke i n t] |
Gabriele 16-Mar-2006 [4553] | i: make image! 22x22 i/alpha: 255 draw i [pen red line-width 2 circle 11x11 10] save/png %test.png i |
Ashley 16-Mar-2006 [4554] | component? might be another one to try. |
Geomol 17-Mar-2006 [4555] | Gabriele, much better than my solution! :-) |
MichaelB 17-Mar-2006 [4556] | Thanks Gabriele, didn't even know that draw is a function which can be used stand-alone. (thanks to Geomol of course as well :-) |
[unknown: 10] 20-Mar-2006 [4557x3] | Im getting all the time the same errors from /view 1.3.2.3.1 anyone kows if thats a known problem? |
** Script Error: Invalid path value: dirty? ** Where: evt-func ** Near: if all [ system/view/focal-face event/type = 'down not within? event/offset win-offset? system/view/focal-... >> >> unview >> system/version == 1.3.2.3.1 | |
It always happens during events with the mouse.. like drag and drop up/down while dragging out of the window etc.. | |
DideC 20-Mar-2006 [4560x2] | Maybe you use custom faces not based on 'VID-face but on 'face object, so there is some "properties" missing in your faces. This code is from the global event handler and handle field/area loose of focus : probe system/view/screen-face/feel/event-funcs |
View set system/view/focal-face to editable face only (field, area). So if you use it for other type of face that did not have 'dirty? property ==> Error! | |
[unknown: 10] 20-Mar-2006 [4562x2] | The exmaples are from the new /view doc ;-) |
But ill fixed it by baking my own... But now i have system crashed useing 'merge as effect... | |
DideC 20-Mar-2006 [4564] | What example? |
[unknown: 10] 20-Mar-2006 [4565x2] | Well strangly enough it doesnt always happen.. i was testing from this document -> http://www.rebol.com/docs/view-system.htmland example 10.4 Iteration Example does crash.. probably an minor error somewhere... did not check it.. |
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? | |
older newer | first last |