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

World: r3wp

[View] discuss view related issues

Pekr
23-May-2006
[5101]
the quickest way imo is to contact Carl via feedback or Gabriele 
here to ask Carl ....
Anton
23-May-2006
[5102]
I think I will do that.
[unknown: 10]
27-May-2006
[5103]
Is it actualy possible in view/pro to create a thread or a process 
when using the 'call command? Somehow its fully blocking under rebol 
using this... If anyone has a hint on how to detach a 'call process 
from rebol ;-) let me know...  Im seeking interaction from the an 
/output which should be put in an GUI window of /View...
Graham
27-May-2006
[5104]
try using Dockimbel's asyn call
Gabriele
28-May-2006
[5105]
/output implies /wait. you need to use CALL without refinements if 
you want it to be async, or use the ASYNC-CALL function in the Detective 
(which is based on Nenad's on Windows, and uses my implementation 
on Linux/Unix).
Henrik
28-May-2006
[5106x2]
is KEY color for an image supposed to overwrite the key color in 
the image with transparency permanently? I need to load the image 
again to restore it to its original state.
the manual doesn't mention this
[unknown: 10]
28-May-2006
[5108]
thanks
Henrik
28-May-2006
[5109]
oh... seems to be related to not copying the image first.
Anton
28-May-2006
[5110]
effects in the EFFECT pipeline do not modify the original image.
Henrik
28-May-2006
[5111x2]
well, it did here
http://www.hmkdesign.dk/rebol/imagebug/imagebug.r
Anton
28-May-2006
[5113]
Hmm... nice one. The alpha channel is permanently modified. I think 
that's a bug for RAMBO.
Anton
29-May-2006
[5114]
OK - submitted to RAMBO.
Henrik
31-May-2006
[5115x2]
which function again is used to activate the emailer? alive? is FALSE. 
I can't seem to find it.
oh, just by setting ALIVE? true
Henrik
1-Jun-2006
[5117]
not quite enough apparently. If  I activate the emailer from the 
console and the SMTP server, etc. is not set correctly, it correctly 
prompts this, but it then doesn't start the viewtop to let me set 
this with SET-USER. Instead it just shows the emailer window.
Volker
1-Jun-2006
[5118]
why not brosing mailto: ?
Anton
1-Jun-2006
[5119]
Henrik, just look through ctx-viewtop to see where it opens the network 
settings window. Then you can try hack ctx-emailer to make the same 
call.
Henrik
1-Jun-2006
[5120]
volker, I need specific mail content. is it possible to specify the 
body for an external mailer?
Volker
1-Jun-2006
[5121]
good question..
Anton
1-Jun-2006
[5122x4]
Here Henrik, try running this in the console:
ctx-viewtop: context ctx-viewtop

do bind [if block? ctx-prefs-gui [ctx-prefs-gui: context ctx-prefs-gui]] 
ctx-viewtop
;do bind [slide-to email-settings] ctx-viewtop/ctx-prefs-gui
do bind [
	use [face][

  face: foreach face prefs-face/pane [if all [face/style = 'tog face/text 
  = "Email settings"][break/return face]]
		face/feel/engage face 'down none
	]
] ctx-viewtop/ctx-prefs-gui
ctx-viewtop/view-prefs
(Actually first line only needs to be done if ctx-viewtop is still 
a block.)
You just need to insert that code into the error handler of ctx-emailer.
Volker
2-Jun-2006
[5126]
I have a bunch of *.bmp with a transparent color (effect[key]) and 
want to make animated gifs from them. how can i do that? Cn rebol 
help, or which tools?
Anton
2-Jun-2006
[5127x3]
For a website ?
Volker, Gifsicle might be what you want:
http://www.lcdf.org/gifsicle/
Also try search sourceforge for "gif"
DideC
2-Jun-2006
[5130x2]
Henrik: yes, you can specify the content in a mailto URL.
http://email.about.com/od/mailtoemaillinks/a/mailto_elements.htm
Henrik
2-Jun-2006
[5132]
incredible... thanks
Graham
3-Jun-2006
[5133x5]
Does date plotting working in q-plot?
this doesn't look at all like it should

