summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-07-11 21:42:15 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-07-11 21:42:15 +0000
commit2823963703949ac3f5358188f2e053d72813701a (patch)
treee4123a6946499c14e44e467c0b31981f8524492c /demos
parent5fc106081f0649f770f7ff94359a3d571e45384c (diff)
downloadgtk+-2823963703949ac3f5358188f2e053d72813701a.tar.gz
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.
Diffstat (limited to 'demos')
0 files changed, 0 insertions, 0 deletions