]> Pileus Git - ~andy/gtk/commit
Win32 changes, still doesn't build though.
authorTor Lillqvist <tml@iki.fi>
Tue, 11 Jul 2000 21:42:15 +0000 (21:42 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 11 Jul 2000 21:42:15 +0000 (21:42 +0000)
commit2823963703949ac3f5358188f2e053d72813701a
treee4123a6946499c14e44e467c0b31981f8524492c
parent5fc106081f0649f770f7ff94359a3d571e45384c
Win32 changes, still doesn't build though.

2000-07-12  Tor Lillqvist  <tml@iki.fi>

Win32 changes, still doesn't build though.

* gdk/makefile.cygwin
* gdk/win32/makefile.cygwin
* gtk/makefile.cygwin: Updates.

* gdk/win32/gdkgc-win32.c (_gdk_win32_gc_new): Use the same
default values for fg and bg pixel as X11 does (0 and 1), not
black and white. Use PS_ENDCAP_FLAT and PS_JOIN_MITER by default.
Use 0 for pen width by default (treated as 1 anyway later, but for
apps that might check the value in the GdkGC).
(gdk_win32_hdc_get, gdk_win32_hdc_release): New functions, public
interface to gdk_gc_predraw and _postdraw.

* gdk/win32/gdkwin32.h
* gdk/gdk.def: Add gdk_win32_hdc_{get,release}.

* gdk/win32/gdkcolor-win32.c (gdk_colormap_alloc1): Remove
extraneous semicolon.

* gdk/win32/gdkdrawable-win32.c: Check also for pen_width == 0.

* gdk/win32/gdkimage-win32.c (gdk_image_new): Use the visual's depth,
not the Win32 bitspixel value.
18 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdk.def
gdk/makefile.cygwin
gdk/win32/gdkcolor-win32.c
gdk/win32/gdkdrawable-win32.c
gdk/win32/gdkfont-win32.c
gdk/win32/gdkgc-win32.c
gdk/win32/gdkimage-win32.c
gdk/win32/gdkwin32.h
gdk/win32/makefile.cygwin
gdk/win32/makefile.msc
gtk/makefile.cygwin