Re: [Fresco-devel] Text styles/cloning graphics

Stefan Seefeld <[email protected]>
Newsgroups gmane.comp.video.fresco.devel
Message-ID <[email protected]>
Nathaniel Smith wrote:
> On Thu, Oct 03, 2002 at 09:50:16PM +0200, Tobias Hunger wrote:
> [snip]
> 
>>How about making that possible with a clone() method on the Graphics? That 
>>might be useful for other things as well, don't you think? Or is the whole 
>>decorator approach wrong?
> 
> 
> I think this has the wrong semantics.  Say you have a hyperlink, and
> it gets split over two lines.  The clone() approach says that you
> break the button into two buttons, and insert each of them into the
> control graph.  And then when the user tabs through their hyperlinks,
> the two halves of the link act like two separate links -- you have to
> hit tab twice to get by.  They also show focus (eg, with a little
> outline thingie) separately, handle mouse-over and mouse-down's
> separately, etc.  This is all wrong.

indeed, and I think the error is to think about line breaks as something
that affects the scene graph's topology. It does (and should) not.
Of course, the scene may include special markers that indicate the
possibility of a break (in Fresco98 these are called 'discretionaries',
I believe), but the actual break is performed each time the scene is
layed out...

Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.