]> Pileus Git - ~andy/gtk/commit
Build Wintab support always on Windows. Don't require the Wintab SDK.
authorTor Lillqvist <tml@novell.com>
Fri, 19 Jan 2007 01:55:52 +0000 (01:55 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Fri, 19 Jan 2007 01:55:52 +0000 (01:55 +0000)
commitf6b4585c98c2cf2588926be0065d4a1e9b909d3e
tree6db15cdcfa73f9e23e81d61c582394abc02961af
parentf1ce05caa9d04fe67e0872c7b09e35be25c7fc1b
Build Wintab support always on Windows. Don't require the Wintab SDK.

2007-01-19  Tor Lillqvist  <tml@novell.com>

Build Wintab support always on Windows. Don't require the Wintab
SDK.

* configure.in: Drop the --with-wintab option. Drop the
HAVE_WINTAB feature test macro and Automake variable.

* acconfig.h
* config.h.win32.in: Drop HAVE_WINTAB.

* gdk/win32/gdkevents-win32.c
* gdk/win32/gdkinput.c
* gdk/win32/gdkinput-win32.h
* gdk/win32/gdkinput-win32.c
* gdk/win32/gdkmain-win32.c: Make HAVE_WINTAB ifdef blocks
unconditional.

* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Try
to load wintab32.dll dynamically here. If it is found look up the
handful Wintab functions we use.
(rest of file): Use these function pointers instead of calling the
functions from wntab32x.lib. The code in wntab32x.lib did the same
thing anyway: tried to load wintab32.dll, and looked up the
addresses of the actual functions from it.

* gdk/Makefile.am
* gdk/win32/Makefile.am: Drop the libwntab32x hacks.

* gdk/win32/wintab.h
* gdk/win32/pktdef.h: New files. Copied from the Wintab
SDK. Copyright blurb says: "The text and information contained in
this file may be freely used, copied, or distributed without
compensation or licensing restrictions."

* README.win32: Update a bit. Remove the text about the Wintab
SDK.

svn path=/trunk/; revision=17186
14 files changed:
ChangeLog
README.win32
acconfig.h
config.h.win32.in
configure.in
gdk/Makefile.am
gdk/win32/Makefile.am
gdk/win32/gdkevents-win32.c
gdk/win32/gdkinput-win32.c
gdk/win32/gdkinput-win32.h
gdk/win32/gdkinput.c
gdk/win32/gdkmain-win32.c
gdk/win32/pktdef.h [new file with mode: 0644]
gdk/win32/wintab.h [new file with mode: 0644]