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

World: r3wp

[!REBOL3 GUI]

BrianH
25-Jun-2010
[1823x3]
The way that Java does it is unnecessary in R3GUI: For Java, they 
have to maintain an object hierarchy; REBOL doesn't need to do that, 
so even the layout managers are styles. The group and panel styles, 
for instance, are only layout managers and have no inherent appearance 
of their own.
All styles are potentially containers - whether or not they are actually 
containers depends on the style.
You can create your own layout manager styles with little difficulty. 
Or you can create container styles that layout their children in 
a specific way for a specific purpose, like a scroller pane with 
scrollbars. You don't need separate layout manager functionality 
since laying out stuff in a custom way is an inherent feature.
Pekr
26-Jun-2010
[1826x2]
IE9 preview 3 adds support for WOFF (Web Open Font Format). I wonder 
if there is something usefull in such standards, what we could possibly 
integrate to improve fonts?
http://hacks.mozilla.org/2009/10/woff/
Maxim
28-Jun-2010
[1828]
my god could it be? we will FINALLY fucking be able to use fonts 
on the web?
Cyphre
28-Jun-2010
[1829]
AdrianS: as I said in my last message here, "-by default layout elements 
have to be organized either in PANEL or GROUP structures (though 
it is possible create your super special style for circular layouts 
or whatever ;))"

By this I meant there will be two default 'layout generator' styles 
GROUP and PANEL but you can create own styles that will generate 
their content differently.
AdrianS
28-Jun-2010
[1830]
I suppose I just had the expectation that REBOL styles would only 
concern themselves with look and behaviour (group acting as a tab 
group, for example) and that layout would be handled by other types 
of constructs in the dialect, the way I'm used to. As for needing 
hierarchies in Java, these are there in the GUI component declaration 
to match the visual hierarchical arrangement and to make control 
of child visibility, event passing  and layout match what you would 
expect to see coming from such a visual arrangement. If similar control 
can be achieved by REBOL in a different way, so be it.
Robert
28-Jun-2010
[1831]
We are now going to replace VID resizing code with our version and 
adopt some styles to use it. Than some more tests and if all went 
good, we are soon back to style development.
Henrik
5-Jul-2010
[1832]
http://rebol.hmkdesign.dk/files/r3/gui/219.gif


Carl's drawing of the R3 GUI/graphics pipeline (posted with his permission).
Steeve
6-Jul-2010
[1833]
link broken, here
Graham
6-Jul-2010
[1834]
works for me
shadwolf
6-Jul-2010
[1835]
henrik's link broken too here ...
Graham
6-Jul-2010
[1836]
I'll cut and paste it here ...
shadwolf
6-Jul-2010
[1837]
graphic pipeline like ... hum  the rendrering pipeline in my GPU 
?  or just a software like pipeline wich havec pipeline only the 
name....???
Graham
6-Jul-2010
[1838x3]
http://a-browsertests.s3.amazonaws.com/219.gif
hope that works guys
Did Denmark lose to France in the worldcup?? Is that why you're being 
blocked??
Steeve
6-Jul-2010
[1841]
yes, thx
shadwolf
6-Jul-2010
[1842x2]
like amount of processing in my rebol ok but one thing ... now in 
day grphical cards are hella weak in 2D rendering and espacially 
under windows 7 they are even slower than a 3DFX voodoo 3 back in 
the days ...

SOOOOOOOOOOOOOOOOO
what i like with carl implementation is that he shows with better 
source code algorithm you improve the rendering queue even if you 
don"t  access the hardware specific accelartion part wich will be 
a pain to handle anyway...
Maxim
6-Jul-2010
[1844]
2D and 3D graphics are technically the same. you can perform 2D graphics 
with any 3D rendering engine.
shadwolf
6-Jul-2010
[1845]
maxim not the same layers and they havec been separated in DX libraries 
well i can give you an article in tomshard ware with benchmark etc 
proving that point
Steeve
6-Jul-2010
[1846x2]
Is the AGG cache an enhancement ?
*AGG cache stack
shadwolf
6-Jul-2010
[1848x3]
doing 2D using  3D hardwar stacks generates a lot of problems due 
to the antialiasing and mipmaping manipulation ( and  drawing text 
without true font but with mipmaps  provide you no gain the card 
will not use it's fonts acceleration then)
cache are always a good thing for repetitive task if you draw use 
is to draw 1 square or 1 circle or 1 line of texte will you don't 
need a cache buuuuuuut

if you do  a document rendering like area-tc with alot of  time the 
same calls over and over again then you see the obvious optimisation 
brought by a cash
i hope with the cash we tends to a more extensive use of AGG and 
a less anecdotic use of this marvelous fantastic powerfull tool (aGG)
Graham
6-Jul-2010
[1851]
he needs cash, but it's cache
Steeve
6-Jul-2010
[1852]
:-)
shadwolf
6-Jul-2010
[1853x4]
http://www.presence-pc.com/tests/2d-windows-gdi-23257/10/for the 
article
6 am i got a heavy day yesterday and i take some time before going 
to work to be tuned ....
multiple draw blocks per styles it's like a stack systems ?  you 
could influence a layer of graphical contents without touching the 
other block
?
Maxim
6-Jul-2010
[1857]
different states like hover/pressed, etc could be described in different 
states, allowing us to switch between them quickly.
shadwolf
6-Jul-2010
[1858]
i like that idea ... it will introduce much more flexibility ... 
 and allow something link  annimations without having to redraw all 
the blocks only drawing the blowk that have changed
Maxim
6-Jul-2010
[1859]
been doing this for years  ;-)
shadwolf
6-Jul-2010
[1860]
so the draw blocks would get interactive ?
Steeve
6-Jul-2010
[1861]
Not sure, there is one state at a time.
Maxim
6-Jul-2010
[1862]
you could switch them based on some sort of finite state machine.
Steeve
6-Jul-2010
[1863]
I don't think it's the purpose of states
shadwolf
6-Jul-2010
[1864x2]
maxim yeah but push is not optimal  in rebol 2 bloacks you think 
only the pushed is drawn but the show call force the redrawing of 
all killing perfs
ok it's too early to speak english for me i need a coffee and a proper 
wakeup

i'm leaving i will try to get around at a more suitable time for 
me ...
Maxim
6-Jul-2010
[1866]
graphic engines redraw everything at each redraw, even in 3D.   this 
is because of transparency and depth sorting.
shadwolf
6-Jul-2010
[1867]
see you and i will keep watching the gui part
Maxim
6-Jul-2010
[1868]
by redraw, I mean the rasterizing... which is usually where most 
of the processing occurs.
Henrik
6-Jul-2010
[1869x2]
http://rebol.hmkdesign.dk/files/r3/gui/220.png


220 to 225 shows the resize engine in use with globally set borders 
with quite good pixel accuracy. the border style should be possible 
to set globally according to cyphre in a similar way as in VID, of 
course without the artistic limitations of VID.
btw, you couldn't access the gif image, because my cheyenne server 
had decided to stop for some reason.
Graham
6-Jul-2010
[1871x2]
Eh?  I must have retrieved it from cache then
trace.log nothing??