From: fliep Date: Sun, 24 May 2009 10:34:37 +0000 (+0000) Subject: Added dummy functions glk_style_distinguish() and glk_request_mouse_event() X-Git-Tag: v0.9~381 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=a43e48ea904e764b9b7272230d4cd9e51e0505d6;p=projects%2Fchimara%2Fchimara.git Added dummy functions glk_style_distinguish() and glk_request_mouse_event() --- diff --git a/libchimara/Makefile.am b/libchimara/Makefile.am index 63af53e..87f0498 100644 --- a/libchimara/Makefile.am +++ b/libchimara/Makefile.am @@ -14,6 +14,7 @@ libchimara_la_SOURCES = \ gestalt.c \ glk.c glk.h \ magic.c magic.h \ + mouse.c \ input.c input.h \ stream.c stream.h \ strio.c \ diff --git a/libchimara/mouse.c b/libchimara/mouse.c new file mode 100644 index 0000000..7025e33 --- /dev/null +++ b/libchimara/mouse.c @@ -0,0 +1,6 @@ +#include + +void +glk_request_mouse_event(winid_t win) +{ +} diff --git a/libchimara/style.c b/libchimara/style.c index 3219d26..c3a8e43 100644 --- a/libchimara/style.c +++ b/libchimara/style.c @@ -199,4 +199,10 @@ glk_stylehint_set(glui32 wintype, glui32 style, glui32 hint, glsi32 val) void glk_stylehint_clear(glui32 wintype, glui32 styl, glui32 hint) { -} \ No newline at end of file +} + +glui32 +glk_style_distinguish(winid_t win, glui32 styl1, glui32 styl2) +{ + return styl1 != styl2; +}