gtk2/gdk/win32
Tor Lillqvist ff99eb7cc1 Add an extra parameter so that we don't have to do unnecessary settings to
2000-02-13  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkgc-win32.c (gdk_gc_predraw): Add an extra parameter
so that we don't have to do unnecessary settings to the HDC.

* gdk/win32/gdkdrawable-win32.c
* gdk/win32/gdkimage-win32.c: Corresponding changes to the calls of
gdk_gc_predraw.

* gdk/win32/gdkdrawable-win32.c: Special-casing for GdkGCs where
the fill style is GDK_OPAQUE_STIPPLED. In those cases we construct
GDI paths, call WidenPath to get the outline of the stroken path,
and then fill the outline (with the brush that was built from the
stipple).

* gdk/win32/gdkgc-win32.c: Factor out common code from
_gdk_win32_gc_new and gdk_win32_gc_set_values into
gdk_win32_gc_values_to_win32values.

* gdk/win32/gdkmain-win32.c (gdk_win32_last_error_string,
gdk_win32_api_failed): New functions for error logging.

* gdk/win32/gdkprivate-win32.h: Declare them, and a macro
WIN32_API_FAILED to call them, passing function or file name and
line number.

* gdk/win32/*.c: Use the WIN32_API_FAILED macro.

* gdk/win32/gdkprivate-win32.h: Store just the pixel values from
GdkColor for foreground and background in GdkGCWin32Data.

* gdk/makefile.cygwin: Link in the resource object separately.

* gdk/win32/rc/gdk.rc
* gtk/gtk.rc (New file)
* gdk/win32/makefile.cygwin
* gtk/makefile.cygwin: Update build number in DLLs automatically,
as in GLib.
2000-02-13 14:52:47 +00:00
..
rc Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
.cvsignore .cvsignore additions 2000-01-21 21:57:14 +00:00
gdkcc-win32.c configure.in gdk/Makefile.am gdk/x11/Makefile.am Small fixes, thanks to 2000-01-15 16:04:54 +00:00
gdkcolor-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkcursor-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkdnd-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkdrawable-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkevents-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkfont-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkgc-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkglobals-win32.c Further hacking. Now actually compiles. Haven't tried yet whether 1999-11-20 01:22:57 +00:00
gdkim-win32.c Use g_filename_to_utf8 to convert the font names Windows gives us from 2000-02-03 01:19:03 +00:00
gdkimage-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkinput-win32.c gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
gdkinputprivate.h A few includes added for the picky MSVC compiler. 1999-10-02 22:53:45 +00:00
gdkmain-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkpixmap-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkprivate-win32.h Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkproperty-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkregion-win32.c Further hacking. Now actually compiles. Haven't tried yet whether 1999-11-20 01:22:57 +00:00
gdkselection-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
gdkvisual-win32.c Further hacking. Now actually compiles. Haven't tried yet whether 1999-11-20 01:22:57 +00:00
gdkwin32.h Remove, as this is a file generated by configure (or copied from 1999-11-21 22:56:37 +00:00
gdkwin32id.c Further hacking. Now actually compiles. Haven't tried yet whether 1999-11-20 01:22:57 +00:00
gdkwindow-win32.c Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
Makefile.am configure.in gdk/Makefile.am gdk/x11/Makefile.am Small fixes, thanks to 2000-01-15 16:04:54 +00:00
makefile.cygwin Add an extra parameter so that we don't have to do unnecessary settings to 2000-02-13 14:52:47 +00:00
makefile.msc gdk/Makefile.am Distribute Win32 files. 1999-12-11 23:41:46 +00:00
surrogate-dimm.h Just renamed the Win32 backend files to *-win32. 1999-11-10 00:04:17 +00:00