Added dummy functions glk_style_distinguish() and glk_request_mouse_event()
authorfliep <fliep@ddfedd41-794f-dd11-ae45-00112f111e67>
Sun, 24 May 2009 10:34:37 +0000 (10:34 +0000)
committerfliep <fliep@ddfedd41-794f-dd11-ae45-00112f111e67>
Sun, 24 May 2009 10:34:37 +0000 (10:34 +0000)
libchimara/Makefile.am
libchimara/mouse.c [new file with mode: 0644]
libchimara/style.c

index 63af53e31d2e4ecbc45e2813efbf02e6c5663dea..87f0498a561992a6eba3a9031a2004e371b19459 100644 (file)
@@ -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 (file)
index 0000000..7025e33
--- /dev/null
@@ -0,0 +1,6 @@
+#include <libchimara/glk.h>
+
+void
+glk_request_mouse_event(winid_t win)
+{
+}
index 3219d265c547401f49a78e02f2131afbf516820f..c3a8e43f9bafd67e018de7cc10a72e7f9435a117 100644 (file)
@@ -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;
+}