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

World: r3wp

[!REBOL3-OLD1]

Pekr
15-Oct-2008
[7354]
New doc posted to DocBase, including some screenshots: http://www.rebol.net/wiki/GUI_howto_styles
Graham
15-Oct-2008
[7355x2]
why not style instead of stylize ?
the iz is redundant
PeterWood
15-Oct-2008
[7357]
Isn't stylize meant to infer "make style" whereas style is a "A style 
is essentially an informal class used to define the attributes and 
behavior of its face instances" t?
Graham
15-Oct-2008
[7358]
style can be a verb
PeterWood
15-Oct-2008
[7359x2]
but wouldn't using style for both the style objects and making a 
new style be a little ambiguous?
Personally, If I ever got around to using view, I'd be very happy 
if the syntax was make style! [ ....] or, looking at Carl's red box 
example..
red-box: make box [
	about: "A red box"
	facets: [
		area-color: maroon
	]
]
Graham
15-Oct-2008
[7361]
The screenshots look good
Pekr
15-Oct-2008
[7362x2]
as for screenshots - those seem a bit "fuzzy" (?) to me. I wonder 
if it is due to jpeg compression, or is it caused by antialiasing?
Peter - make style! would mean, that style is a datatype. As for 
me, I have no problem with stylize vs style .....
Graham
15-Oct-2008
[7364]
that's a convention ... regarding!
Henrik
15-Oct-2008
[7365]
Pekr, the fuzziness is due to antialiased edges hitting between two 
pixels, although jpeg compression makes it a bit more fuzzy. It's 
everywhere, it seems.
Graham
15-Oct-2008
[7366]
the screenshots?
Henrik
15-Oct-2008
[7367]
No, in the app. My screenshot is in PNG, btw.
Graham
15-Oct-2008
[7368]
So, using VID+, the layouts are all fuzzy???
Henrik
15-Oct-2008
[7369x2]
it seems. :-) Maybe Carl wants us to feel all warm (the gold and 
red colors) and fuzzy (the... well :-))
http://rebol.hmkdesign.dk/files/r3/gui/002.png
Graham
15-Oct-2008
[7371]
those fields don't accept focus!
Henrik
15-Oct-2008
[7372]
It doesn't seem there is working focus yet. The editing works about 
as good/bad as VID3 for now.
Graham
15-Oct-2008
[7373x2]
it was a joke!
so, using groups like Max had ...
Henrik
15-Oct-2008
[7375]
:-) Now that I look at the code, I can see the entire event system 
is grabbed from VID3.
Geomol
15-Oct-2008
[7376]
The labels and "text" in the fields don't have antialiasing, "text" 
in area has. I hope, the overall amount of aliasing (fuzzyness) can 
be adjusted.
Henrik
15-Oct-2008
[7377]
I think there are two levels to it at this time (on/off), but I think 
Cyphre has said that the gamma can be adjusted. Carl also once said 
that he hates antialiased text, which is probably why the smaller 
text is non-antialiased.
Geomol
15-Oct-2008
[7378x4]
Oh, and it looks interesting! :-)
More screenshots: http://www.rebol.net/wiki/GUI_Basics


Carl write, it's a prototype skin, and he uses jpeg (with artefacs), 
so those are probably just to feed the hungry ones.
*artefacts* or *artifacts*
Isn't "artefacts" the more correct spelling?
Gives more hits.
Robert
15-Oct-2008
[7382]
Shouldn't AREA-SIZE read SIZE in the circle style example on the 
GUI-Styles Wiki page?
Henrik
15-Oct-2008
[7383]
Geomol, perhaps one is the archeological kind and the other is what 
is in jpeg? :-)
Gabriele
15-Oct-2008
[7384]
robert, if i understood correctly, area-size is the size of the area 
you can draw into, size is the size of the whole face. in the examples, 
area-size: size - 2x2 (or something like that)
Henrik
15-Oct-2008
[7385]
http://rebol.hmkdesign.dk/files/r3/gui/001.mov

Framerate is about half of what it really is.
Graham
15-Oct-2008
[7386x3]
nice ...
like Ashley's tour.r
but with animation ( sliding faces )
Pekr
15-Oct-2008
[7389x2]
Carl is TV guy, he likes colorful designs :-) Buttons with shadowed 
text are not pretty :-)
In GUI_Basics chapter, in Opinion survey example, there is 'group 
used without explicitly stating number of columns. How does such 
group know, how to layout its elements? Is it simply laying all elements 
in one row by default?
Henrik
15-Oct-2008
[7391]
Yes, one row.
Pekr
15-Oct-2008
[7392x2]
What is: panel 80.200.180.80? Color with alpha?
Is there english word "pastel"? That is how current skin should be 
called :-)
Henrik
15-Oct-2008
[7394]
yes, alpha
Pekr
15-Oct-2008
[7395x2]
uh, pity it can't be solved some other easy way. I don't like implicit 
arguments, as from stylize source code nothing implies, that there 
is any such variable available:

            on-resize: [ ; arg is the size
                face/gob/size: arg
Isn't  there a typo?

    faced: [
        bar-color: teal
        bar-size: 1x1 ; modified by the progress % value
        bar-fill: ; generated from bar-color option
    ]


What is going bar-fill to be set to? It is last element of the block, 
and if you do object from it, it should have some value to be set 
to, no?
Henrik
15-Oct-2008
[7397]
it's not a typo, but I don't know yet how that works.
Graham
15-Oct-2008
[7398]
the implicit argument?
Pekr
15-Oct-2008
[7399]
Graham - what are you asking?
Graham
15-Oct-2008
[7400]
nothing
Gregg
15-Oct-2008
[7401x3]
I wouldn't use pastel to describe the color scheme.
Artifacts
 is correct American spelling, though maybe no English. :-)
*not* English.