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

World: r3wp

[!REBOL3 GUI]

Graham
12-Aug-2010
[2482]
so where can we download this?  :)
Cyphre
12-Aug-2010
[2483]
I guess all these gfx changes will be part of the next official HostKit 
release.
Pekr
12-Aug-2010
[2484]
font quality code - that will have to be done one day, as the View 
app font quality is really not nice. So let's hope that one day it 
will move up in the priority list :-)
Cyphre
12-Aug-2010
[2485]
(I still need to do a few changes before handing it over to Carl)
Pekr
12-Aug-2010
[2486]
Cyphre - what's next on your part? Effect pipeline?
Cyphre
12-Aug-2010
[2487]
Yes, effects are next on the list. Hope I'll get to them during today.
Graham
12-Aug-2010
[2488]
What's the mechanism of selecting a different charset ?  Just windows 
??
Cyphre
12-Aug-2010
[2489]
There is no charset selection. You just provide valid UTF-8 codes 
for the appropriate unicode chars, thats all. Also ofcourse you need 
to have font that contains that chars. I was using 'Arial Unicode 
MS' font in the test screens which is a huge font containing big 
chunk from all the unicode pages.
Graham
12-Aug-2010
[2490]
so you can't just type Czech at the keyboard?
Pekr
12-Aug-2010
[2491]
maybe you can type Czech, but you have to somehow "convert" from 
local codepage to the Unicode on the go (as you type?) :-) Sorry 
for my very basic understanding of how things might work :-)
Cyphre
12-Aug-2010
[2492x2]
I guess you can as the key events will give you that nuicode chars 
you are typing (if your OS supports unicode) but this was not tested 
yet. I'll try it today.
...because R3 already supports char! values bigger than 255 so this 
should work transparent IMO
Graham
12-Aug-2010
[2494x2]
did you ever figure out how to create GUI event from inside a network 
protocol?
eg. for the purposes of updating a progress face
Cyphre
12-Aug-2010
[2496]
I did that in R2 so I suppose it works also in R3?
Graham
12-Aug-2010
[2497]
How ?
Robert
12-Aug-2010
[2498]
How about a bounty for the text rendering?


To be honest I don't care to much about better quality at the moment. 
We need a way to display text and some formatting (which works) and 
special chars like Umlauts. That's good-enough for us to use R3 for 
commercial development. Optimal text-rendering is nice to have but 
invest to do it must be covered by some revenue first.
Pekr
12-Aug-2010
[2499]
The bounty is possible - but who has the skills to do the real work 
apart from Cyphre? :-) And also - how many man-days approximatelly 
would it take? (research plus implementation).
Rebolek
12-Aug-2010
[2500]
Who knows how long it takes... anybody complaining about the look 
has a chance to find out.
Pekr
12-Aug-2010
[2501]
that contradicts the bounty mechanism, and is typical example of 
bold opinion, which burries and always burried REBOL down ...
Rebolek
12-Aug-2010
[2502]
No it doesn't contradict nothing. I'm not against bounties at all. 
I'm just against people who complain that first version doesn't do 
everything they want.
Graham
12-Aug-2010
[2503]
Where's the link to the rich text dialect that Richard was talking 
about?
Henrik
12-Aug-2010
[2504x2]
Graham: http://rebol.net/wiki/Richtext
it's probably a good idea to create a wiki page regarding all the 
discovered issues around unicode in View. that way, it's easier to 
create a community project around it.
Robert
12-Aug-2010
[2506]
bounty: This won't cover the total-costs, but it's an additional 
sponsoring from the community that Cyphre can work on it.
Cyphre
12-Aug-2010
[2507]
Graham: regarding the 'updating GUI from network protocol' question

I have found some older scripts I did and quickly added the progressbar 
to it so you should see how it works.
You can download it from here:
http://www.rebol.cz/cyphre/scripts/r3/net/client.r3
and
http://www.rebol.cz/cyphre/scripts/r3/net/server.r3


just run server and client on localhost and press enter in the client 
console to see how the server shows the progress of upload.
AdrianS
12-Aug-2010
[2508]
Cyphre, the server link gives a 404
Cyphre
12-Aug-2010
[2509]
AdrianS: give it another try...it is highly possible Pekr's Apache 
instalation on this server is bugged so sometimes the links works 
and sometimes not ;)
AdrianS
12-Aug-2010
[2510]
you're right - it looks like a fairly even split between good response 
and 404
Pekr
12-Aug-2010
[2511]
yes - still not solved problem of occassional wrong path dispatch 
of Apache in ClearOS :-(   .... Cyphre, you better put it directly 
onto rebol.cz domain ....
Maxim
12-Aug-2010
[2512x4]
is R3 view coordinate system still using Y at top of window?
my guess is yes.


it would be nice to have a switch to allow this to be switched somehow 
within a drawing operation.  some gfx operations are hard to
adapt from normal vector math which uses Y values incrementing when 
looking up
especially if mixing in 3D stuff.
Graham
12-Aug-2010
[2516]
The Y axis is vertical...
Maxim
12-Aug-2010
[2517]
but pointing down
Graham
12-Aug-2010
[2518]
0x0 is at the top left which I guess suits text .. but most everything 
prefers 0x0 to be at bottom left
BrianH
12-Aug-2010
[2519]
The question is whether positive goes down the axis from the top, 
or up from the bottom.
Maxim
12-Aug-2010
[2520]
exactly.
Graham
12-Aug-2010
[2521]
I think it should be the other way around
Maxim
12-Aug-2010
[2522]
the issue is that reading starts at the top (in western writing ;)
Graham
12-Aug-2010
[2523x3]
text is going to largely computed by the view engine
going to be
so why make everyone else compute when doing graphs etc ??
BrianH
12-Aug-2010
[2526]
User interfaces are usually composed from the top-left too, in western 
cultures.
Maxim
12-Aug-2010
[2527]
its almost impossible to reverse layout when it is expected (and 
much easier to compose) going down.
Graham
12-Aug-2010
[2528]
Just thinking ... dBase used bottom left too
Maxim
12-Aug-2010
[2529]
but it would be nice if we could tell the graphics to use up or down 
on the fly.
Gregg
12-Aug-2010
[2530]
Postscript does as well.
BrianH
12-Aug-2010
[2531]
Composing UIs from the lop left makes sense when the UIs are specified 
using a declarative language that starts from the top left too, a 
language like REBOL.