[comp.sys.amiga.programmer] Need help with screens and diskfonts.

TCampbell@cup.portal.com (Thomas W Campbell) (05/29/91)

     I'm writing a program, and I'd like to use the screen title bar to
display information.  Is there a way to do this?  I don't plan on using
menus, if that makes any difference.
 
     Also, if anybody has the 'correct' way to open a DiskFont, I'd
like to see some code for that also.  I remember that ?C. McManis? used
to post every once in a while on this subject.
 
Thank you,
____
 /Campbell@cup.portal.com
 
TCampbell@cup.portal.com

jpotter@ucs.adelaide.edu.au (Jonathan Potter) (05/30/91)

In article <42753@cup.portal.com> TCampbell@cup.portal.com (Thomas W Campbell) writes:
>
>     I'm writing a program, and I'd like to use the screen title bar to
>display information.  Is there a way to do this?  I don't plan on using
>menus, if that makes any difference.

You can use SetWindowTitles() to change the text in the screen title bar,
but that doesn't allow for any graphics per se. I have done it (and I don't
know how legal it is) this way..

struct Screen *screen;
struct RastPort *barrp;

.
.
.

barrp=screen->BarLayer->rp;


Jon
-- 
| Jon Potter      |                              | I'd really like to      |
| P.O. Box 289    | jpotter@itd.adelaide.edu.au  |   change the world...   |
| Goodwood, SA    | FidoNet : 3:680/829          | But they won't give me  |
| Australia  5034 |                              |   the source code.      |