projects
/
winnie
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
25d2ae3fab0af8c68b453b24026a9cb433331e5b
[winnie]
/
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
if(!init_text()) {
20
return false;
21
}
22
23
wm->invalidate_region(get_screen_size());
24
return true;
25
}
26
27
void winnie_shutdown()
28
{
29
destroy_gfx();
30
destroy_keyboard();
31
destroy_mouse();
32
}