translate-draw: func [
	height [integer!]
	blk [block!]
	/local dr p
][

 parse blk [some ['draw set dr block! (parse dr [some [p: pair! (p/1: 
 as-pair p/1/x height - p/1/y) | skip]]) | skip]]
	blk
]

view layout [
	origin 0
	bx: box 400x400 black effect translate-draw 400 [
		draw [
			pen red
			line 50x50 350x50
			pen blue
			line 50x50 50x350
			pen yellow
			line 50x50 100x200 200x150 300x250 350x225
			pen white
			text aliased 10x350 "Y axis"
			text aliased 320x40 "X axis"
		]
	]
]
Oopss...
wrong one ..
do %q-plot.r


date-data: [ 6-Apr-1993 11-Apr-1993 15-Apr-1993 27-Apr-1993 11-May-1993 
25-May-1993 22-Jun-1993 27-Jul-1993 7-Oct-1993 15-Feb-1994 4-Oct-1994]
y-data: [ 2.3 3.2 3.4 3.8 4.45 5.0 6.6 7.53 8.7 9.4 11.1]
val: 6

view quick-plot [
	800x600
	x-data [(date-data)]
	line [(y-data)]
	x-axis (val) border
	x-grid (val)
]
Henrik
3-Jun-2006
[5138]
view layout [box red key 'f5 [print "how do I capture F-keys?"]]
Gabriele
3-Jun-2006
[5139]
view layout [button "F5 Button" keycode 'f5 [print "got F5"]]
Henrik
3-Jun-2006
[5140]
thanks
Volker
6-Jun-2006
[5141]
from plugin-2, launching *.r with doubleclick, locally: i usually 
right-click, choose "open with/others" and get a checkbox to make 
rebol default. Although when installing fresh, rebol is already there.
Robert
18-Jun-2006
[5142x3]
Ok, from RebGUI group, as it's not just related to RebGUI:


I have the following problem from time to time on my system and always 
on the system of one of my testers.


On my system: I start my app, the gui comes up and I click the first 
widget and the app falls back to the console. Without an error. This 
happens as do-events returns.


The same problem is on the other system, but here I only can do one 
click on a widget.
I really couldn't specify it more narrow. I have the same effect 
on my system, when my app exited with an error. I hack in UNVIEW 
and than restart it, I alway return to the console immediatly. Doing 
it once again, UNVIEW and restart, than it works.

If I use UNVIEW two times, it works immediatly.
Has anyone an idea what the problem might be, or even how we could 
track it down?
Volker
18-Jun-2006
[5145x2]
probe first system/view 
probe get in system/view/event-port 'awake 
make system/view [source wake-event] 
system/view/wake-event: func [port /local event no-btn] bind [
    event: pick port 1 
print remold [event/type event/offset event/key] 
    if none? event [

        if debug [print "Event port awoke, but no event was present."] 
        return false
    ] 
    either pop-face [

        if in pop-face/feel 'pop-detect [event: pop-face/feel/pop-detect 
        pop 
            -face event
        ] 
        do event 
        found? all [
            pop-face <> pick pop-list length? pop-list 
            (pop-face: pick pop-list length? pop-list true)
        ]
    ] [
        do event 
        empty? screen-face/pane
    ]
] system/view 
echo on 
print "con" 
view layout [button "test" [probe "test"]]
For tracking.
Robert
18-Jun-2006
[5147]
Thx. So I just add this code before my app and see what's spit out?
Volker
18-Jun-2006
[5148x3]
Yes.
This is called from system/view/event-port/awake. when it returns 
false, the do-events should terminate.
so i guess it returns false on some occasions. maybe something triggers 
a none-event, that would trigger it.