home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
printer
/
graphpaper
/
src
/
src.lha
/
messages.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-06
|
486b
|
26 lines
#include "graph.h"
char messagebuf[100]; /* for general use to store messages */
/* Routines for displaying messages to the user. */
/* These just write to the title for now, because it's so easy. */
/* I should really do something fancier. */
static void settitle(char *msg)
{
SetWindowTitles(wG, (UBYTE *)msg, NULL);
}
void initmessage(void)
{
settitle("GraphPaper v" VERSION);
}
void message(char *msg)
{
settitle(msg);
}