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 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 the need to pass a Painter() to the methods.
This IS NEEDED if we want that InsetText is able to calculate/get the
space it can draw in. As this is now it will never be able to do this!
I also can explain why (as I just looked into the code to find a solution),
but well let's say "just believe me".
Jürgen
--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna E-Mail: [EMAIL PROTECTED]
Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen Web: http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
One picture is worth 128K words.