projects
/
winnie
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
*in progress*
[winnie]
/
src
/
winnie.cc
1
#include "winnie.h"
2
#include "keyboard.h"
3
#include "mouse.h"
4
5
bool winnie_init()
6
{
7
if(!init_gfx()) {
8
return false;
9
}
10
11
if(!init_keyboard()) {
12
return false;
13
}
14
15
if(!init_mouse()) {
16
return false;
17
}
18
19
wm->invalidate_region(get_screen_size());
20
return true;
21
}
22
23
void winnie_shutdown()
24
{
25
destroy_gfx();
26
destroy_keyboard();
27
destroy_mouse();
28
}