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

World: r3wp

[!RebGUI] A lightweight alternative to VID

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.
Ashley
11-Jun-2005
[1342]
Anton: no harm in using do-face, but "face/action face" is usually 
enough. I chose rebface (even though it is an SDK component name) 
as it is consistent with rebfocus and any other VID words I need 
to redefine. I didn't want a proliferation of rebgui-* function names. 
On the other hand, it's a lot easier to rename rebface / rebfocus, 
etc than the original face to rebface change! ;)
Volker
11-Jun-2005
[1343]
maybe we should think about a name change? rebface looks a lot like 
"the face inbuild in rebol." rebgui works as "a gui for rebol", but 
rebface?
Robert
11-Jun-2005
[1344x2]
Ashley: How about adding a main link to each rebgui document to go 
back to start page of RebGUI.
Where is the word "cascade" used? I'm currently doing the german 
translation.
shadwolf
11-Jun-2005
[1346x2]
Perk the translucent window capability is anOS feature that I request 
since lot of time but the key point is that this function is only 
accessible for some OS and for Linux it's a enligntenement layer 
(doesn't work with other X11 based windows manager ) example eterm 
is translucent but works only with enligtenment windows manager (the 
ones that comes with gnome )
in a short time the Windows REBOL/View will need to adapt to the 
need WinFX library that will replace Win32 API starting from LongHorn 
so VID  back ground will need to change ... Maybe this could open 
to the WinFX/Avalon 3D design capability directly from VID
Ashley
11-Jun-2005
[1348x2]
Cascade: Opera. Option to cascade or tile windows.
If anyone can work out why popup/away doesn't work from within display 
(by uncommenting the display line and commenting the view line), 
please let me know.

	REBOL []

	do %rebgui.r

	;display "test" [
	view layout [

  button "Click here" [show-popup/away make system/standard/face [] 
  do-events]
		text "Then here."
	]

	do-events

It would be very good to get this working [with RebGUI].
Graham
11-Jun-2005
[1350x4]
so, what is happening is that when using display, the popup appears 
only momentarily and then disappears
Is there a way to initiate an action on clicking specific tabs of 
the tab panel?
forinstance, if the data for a panel is held by a database, and I 
want to update it as that tab is selected ...
perhaps as an optional block of actions which can be used by the 
engage function
Anton
12-Jun-2005
[1354x3]
Ok, new SLIDER demo:
load-thru/update site/rebgui/slider.r
do site/rebgui/demo-slider.r
site: http://www.lexicon.net/antonr/rebol/
ChristianE
12-Jun-2005
[1357]
Anton, these are very nice, finally, grabbing the draggers by mouse 
works as expected. Nice, again.
Anton
12-Jun-2005
[1358]
Thankyou. If you look, everything is rendered using DRAW dialect, 
no subfaces, pane is none. :)
ChristianE
12-Jun-2005
[1359]
I know, the RebGUI approach ...
Anton
12-Jun-2005
[1360]
... which I thought should speed it up and make it easier to iterate 
in a list.
ChristianE
12-Jun-2005
[1361x2]
Didn't look in the source, but: the arrows self-contained in the 
slider?
... are ...
Anton
12-Jun-2005
[1363]
Yes, arrows are drawn in slider-face/effect/draw block.
ChristianE
12-Jun-2005
[1364]
Ok, I see. Nice work, once again.
Anton
12-Jun-2005
[1365]
It has a small visual bug, which does not affect the functionality; 
the end of the dragger sometimes is drawn a pixel too far. I think 
it is a floating-point error somewhere, the trapping of which I don't 
have much experience in...
ChristianE
12-Jun-2005
[1366]
Now that's what I call understatement! You're definitly one of the 
VID style gurus, I'm sure you can handle that little rounding error 
:D
Pekr
12-Jun-2005
[1367x2]
something's wrong here. I will probably try to reinstall View. But 
- I pointed installation to C:\Rebol\View IIRC, including the cache, 
yet, view-root points to C:\Documents and settings\blabal
maybe user settings could contain such info. How do I find out?
Graham
12-Jun-2005
[1369]
when you install, you have an option to set the temporary file directory
Pekr
12-Jun-2005
[1370x3]
Why is it not part of the registry at least? Or is it?
I set it into C:\rebol\view IIRC. But I will better reinstall. I 
installed on my work pc, notebook and  home pc, maybe I am confused 
...
by temp you mean public? (cache?)
Graham
12-Jun-2005
[1373]
that directory you refer to "C:\documents ... blah " is the rebol 
temp directory
Anton
12-Jun-2005
[1374]
In the registry the Sandbox value --->  view-root
Graham
12-Jun-2005
[1375x2]
I think used for sites etc.
I couldnt' get Anton's slider to work on this account
Anton
12-Jun-2005
[1377x2]
and then  view-root/public/
Graham, is there an error message ? RebGUI is now at 0.3.0, Rebol/View 
is at 1.3.0 (I am sure you noticed.. :) and demo-slider.r 1.0.2, 
slider.r 1.0.3
Graham
12-Jun-2005
[1379]
>> view-root
== %/d/rebol/view/temp
>> site: http://www.lexicon.net/antonr/rebol/
== http://www.lexicon.net/antonr/rebol/
>> load-thru/update site/rebgui/slider.r
== [
    context [
        slider: [
            size: 4x40
            data: 0
            color: ctx-rebgui/colors/widget
    ...
>> do site/rebgui/demo-slider.r

** Access Error: Cannot open /d/rebol/view/programs/rebgui/rebgui.r
** Where: halt-view
** Near: do view-root/../programs/rebgui/rebgui.r
include [
    site/rebgui/slider.r [slider]
]
query/clear