home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!serpens!not-for-mail
- From: mlelstv@serpens.rhein.de (Michael van Elst)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Changing font in a CON: window
- Date: 29 Jan 1996 01:11:15 +0100
- Organization: dis-
- Message-ID: <4eh3b3$cpr@serpens.rhein.de>
- References: <4e2db8$9fc@Helene.OLEANE.NET> <600.6596T1310T1893@mbox3.swipnet.se> <4tV-x*Zxf@yaps.rhein.de>
- NNTP-Posting-Host: serpens.rhein.de
-
- arno@yaps.rhein.de (Arno Eigenwillig) writes:
-
- >Question is, what does SetFont do (I suppose it obtains the handler's
- >IOStdReq through ACTION_DISK_INFO, then follows the pointer to the
- >ConUnit structure and plays arount with cu_Font there), and is an
- >application allowed to do that itself (I suppose no) ?
-
- It uses ACTION_DISK_INFO to obtain the Window pointer and then sets
- the font.
-
- Setting the font is allowed (the Window pointer is there so that you
- can use the window's RastPort for rendering, and that includes
- changes to the font).
-
- As of Kickstart1.2 the OS really supports this because the initial
- font is recorded in the IFont field of the Window structure.
-
- Regards,
- --
- Michael van Elst
-
- Internet: mlelstv@serpens.rhein.de
- "A potential Snark may lurk in every tree."
-