[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
Re: [zzdev] View change
- To: Tuomas Lukka <lukka@xxxxxxxxxx>
- Subject: Re: [zzdev] View change
- From: Benjamin Fallenstein <b.fallenstein@xxxxxx>
- Date: Sun, 12 Nov 2000 12:49:28 +0100
- Cc: zzdev@xxxxxxxxxx
- References: <Pine.HPP.3.96.1001112122656.13006B-100000@xxxxxxxxxxxxxx>
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}).