From: | Gill & Tony Rolfe |
Date: | 28 Aug 2001 at 07:37:47 |
Subject: | Windows and fonts and stuff like that. |
I have one screen - Screen 0. There are two windows attached to
the screen. Window 0 is borderless, backdrop and always open.
Window 1 gets opened and closed as needed.
The order of things happening is Open Screen 0, Open Window 0,
open and close window 1 as needed.
I have a function TextLength{Text} which looks like:
Function.w TextLength{Text$}
*rp.RastPort = RastPort (Used Window)
Function Return TextLength_(*rp, &Text$, Len(Text$))
End Function
When Window 0 is active, *rp\Font\tf_XSize is 11 (which is correct)
When Window 1 is active, *rp\Font\tf_XSize is 8 (which aint!)
Anybody got any ideas why this should be so?
Tony Rolfe
For Gill & Tony Rolfe
EDGEWATER MOTEL
1 Princess Avenue South
BURRILL LAKE NSW 2539
Phone: +61 2 4455 2604
Fax: +61 2 4454 4095
http://www.shoalhaven.net.au/edgewater
---------------------------------------------------------------------
To unsubscribe, e-mail: blitz-list-unsubscribe@netsoc.ucd.ie
For additional commands, e-mail: blitz-list-help@netsoc.ucd.ie