mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 05:01:09 +00:00
5a4e1abbfc
2000-03-04 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkprivate-win32.h (struct _GdkWindowWin32Data): Store just pixel value of background colour. * gdk/win32/gdkgc-win32.c (gdk_colormap_color): New function containing code snippet previously duplicated in a couple of places. * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_points): Use gdk_colormap_color. * gdk/win32/gdkevents-win32.c (gdk_event_translate): Generate GDK_SCROLL events for WM_MOUSEWHEEL messages. Don't generate events for autorepeated Shift, Control and Alt keys. Use gdk_colormap_color. * gdk/win32/gdkwindow-win32.c (gdk_window_set_cursor): If the pointer is inside the window the cursor of which we are setting, call SetCursor immediately. * gdk/win32/makefile.cygwin * gtk/makefile.cygwin: If we don't have the build number stamp file, use zero. * gtk/gtkcompat.h.in: Define gtk_paned_gutter_size and gtk_paned_set_gutter_size as empty. * gtk/gtk.def: Remove gtk_paned_set_gutter_size.
38 lines
1.7 KiB
Plaintext
38 lines
1.7 KiB
Plaintext
The Win32 port of GTk+ is a work in progress, and not as stable or
|
|
correct as the Unix/X11 version. For more information about the Win32
|
|
port, see http://www.gimp.org/tml/gimp/win32/ or
|
|
http://www.iki.fi/tml/gimp/win32/ .
|
|
|
|
To build GTk+ on Win32, you need either the Microsoft compiler and
|
|
tools, or gcc-2.95 or later running under cygwin-b20.1 or
|
|
later. Compile in gdk\win32, gdk and gtk with `nmake -f makefile.msc` or
|
|
`make -f makefile.cygwin`.
|
|
|
|
See the README.win32 file in the GLib distribution for instructions
|
|
how to build with gcc.
|
|
|
|
To use GTk+ on Win32, you also need either of the above mentioned
|
|
compilers. Other compilers might work, but don't count on it. The
|
|
same instructions on how to set up a correct version of gcc should
|
|
also be followed if you want to build applications that use GTk+ with
|
|
gcc.
|
|
|
|
The tablet support uses the Wintab API. The Wintab development kit can
|
|
be downloaded from http://www.pointing.com. If you don't care for
|
|
that, undefine HAVE_WINTAB in config.h.win32 and remove references to
|
|
the wntab32x library from the makefile before building.
|
|
|
|
GTk+ wants to be built with the GNU "intl" library for
|
|
internationalisation (i18n). Get the version ported to Win32 (not a
|
|
very big deal) from tml's web site mentioned above. We build the
|
|
"intl" library as a DLL called gnu-intl.dll (the "gnu" prefix is used
|
|
to reduce name clash risks). If you don't want any i18n stuff,
|
|
undefine ENABLE_NLS, HAVE_GETTEXT and HAVE_LIBINTL in the
|
|
config.h.win32 file, and remove references to the gnu-intl library
|
|
from the makefiles.
|
|
|
|
Note that while the GNU gettext package is under the GPL, the "intl"
|
|
part of it as distributed with GNU libc is under the LGPL (like GTk+
|
|
or GLib). We want the LGPL one, even if they are the same, more or
|
|
less.
|