[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]

Re: [zzdev] View change



Tuomas Lukka schrieb:
> 
> On Fri, 10 Nov 2000, Benjamin Fallenstein wrote:
> 
> >
> > I wrote:
> > > (Would mean cell views would need to be able to construct flobs given
> > > visual center & dimensions, instead of UL corner & dimensions. But that
> > > *does* make sense for many views.)
> >
> > More to the point, both makeFlob and placeFlob should take two
> > "alignment" integers specifying where the x/y coordinate is in the flob.
> > 0 means visual center, -1 means left/top, +1 means right/bottom.
> 
> Doesn't placeflob do just this?

No. It doesn't layout from the "visual center," and it doesn't take
sizes. Have a look at the methods I added to the CellFlobFactories and
how I use them in the now-half-working-though-crashing-and-awfully-slow
EnumVanishingView and you'll see what I mean (probably ;o}).

-b.