World: r3wp
[View] discuss view related issues
older newer | first last |
shadwolf 15-May-2005 [1095x3] | I make an image to show you the dilema I build an image that explain what is the actual problem and what I want http://shadwolf.free.fr/clic-scroll-img.jpg |
for example title 4 with related-offse/yt: 1586 and sub-pan-visualisation/size/y: 3142 i get a sld/data: 0.504774029280713 and I have the title around the middle of the visualisation box. If I use the scroller to place the title 4 on the top of the visualisation pane I get sld/data: 0.602247191011236 | |
I hope youcould helpme to solve this problem it's a long time since I'm trying to solve it | |
Volker 15-May-2005 [1098] | qick hack: if its always in the middle, subtract half your sub-pane/size/y +- something |
Anton 16-May-2005 [1099] | Micha, active-column: 1 supply [ ... face/colour: either index = active-column [red][none] ...] |
DideC 16-May-2005 [1100] | Shadwolf: I guess first title is shown at top and last is shown at bottom, yes or no ? |
Pekr 16-May-2005 [1101] | I wonder why scrollers have such terrible lag on 1.8GHz pentium. Although new demo si cool, I wonder if REBOL it is not able to provide us with real-time feeling even if AGG is on-board? |
[unknown: 10] 16-May-2005 [1102x2] | Will there be an 'save/svg option for it in 1.3 ? |
I mean when SVG is supported will it be interactive for rebol gfx only or can it be exported also? | |
Pekr 16-May-2005 [1104x2] | I am not sure AGG supports SVG directly? I expect it being very capable vector engine, so we have to build kind of SVG parser plus viewer ourselves? Or am I wrong? |
One of my friends who is back to Rebol after he tried other tools :-), would like to know, if there is any docs available on low-level = face-level View work. I found some, but he would like to see some comments onto how to create own styles. IIRC Graham or someone else tried to provide such descriptions ... | |
[unknown: 10] 16-May-2005 [1106] | I expect that the View 1.3 release will bring more inside / detailed documention as well on view. Although i realy hope RT can fix that intime its a absolute must :-) |
Gabriele 16-May-2005 [1107] | petr: i think the best info available is that on the rebgui's site. |
[unknown: 10] 16-May-2005 [1108] | the SVG view can be firefox/mozilla... thats why i asked if view can save/svg ;-) that would extend Rebol View into a Very usefull SVG tool as well !! |
Gabriele 16-May-2005 [1109] | about SVG: i don't think that will be supported natively. it's not that hard to do that in rebol, a cyphre has something working already. |
[unknown: 10] 16-May-2005 [1110] | A great... if thats possible im happy already :) |
JaimeVargas 16-May-2005 [1111] | Rebolinth anyone can write an SVG emitter, just like there is a Flash emitter. I think this complex and unique enough that it shouldn't be included in the base. But 3rd party script will do. |
Pekr 16-May-2005 [1112] | I know - but RebGUI will not explain me how to construct styles, no? Those thigs like init method description etc. IIRC there was some attempt to write it down, so, links apreciated :-) |
shadwolf 16-May-2005 [1113x4] | I solve my problem the good formula is sld/data: ((related-offset/y - (40 * scale)) / (docu/pane/size/y - docu/size/y ) ) |
thanks to DideC, Volker and most specificly to Brock witch helps me a lot | |
the problem was complicate to understand and chatting with brock help me a lot to think | |
and find the solution | |
Brock 16-May-2005 [1117] | I'm glad you figured it out... I"m still scratching my head :-) |
shadwolf 16-May-2005 [1118x2] | hum it's more by chance than because I really understoud the meaning of this algorithm ;) |
well part of chance is important too :) | |
Allen 17-May-2005 [1120] | Mental blank. How to set the selected item in a rotary? |
Graham 17-May-2005 [1121] | make it the first item in the list? |
Allen 17-May-2005 [1122] | I've been unable to to change it once displayed. But I've got a work around where I change the data list before it is created. that gets me out of trouble for now. |
Ammon 17-May-2005 [1123x7] | Hm... Seem to be recalling... |
Yes, that was it... | |
view layout [this-rotary: rotary "one" "two" "three" [probe face/text probe face/data] button "change rotary" [this-rotary/ data: find this-rotary/data "three" show this-rotary]] | |
Dang Edit Mode... | |
Watch the line wrap there... | |
;a little cleaner... view layout [ this-rotary: rotary "one" "two" "three" button "change rotary" [this-rotary/data: find this-rotary/data "three" show this-rotary] ] | |
You should note that because Rotary uses the current index of its data facet that you may have to use 'head on the 'data to be able to 'find the value your looking for... | |
Allen 18-May-2005 [1130] | thanks ammon, I was try to do it via face/texts block |
MikeL 18-May-2005 [1131] | Allen - you may not be interested if Carl's rotary serves your needs but I find the FX5 rotary that Frank Sievertsen created some years ago to be a bit more usable because he added the left and right arrow navigation to the base rotary. Clicking on the rotary itself rolls it forward but with the FX5 one, you have a back option instead of having to cycle through the list. The rotary is still a bit cumbersome without key board support that is specific to the widget when it has focus. |
Allen 18-May-2005 [1132] | Thanks Mike. Not sure if any of Franks stuff is avail anymore, the site that he hosts the scripts on seems to have disapeared. I also have my own drop-down style, but for this task the built in rotary was sufficient...just |
Anton 19-May-2005 [1133] | ...and the inbuilt rotary allows to go back using the alt-click (right mouse button). |
MikeL 19-May-2005 [1134] | Thanks Anton. I would have never ever tried that. I don't find mention of that in the doc anywhere but now find that the FX5 one supports alt-click as well but also gives the visual cue's via the small arrows. |
Anton 19-May-2005 [1135] | layout [rotary with [?? feel]] ; when you would have become curious |
Henrik 27-May-2005 [1136x2] | is it possible to remove the REBOL - .... part of a window in View? "REBOL - My Window" Would become "My Window" |
sorry, I am referring to a window title | |
Anton 27-May-2005 [1138] | You can do it using Windows API... |
Robert 27-May-2005 [1139x3] | I just hacked the graph-layout stuff found in Rebol-Framework into a standalone using the new AGG stuff. Very cute and fast!! Take a look at: http://www.robertmuench.de/download/graph-layout.r |
It's not perfect yet, so please feel free to improve (and let me know). Next thing is to add boxes for nodes. | |
So that those can be clicked... | |
Henrik 27-May-2005 [1142] | yes, very fast indeed. |
Robert 27-May-2005 [1143] | Updated to show boxes. Now, is there any way to associated an ID with a box and get it back if the users clicks inside the box? |
Anton 27-May-2005 [1144] | LAYOUT sets face/var to be the name of the set-word, eg. layout [ my-btn: btn ] now my-btn/var == 'my-btn so you could use face/var, or perhaps face/user-data is better. |
older newer | first last |