Hi,

Attached below is a patch that enhances the GVim windows user
interface a little bit.
The enhancements are:
- enable loading png files for toolbar icons (giving full alpha
transparency and frees the user from having to mark the transparent
background with pink background ;), requires at least Windows 2000
(since it uses ImageList to enable the transparency) and libpng.h,
libpng.lib from PNGLib [1] put in the src folder.
- draw the toolbar as a rebar (requires at least Windows XP since it
uses window subclassing)

Also attached is a sample screenshot showing the alpha transparency
working. Note that the required image size is 16x16 (not 18x18 as in
the default vim source). The icons in the picture are from fugue icons
set [2].

While I don't expect this to be applied to the main vim source, I'm
sharing this for anyone that want it.

Regards.

[1] http://www.madwizard.org/programming/projects/pnglib
[2] http://p.yusukekamiyamane.com/

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Attachment: winui.patch
Description: Binary data

<<attachment: toolbar.png>>

Raspunde prin e-mail lui