[haiku-commits] Re: Padding Problem in hrev54496 align BTextView text rect?

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 11 Aug 2020 17:14:52 +0200

Am 06/08/2020 um 18:11 schrieb John Scipione:

I see PulkoMandy went with the 4 byte BRect version instead of using a
pointer - that solves the 32/64 bit class size issue but now we're
down to just two more extra private member bytes. I'll have to look
into how we can extend the BTextView class to add more members. I'm
thinking of adding a BTextViewPrivate class along the lines of the
BMenuPrivate class. We'll need something like this to extend the class
further.

Yes, a private class would need to come next; the two int32 members are just enough to put a 64 bit pointer into :-)

Bye,
   Axel.

Other related posts: