1
0
Fork 0
mirror of https://github.com/9fans/plan9port.git synced 2025-01-18 11:30:03 +00:00
plan9port/src/libdraw/nowsys-init.c
2005-03-15 20:26:30 +00:00

47 lines
530 B
C

#include <u.h>
#include <libc.h>
#include <draw.h>
#include <keyboard.h>
#include <mouse.h>
#include <cursor.h>
char *winsize;
static int
bad(void)
{
sysfatal("compiled with no window system support");
return 0;
}
Display*
_initdisplay(void (*error)(Display*, char*), char *label)
{
USED(error);
USED(label);
bad();
return nil;
}
int
getwindow(Display *d, int ref)
{
USED(d);
USED(ref);
return bad();
}
int
drawsetlabel(char *label)
{
USED(label);
return bad();
}
void
_flushmemscreen(Rectangle r)
{
bad();
}