X-Git-Url: https://eleni.mutantstargoat.com/git/?p=winnie;a=blobdiff_plain;f=src%2Fwinnie.cc;h=25d2ae3fab0af8c68b453b24026a9cb433331e5b;hp=4f068bae2740f87c697dca845492306b52803948;hb=52044efd7717f4b02bd463c9a26f83c9a41953ea;hpb=f71618aebfa6b8754dd056689a6c5821b755972c diff --git a/src/winnie.cc b/src/winnie.cc index 4f068ba..25d2ae3 100644 --- a/src/winnie.cc +++ b/src/winnie.cc @@ -1,4 +1,6 @@ #include "winnie.h" +#include "keyboard.h" +#include "mouse.h" bool winnie_init() { @@ -6,6 +8,18 @@ bool winnie_init() return false; } + if(!init_keyboard()) { + return false; + } + + if(!init_mouse()) { + return false; + } + + if(!init_text()) { + return false; + } + wm->invalidate_region(get_screen_size()); return true; } @@ -13,4 +27,6 @@ bool winnie_init() void winnie_shutdown() { destroy_gfx(); + destroy_keyboard(); + destroy_mouse(); }