On Fri, 20 Jul 2001, Juergen Vigna wrote:
> Hmm, probably it will not work, but then it's just stupid IMO! I just
> want some metrics which surely are not dependant from anything (draw==false)
> and I'm not able to get them. IMO we should add this static methods to be
> able to call them without
On Fri, Jul 20, 2001 at 12:54:33PM +0200, Juergen Vigna wrote:
>
> On 20-Jul-2001 Angus Leeming wrote:
>
> > Only if buttonText is a static method. From a quick look, it isn't. (But the
> > compiler will bomb out if it doesn't like it.)
>
> Hmm, probably it will not work, but then it's just s
On 20-Jul-2001 Angus Leeming wrote:
> Only if buttonText is a static method. From a quick look, it isn't. (But the
> compiler will bomb out if it doesn't like it.)
Hmm, probably it will not work, but then it's just stupid IMO! I just
want some metrics which surely are not dependant from anythi
On Friday 20 July 2001 11:19, Juergen Vigna wrote:
> Have a look at this function:
>
> int InsetCollapsable::width_collapsed(Painter & pain, LyXFont const &) const
> {
> int width;
> int ascent;
> int descent;
> pain.buttonText(TEXT_TO_INSET_OFFSET, 0, label, label
Have a look at this function:
int InsetCollapsable::width_collapsed(Painter & pain, LyXFont const &) const
{
int width;
int ascent;
int descent;
pain.buttonText(TEXT_TO_INSET_OFFSET, 0, label, labelfont, false,
width, ascent, descent);