]> Pileus Git - ~andy/gtk/commit
Rename the variables for the color bitmap to have "color" in their name,
authorTor Lillqvist <tml@novell.com>
Thu, 3 Nov 2005 13:29:30 +0000 (13:29 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 3 Nov 2005 13:29:30 +0000 (13:29 +0000)
commit5551fc67543356cee95ee9d46fbcfda728ac9a5c
tree7a28557d7b90e93a90db36c14acd6fc90fd9a81e
parent3d18823ae12fbbae01006c2506bff82066c4b43b
Rename the variables for the color bitmap to have "color" in their name,

2005-11-03  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkcursor-win32.c (pixbuf_to_hbitmaps_alpha_winxp):
Rename the variables for the color bitmap to have "color" in their
name, for similarity with pixbuf_to_hbitmaps_normal(). Create a
color bitmap for the mask, too, instead of creating a b&w bitmap
with CreateBitmap(). Set up the mask bitmap's contents, ones for
those pixels in the color bitmap where the alpha is zero, zero for
other pixels. We used to use an unitialized mask bitmap! This
meant that icons and cursors created presumably worked more or
less by accident. Totally blank icons with zero alpha everywhere
(as used by gtktrayicon.c) definitely did not work as expected.
ChangeLog
ChangeLog.pre-2-10
gdk/win32/gdkcursor-win32.c