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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Anton
10-Jun-2005
[1292x5]
That's just an initial impression. I will see if I get used to it 
nicely or badly :)
I have a working SLIDER with proportional dragger and page clicking.
do http://www.lexicon.net/antonr/rebol/rebgui/demo-slider.r
(you will need to modify demo-slider.r to point to your rebgui installation 
directory)
I am thinking of integrating arrows as options in the slider. This 
means a scroller would just be a slider with the arrows option. But 
this violates the rebgui principle of each widget being self-contained. 
However, the case for code reuse here is very strong, and so I want 
to do it. Any comments on that ?
PeterWood
10-Jun-2005
[1297x2]
If you do decide to integrate arrows in the slider, I hope you have 
a "smart'" arrow option like the one the one that Mac OS has provided 
since OS 8.6.
It's a big improvement on the standard up arrow at the top, down 
arrow at the bottom.
Ashley
10-Jun-2005
[1299]
Anton, rebface word only comes into play during widget creation; 
all other references to face (e.g. feel, focus, etc) have not changed. 
In fact, that was one of my motivations for introducing it ... I've 
seen far too many people tripped up by code like the following:

	engage: func [face action pos] [
		...
		insert tail blk make face [
			...
		]
		...
	]


where the "make face" should have been "make system/standard/face". 
When a RebGUI widget refers to rebface it is now unambiguous that 
we are not referring to a face argument nor the global face.


Looking at your demo slider now. If slider / scroller can be combined 
without a net increase in code size then I'm all for it as they are 
functionally and stylistically similar (vsplitter and hsplitter were 
combined into splitter for much the same reasons quite a while back).
shadwolf
10-Jun-2005
[1300x2]
list-view has been updated to comply rebgui 0.30 can be found here 
http://www.rebolfrance.info/articles/regui-cooking-widgs
(click on list-view in the table)
Graham
10-Jun-2005
[1302x3]
** Script Error: Invalid path value: rebfaceeither
** Where: wake-event

** Near: show-data ctx-rebgui/rebfaceeither none? face/data [true]
>>
typo I guess
Can the list-view be resized as well when the window is resized?
Micha
10-Jun-2005
[1305x3]
** User Error: RebGUI requires View 1.2.124 or lat
er to work.
** Near: to error! :value
system/version
1.2.55.3.1
Graham
10-Jun-2005
[1308x2]
which is much lower than 1.2.124
see here for latest builds
Micha
10-Jun-2005
[1310]
you can pass link ?
Graham
10-Jun-2005
[1311]
http://www.rebol.net/builds/
Micha
10-Jun-2005
[1312]
which rebol do to choose ?
Graham
10-Jun-2005
[1313]
http://www.rebol.net/builds/031/rebview1212531.exe
DideC
10-Jun-2005
[1314]
About spinner, why not introducing a drop-scroller style.

It looks like a drop-list (right arrow), but while clicking, an horizontal 
scroller appear under the field. You can use arrows to up/down or 
scroll bar to go fast or to the top/bottom limit.
shadwolf
10-Jun-2005
[1315]
GRaham sorry I don't notice your masage on list50 bugs ... those 
issues have been fixed later today and I repost it under same name 
so just redownload it ;)
Ammon
10-Jun-2005
[1316]
Just took a look at Tour.r again.  I must say I'm amazed!  this is 
really good work!
shadwolf
10-Jun-2005
[1317]
and could be even better if we have a largest use of draw/AGG for 
menu popup scroll down animation
Ammon
10-Jun-2005
[1318x2]
WRT Spinner, I prefer three buttons, Up, Down, and a middle button 
the pops up slider like DideC suggested...
And yes I do use those...
DideC
10-Jun-2005
[1320x2]
Problem with 3 buttons is that they are small !
(I use something like that in Paint Shop Pro)
Ammon
10-Jun-2005
[1322x2]
Yes, that can be a problem at times but they've always worked pretty 
well for me...
Yup, that's where I got the idea...
shadwolf
10-Jun-2005
[1324]
or many other draw effect exploiting capabilities of AGG
DideC
10-Jun-2005
[1325]
Another possibility is to put the arrow buttons side by side
shadwolf
10-Jun-2005
[1326]
now AGG it's official and it would be very cool to use it lightly 
but cleverly to make a sharpen and diferenciable set of widget ...
DideC
10-Jun-2005
[1327]
AGG is fine, but is for rendering something in a face.

You can imagine having only one face and drawing all the UI with 
Draw commands, but you will need to put a BIIIIIIIIIIG function in 
window-feel to handle all the user inputs  at different xy mouse 
positions !!
shadwolf
10-Jun-2005
[1328x2]
I'm thinking for example of transparent popupmenu in menu style of 
Cyphre this is an other example of how we could use draw/AGG to enhance 
RebGUI global interaction
DideC My idea is not to make rebgui complicated but only to make 
it wither but thinking of it the scrolling down effect can be made 
without AGG in fact
DideC
10-Jun-2005
[1330]
What I dislike in "current" release (1.3) is that there is two rendering 
engine: one for 'effect and one for 'draw. So you have capabilities 
(ie: better alphachannel handling) with Draw that you don't get with 
'effect.
So to make a more than 2 colors gradient, you need Draw.
I hope that 1.4 will fix that
shadwolf
10-Jun-2005
[1331x3]
yes but maybe that's due to a background need
because carl things that effect needs are differents than the draw 
one ...
I don't thik he takes the time to make 2 engine and one poorer than 
the other one only for fun ;)
Pekr
10-Jun-2005
[1334]
for modern and glued-into-os apps, it would be handy to have "translucent" 
top-most window, what do you think?
BrianH
10-Jun-2005
[1335]
Great, but remember that translucency only works on Win2k and above 
on Windows, and the situation is even less consistent on Linux. Should 
work on Mac though.
Anton
11-Jun-2005
[1336x3]
Peter, what do you mean by "smart arrow" ?  Arrows together ?  I 
was planning to add that option anyway.
Ashley, your argument has swung me to your point of view. The only 
thing is I would prefer rebgui-face instead of rebface, just to be 
totally unambiguous.
Ashley, can we use DO-FACE ?  (It's not listed in widget designer's 
guide.)
Pekr
11-Jun-2005
[1339]
Anton - arrows together? Like in AmigaOS - you don't have arrows 
at the ends of slider, but on one side optionally ... it is easier 
to move mouse few points, than to go up/down, left-righ, when using 
arrows for scrolling ...
Anton
11-Jun-2005
[1340]
Yep, like amiga :)
PeterWood
11-Jun-2005
[1341]
Yes, arrows together at  the bottom right-hand side of the window. 
Much less mouse movement as Petr mentioned. 


I must admit I didn't know that Amiga had "smart arrows" but then 
I've never seen an Amiga.