/*
static char *messages[] = {
    "Blitter Overheating!",
    "Blitter Temperature Critical!",
    "CPU Load Critical!",
    "System Overloaded - Please Log Out.",
    "Use Me."
};
*/
#include    <intuition/intuition.h>
#include    "execdef.h"
#include    "intuidef.h"
#include    "windowinfo.h"

#include    "PrintMessage.proto"

#include    <graphics/proto.h>

void
PrintMessage(window, message, line_num, pen)
    Window *window;
    char *message;
    short line_num;
    unsigned char pen;
{
    RastPort *rport;

    rport = window->RPort;
    SetAPen(rport, pen);
    Move(rport, (short)(WINDOWINFO(window)->leftedge + 2), (short)((rport->TxHeight+2) * line_num + WINDOWINFO(window)->topedge + 2));
    Text(rport, message, strlen(message));
}
