gtk/gdk/win32
Alexander Larsson 2ae574ab6d win32: Let cairo create DIBs for GdkPixmap
The win32 code for GdkPixmap dib creation workes as such, but
when creating a cairo surface for it with cairo_win32_surface_create
from the HDC it fails for any bitmap format than RGB24, due to
assumptions in cairo.

In order to create a cairo surface for e.g. A1 formats we need
to let cairo create the surface via cairo_win32_surface_create_with_dib.
Additionally, we must then make sure to use this surface in
gdk_drawable_ref_cairo_surface, and to not create a new HDC for
it but reuse the cairo one (as only one HDC can write to a bitmap).

Even with this fixed there are some issues with current cairo, as
cairo A1 format isn't quite the same as win32 monochrome bitmaps.
Fixes for cairo will be submitted.
2011-11-09 13:33:19 +01:00
..
rc Add git.mk to generate .gitignore files 2009-05-04 14:29:21 -04:00
bdfcursor.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
cursor.bdf Committing changes to the source bdf font file that I forgot to commit 2007-08-17 03:40:39 +00:00
gdkapplaunchcontext-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkcolor-win32.c Do not use static GTypeInfo and GInterfaceInfo 2009-11-06 01:21:09 +01:00
gdkcursor-win32.c win32: GDIFlush before accessing pixmap bits 2011-11-09 13:33:18 +01:00
gdkdisplay-win32.c win32: Fix some warnings 2011-11-02 16:49:55 +01:00
gdkdnd-win32.c win32: Fix DnD when drag icon is below the pointer 2011-09-27 22:22:14 +02:00
gdkdrawable-win32.c win32: Fix up error message 2011-11-09 13:33:18 +01:00
gdkdrawable-win32.h Use G_DEFINE_TYPE (GdkDrawableImplWin32, ...) 2009-07-26 19:14:07 +02:00
gdkevents-win32.c win32: Fix some warnings 2011-11-02 16:49:55 +01:00
gdkfont-win32.c win32: Fix some warnings 2011-11-02 16:49:55 +01:00
gdkgc-win32.c win32: Fix some warnings 2011-11-02 16:49:55 +01:00
gdkgeometry-win32.c win32: Never pass SWP_NOSIZE or SWP_NOMOVE to SetWindowPos 2010-08-27 20:38:01 +02:00
gdkglobals-win32.c win32: Ignore client requested window move/size during SIZEMOVE 2011-10-25 16:13:47 +02:00
gdkim-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdkimage-win32.c Do not use static GTypeInfo and GInterfaceInfo 2009-11-06 01:21:09 +01:00
gdkinput-win32.c win32: Fix some warnings 2011-11-02 16:49:55 +01:00
gdkinput-win32.h win32: Make WINTAB support work 2011-11-01 12:38:15 +01:00
gdkinput.c win32: Make WINTAB support work 2011-11-01 12:38:15 +01:00
gdkkeys-win32.c Fix a compatibility problem 2010-02-12 18:55:42 -05:00
gdkmain-win32.c Prefer MessageBeep() over Beep() 2010-11-07 22:38:20 +01:00
gdkpixmap-win32.c win32: Let cairo create DIBs for GdkPixmap 2011-11-09 13:33:19 +01:00
gdkpixmap-win32.h Cleanup. (#169648, Fabricio Barros Cabral) 2005-06-12 05:32:25 +00:00
gdkprivate-win32.h win32: Make WINTAB support work 2011-11-01 12:38:15 +01:00
gdkproperty-win32.c gdk: Add XSetting for "gtk-cursor-blink-timeout" 2010-11-15 17:20:02 +00:00
gdkscreen-win32.c Implement gdk_screen_get_primary_monitor in all GDK backends 2009-12-13 20:40:02 -05:00
gdkselection-win32.c win32: fix pasting screenshots taken with PrintScreen or Alt+PrintScreen 2011-11-04 15:37:52 +01:00
gdkspawn-win32.c Include "config.h" instead of <config.h> Command used: find -name 2008-06-22 14:28:52 +00:00
gdktestutils-win32.c New file, dummy implementations. 2007-11-25 22:25:18 +00:00
gdkvisual-win32.c Do not use static GTypeInfo and GInterfaceInfo 2009-11-06 01:21:09 +01:00
gdkwin32.h win32: Add gdk_win32_window_get_impl_hwnd 2011-10-28 11:05:53 +02:00
gdkwin32id.c Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 23:21:36 +00:00
gdkwindow-win32.c win32: Fix some warnings 2011-11-02 16:49:55 +01:00
gdkwindow-win32.h win32: Make WINTAB support work 2011-11-01 12:38:15 +01:00
libwntab32x.la Add headers. Add section about ActiveIMM. 2001-11-08 20:57:18 +00:00
Makefile.am Add git.mk to generate .gitignore files 2009-05-04 14:29:21 -04:00
makefile.msc Update mscv/win32 build 2010-08-27 20:34:23 +02:00
pktdef.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00:00
wintab.h Build Wintab support always on Windows. Don't require the Wintab SDK. 2007-01-19 01:55:52 +00:00
xcursors.h Bug 544684 - Win64 issue, window handles are assumed to be 32-bit 2008-08-04 23:21:36 +00:00