]> Pileus Git - ~andy/gtk/commit
Correct the appearance of non-square icons and cursors: pad them to square
authorTor Lillqvist <tml@novell.com>
Thu, 6 Apr 2006 10:34:15 +0000 (10:34 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 6 Apr 2006 10:34:15 +0000 (10:34 +0000)
commit886ca74ca2b92d2d5d525b2c889a889d5deb9c6b
treef91390b35ee4065baf3445e6867b618b7a747642
parent993ffce8427c84ea56e8b2131055628df65f9762
Correct the appearance of non-square icons and cursors: pad them to square

2006-04-06  Tor Lillqvist  <tml@novell.com>

Correct the appearance of non-square icons and cursors: pad them
to square so that Windows won't stretch them.

* gdk/win32/gdkcursor-win32.c (create_alpha_bitmap)
(create_color_bitmap): Always create square bitmaps, take only
side length as argument.
(pixbuf_to_hbitmaps_alpha_winxp, pixbuf_to_hbitmaps_normal):
Corresponding changes.
ChangeLog
ChangeLog.pre-2-10
gdk/win32/gdkcursor-win32.c