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

World: r3wp

[!REBOL3-OLD1]

Graham
18-Oct-2008
[7504]
Just the only one talking :)
Henrik
18-Oct-2008
[7505]
So far :-)
GiuseppeC
18-Oct-2008
[7506]
A couple of articles I found interesting about the future of interpreted 
programming languages. 

http://weblog.infoworld.com/fatalexception/archives/2008/10/virtual_machine.html

http://weblog.infoworld.com/archives/emailPrint.jsp?R=printThis&A=/article/08/10/13/42TC-dynamic-futures_1.html

VM, JIT and access to other programming languages libraries is the 
future...
Maybe Rebol 4 ?
Henrik
19-Oct-2008
[7507]
There is no concept of rows and columns.
 <--- this was a bug and has been fixed.
Gabriele
19-Oct-2008
[7508]
Petr, most of the styles in VID3 use just one draw block. Also when 
using multiple gobs, eg. in a scroller, they have one draw block 
each too, and state is just changing the value of some words. Carl's 
version just limits this to a single draw block, without automatic 
resizing. Which, you're forced to do if you remove the distinction 
between feel and look (you're stuck with whatever gob structure was 
in the original style anyway without that distinction).
Pekr
20-Oct-2008
[7509]
Henrik - it seems your button design does not work for darker button 
variants, does it?
Henrik
20-Oct-2008
[7510]
It's very difficult to produce anything useful with a darker color.
Pekr
20-Oct-2008
[7511]
maybe changing button text color to white will be needed in such 
cases, or white 1px outline of text, but not sure how would it turn 
out ...
Henrik
20-Oct-2008
[7512]
That would complicate the code a bit too much. We can only recommend 
that people don't use dark buttons. :-) It's easy for the user to 
adjust anyway.
Pekr
20-Oct-2008
[7513x3]
Henrik - you latest screenshot simply shows, that 'label should be 
antialiased imo ....
Carl's now describing a bit sizin model in following chapter - http://www.rebol.net/wiki/GUI_Panels
New VID related blog posted - http://www.rebol.net/r3blogs/0152.html
- GUI: Thin skins, thick skins, and in-between
BrianH
20-Oct-2008
[7516]
That Panels doc is a work in process.
Pekr
21-Oct-2008
[7517]
Color picker example - http://www.rebol.net/r3blogs/0153.html- I 
gues now with Carl's frequent enough blogging, there is no point 
in posting such links?
Geomol
21-Oct-2008
[7518]
I mostly find links to Carl's blog these days by first going here. 
So it's good from my point of view.
Pekr
21-Oct-2008
[7519]
It kind of made point, when Carl posted once in two months. But now 
it is almost daily, so maybe I will stop it, to not flood here. Surprised 
a bit by low number of reactions. I thought ppl will be more interested 
in new GUI and how it starts to turn out ....
Graham
21-Oct-2008
[7520]
Generally we are people who do things, not read about them!
Gregg
21-Oct-2008
[7521]
My free time is not proportional to Carl's posts. :-\
PeterWood
21-Oct-2008
[7522]
I hope the subject of the example, a colour picker, isn't an indication 
that the new Rebol GUI isn't going to native dialogs. Windows, Gnome, 
KDE and Mac OS X all have native colour pickers don't they?
Pekr
22-Oct-2008
[7523]
Can anyone guess, what is "Face DO reactor (event action) reuse" 
in Color picker blog? It is represented by code like:

set-clr: when [enter] do [ ... some code here ...]
Graham
22-Oct-2008
[7524]
so, enter is the event being passed to 'set-clr ?
Pekr
22-Oct-2008
[7525]
Yes, 'set-clr itself belongs to what widget? To window itself?
Graham
22-Oct-2008
[7526]
It's a function of some type defined lower down
Pekr
22-Oct-2008
[7527]
... from source code it seems though, that the action is somehow 
fired from slider? But you drag slider by mouse, no? So how are you 
supposed to get 'enter event there? I would understand it, if particular 
slider would be focused ...
Graham
22-Oct-2008
[7528x3]
it's not an enter
it's an event
when you slide the slider, the event is passed to set-clr
Pekr
22-Oct-2008
[7531]
what is "when [enter]" then? 'enter being just a function argument 
name?
Graham
22-Oct-2008
[7532x3]
guessing so
can't be all events ...
so perhaps 'enter refers to some particular type of event
Pekr
22-Oct-2008
[7535x2]
So we have got high level (VID) ability to define actions ....
I would welcome more real-life scenarios, which are not yet implemented. 
Accelerator keys and focusing. We need to be able to follow OS compatible 
behavior.
Graham
22-Oct-2008
[7537]
basics first
Pekr
22-Oct-2008
[7538]
Isn't it basic? Those things can not be easily plugged into imo. 
They might influence the design (look at VID2). VID3 hopefully counts 
on it. E.g. if button or other elements are supposed to support accelerator 
keys, you need to use rich-text there instead of text for the description 
....
Graham
22-Oct-2008
[7539]
what's an accelerator key?
Pekr
22-Oct-2008
[7540]
Hmm, keyboard shortcut to get focus to the element you want? #key 
in R2 VID.
Graham
22-Oct-2008
[7541]
uh.. ok
Gabriele
22-Oct-2008
[7542x2]
petr, from what i see, on [enter] means that the action is executed 
when the window is shown (you "enter" the window), and it is also 
executed when the sliders change (do 'set-clr), so it's reused.
i don't like at all the lab50 thing. that will NOT allow localization, 
just to make an example. i consider having to size things explicitly 
a HUGE mistake and i will never say it loud enough.
Pekr
22-Oct-2008
[7544]
E.g. with labels the situation is interesting :-) You have to somehow 
display in label (usually by underscoring particular letter), what 
key is going to be used as an accelerator, but the focus is supposed 
to be given to the field ....
Henrik
22-Oct-2008
[7545]
Gabriele, Carl does not like it either.
Pekr
22-Oct-2008
[7546]
Gabriele - such opinions are strongly needed. Please go and put them 
into blog comments section ...
Henrik
22-Oct-2008
[7547x2]
Status:
Ah crap... sorry
Pekr
22-Oct-2008
[7549]
was it supposed to be private? :-)
Henrik
22-Oct-2008
[7550]
Pekr, no, it's that stupid default that Enter sends the message. 
I hate it. I want to KILL IT! :-)
Graham
22-Oct-2008
[7551]
So, if the enter refers to the slider moving event, what about other 
events like mouse over etc?
Pekr
22-Oct-2008
[7552]
Henrik - you can change it in settings, no?
Henrik
22-Oct-2008
[7553]
Pekr, yes... but the point is that it's default and I set up new 
AltMEs all the time. I hate it.