[Y-devel] shapes?
drizzt321 at phpfreaks.com drizzt321 at phpfreaks.com
Thu Feb 26 16:05:46 GMT 2004
Quoting Casey Winans <casey at cwinans.com>:
> > Also, a thought on that, are we starting 0,0 at the top left of the Y
> > desktop/extended desktop(if we want to do that like X does), or the top
> > left of a given Y window? Maybe we should simplify everything and say
> > 0,0 for _every_ component/object that is display, or bound to x,y
> > somehow has 0,0 as the top left of the Y display. Not sure if there is a
> > good reason to do otherwise, or to do this specifically, except I have
> > dealt with having the top left of each component(in Java) be 0,0 for
> > everything inside of it, instead of a global 0,0 being in effect
> > everywhere. And we should be allowed to go 'off' the screen, aka move
> > things so that at least part of them, or even all of them I suppose are
> > not displayed. this then begs the question, shouldn't there be some way
> > that the user can pull any or all of them back to where they can be
> > seen/manipulated? yes, perhaps, but maybe that is best left up to the
> > windowmanager, all we should do in the lower levels is be able to tell
> > the windowmanager/something above is that we have window x,y,z that are
> > beyond the edge and is not being displayed at all, or something similar
> > to that.
>
> Most toolkits I've have worked with have used the top left as the (0,0)
> origin. I prefer this and I feel it's intuitive. IMO I think the origins
> should be relative to the objects container be it a window or the
> desktop itself.
>
So what you are saying here is have the 'layered' origin system, with having
the main screen have 0,0, then having each window have its own 0,0 for
contained components, right?
Aaron
----------------------------------------------------------------------
This mail sent through Toaster-Horde (https://qmailtoaster.clikka.com/)
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved