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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Ashley
19-Feb-2007
[5408x2]
Some crude benchmarks with %tour.r

	tooltips: true		60-70% CPU
	tooltips: false		3%


Heavy optimization cuts the first one by 5% and the second by 1%, 
but the base cause of the problem is this line in rebgui-display.r:

	find-face event/offset event/face ctx-rebgui/tooltip-sensitive


which is needed to get around the View detect bug described here: 
http://www.rebol.com/docs/view-system.html#section-5.7
RAMBO Ticket #3867
Graham
19-Feb-2007
[5410x2]
ctx-rebgui/effects/tooltips: false
Works for me .. back to 0% again.
Robert
19-Feb-2007
[5412]
I have never seen this effect with the version I use. And I have 
tooltips on and use them. My app idels and tooltips work without 
any problems.
Pekr
19-Feb-2007
[5413]
hmm, will you guys build downloadable file once you reach merged 
and kind of stable release?
Graham
19-Feb-2007
[5414]
just use the svn, and then run create-distribution.r
Oldes
19-Feb-2007
[5415]
Graham, Pekr probably mean, that it's nice that you announce build 
numbers. But for example I don't know how to access your svn so the 
build numbers are a little bit useless. So maybe one day it will 
be fine to see some link into rebol file as well:)
Robert
19-Feb-2007
[5416]
Yes, adding some RebGUI stable release to a web-site is a good idea. 
I can do it, or Ashley do you want to do it on your web-site?
Pekr
19-Feb-2007
[5417x4]
well, I downloaded SVN (Tortoise) to not be a lazy dog :-) I just 
don't know what to do with it yet :-)
where do I enter the url of trac?
hmm, do I need to first set-up any user accoung prior to being able 
to download files? What URL shoul I enter?
I get some propfind error, if I enter http://track.geekisp.com/rebgui
Graham
19-Feb-2007
[5421x2]
svn:// not http://
trac is not svn
Pekr
19-Feb-2007
[5423]
and the whole url, please?
Graham
19-Feb-2007
[5424x4]
svn://svn.geekisp.com/rebgui
trac is a different program altogether .. it's a web interface to 
svn
right click on a directory, and then choose checkout from the svn 
directory
enter the svn url and that's it.
Pekr
19-Feb-2007
[5428x2]
and those releases you talk abou there, are there, right?
hmm, can't connect, have to check my proxy settings :-(
Graham
19-Feb-2007
[5430x3]
this information is on the page http://trac.geekisp.com/rebgui
and when you checkout, you should get the latest builds
sources
Pekr
19-Feb-2007
[5433]
ok, thanks ....
Oldes
19-Feb-2007
[5434]
161kB.. it's pretty large:] I just don't like the oval buttons with 
gradients
Graham
19-Feb-2007
[5435x2]
Robert, is your tool-tip implementation based upon different code?
Oldes - you have a better design we can use?
Oldes
19-Feb-2007
[5437]
no, I like the BTN style of button which is in Rebol by default
Pekr
19-Feb-2007
[5438]
please change tabs - they look ugly :-)
Graham
19-Feb-2007
[5439]
I'm not sure the tabs look ugly.. they certainly are more visual 
than the previous highlighting.
Pekr
19-Feb-2007
[5440x2]
is there any change?
I talk about the "old version" I posted some screenshots for e.g. 
cyphre's tabs. The visual trouble is, that there is not space between 
them.
Graham
19-Feb-2007
[5442]
before there was a thin highlight to show which tab you were on ; 
now the whole tab is highlighted.
Pekr
19-Feb-2007
[5443]
only the small corner "triangle" - few pixels - it does not work 
with darker background ...
Graham
19-Feb-2007
[5444]
I'm quite happy with the visuals at the moment.
Pekr
19-Feb-2007
[5445x4]
I would prefer despaced boxed (not "rounded") design ... or just 
make it usable for dark backgrounds. It feels somehow smeared/blurred, 
dunno ... but - maybe just my feelings ...
ok, I will better first try to download new stuff ...
Graham - you use default white bacground, no? Have you tried darker 
one?
lunch ...
Graham
19-Feb-2007
[5449]
default white
Robert
19-Feb-2007
[5450]
tooltip: I don't know what code is in the offical version at the 
moment. IIRC it's our code. So, there seem to be some other sideeffects 
in the merged version.
Graham
19-Feb-2007
[5451x4]
Just checked #58 again, and tested Control-S .. not working for me.
maybe I haven't got the dictionary set up correctly.
Ok, need to create a english.dat file and place into the dictionary 
folder.
Ashley, how about including a dictionary directory, with english.dat 
in the svn?
Ashley
19-Feb-2007
[5455x2]
American or British? Dictionaries can be found here: http://www.dobeash.com/RebGUI/edit.html#section-4.2
will you guys build downloadable file once you reach merged and kind 
of stable release?

 Last stable build is #46 available via the View desktop and here: 
 http://www.dobeash.com/download.html


Once the current changes "settle down" (i.e. at least a week or so 
passes without a major new issue/problem) I'll update the stable 
set.

161kB.. it's pretty large
 ... 30+ widgets tends to do that! ;)

I like the BTN style of button which is in Rebol by default

 ... Come up with an AGG (not image-based) equivalent or similar and 
 I'll gladly use that.


re: tabs (and button) look. My previous goal was to try and map the 
look as closely as possible to WinXP. This required a combination 
of images and complex draw commands. My goal now is to keep it as 
simple as possible, with a nice clean look that can be implemented 
with as few effects/draw commands as possible. Button is an example 
of that. Instead of using 3 images and changing them based on current 
button state, I now use a simple draw block and change a single value 
based on state. Note that the radius is customizable (via effects/radius). 
Does this produce the best looking button ever? No. But don't fault 
the technique, rather my [limited] AGG compositional skills! Feel 
free to come up with a better button algorithm.


tabs are another example, where yellow lines of varying length were 
drawn to approximate the WinXP tab look, and had to be cleared and 
redrawn based on state changes. The new approach uses a simple effect 
block ( [round color 5] )where all that needs changing on a state 
change is the color. Same deal as button applies. Come up with a 
simple draw block that creates a good looking tab and I'll gladly 
use that.
Graham
20-Feb-2007
[5457]
Ashley, how to stop defaulting highlighting all the text in an area 
widget on select ?