Re: BufferView height

2002-07-10 Thread Juergen Vigna
John Levon wrote: > can we standardise on one or the other please ? (personally asking the > painter for metrics info seems odd) > For both width and height, that is Yes but you should wait for Lars as I already did such a proposal and he didn't like it, so ... > Why can't this list of rows be

Re: BufferView height

2002-07-10 Thread John Levon
On Wed, Jul 10, 2002 at 03:14:42PM +0200, Juergen Vigna wrote: > Have a look at insettabular::draw(...) it is: > > bv->painter().paperHeight() can we standardise on one or the other please ? (personally asking the painter for metrics info seems odd) For both width and height, that is Why can'

Re: BufferView height

2002-07-10 Thread Angus Leeming
On Wednesday 10 July 2002 2:14 pm, Juergen Vigna wrote: > Have a look at insettabular::draw(...) it is: > > bv->painter().paperHeight() > > Hope this helps! Proof that being noisy and asking questions leads to success! Thank you. A

Re: BufferView height

2002-07-10 Thread Juergen Vigna
Angus Leeming wrote: > Am I right in saying that there's no way of accessing this info from outside > at the moment? Have a look at insettabular::draw(...) it is: bv->painter().paperHeight() Hope this helps! Jug -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-

Re: BufferView height

2002-07-10 Thread Angus Leeming
On Wednesday 10 July 2002 2:08 pm, Andre Poenitz wrote: > On Wed, Jul 10, 2002 at 01:40:40PM +0100, Angus Leeming wrote: > > Any objection to me adding this, analogous to the existing workWidth > > method? > > Not really. But that's not my play ground... > > Andre' It is if you want an efficient

Re: BufferView height

2002-07-10 Thread Andre Poenitz
On Wed, Jul 10, 2002 at 01:40:40PM +0100, Angus Leeming wrote: > Any objection to me adding this, analogous to the existing workWidth method? Not really. But that's not my play ground... Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve

BufferView height

2002-07-10 Thread Angus Leeming
Am I right in saying that there's no way of accessing this info from outside at the moment? Any objection to me adding this, analogous to the existing workWidth method? int BufferView::workHeight() const { return pimpl_->workarea().workHeight(); } I'd like to use it for this: typedef