From a43e48ea904e764b9b7272230d4cd9e51e0505d6 Mon Sep 17 00:00:00 2001 From: fliep Date: Sun, 24 May 2009 10:34:37 +0000 Subject: [PATCH] Added dummy functions glk_style_distinguish() and glk_request_mouse_event() --- libchimara/Makefile.am | 1 + libchimara/mouse.c | 6 ++++++ libchimara/style.c | 8 +++++++- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 libchimara/mouse.c 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; +} -- 2.30.2