more nowsys
This commit is contained in:
parent
52fdc1a547
commit
c4553e9cd0
8 changed files with 250 additions and 0 deletions
|
|
@ -0,0 +1,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();
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue