aboutsummaryrefslogtreecommitdiff
path: root/src/libdraw/nowsys-init.c
blob: 003238fd05ea796eb399739ce21ee80a3101f35e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#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();
}