Re: OT: the toolbar (tools.bmp) and building Vim on WinXP
Cream is a free, easy-to-use configuration of the Vim text editor
Brought to you by:
digitect
|
From: <dig...@mi...> - 2003-03-17 23:32:38
|
on 3/17/2003 6:14 PM Martin Karlsson said the following: > > Hi. First of all, this isn't really a cream question, I hope that's > ok (just this once). If not, I'll take this question over to the > regular vim-list. Here's better since it's our resource. > I followed the excellent mini-tutorial on compiling Vim on win32 > found on <URL:http://cream.sourceforge.net/vim.html>. (A very nice, > clear and easy-to-follow tutorial I might add; many thanks!) Thanks! > However, if I try to use the Gnome2 toolbar icon resource > (tools.bmp, <URL:http://cream.sourceforge.net/tools.bmp>), the > result is... well, just plain ugly. I believe this is a problem on > my end, but would like your help in debugging the problem. > > As I'm not on that machine right now, so I'm afraid I can't produce > a screenshot at the moment. The toolbar looks... eh... > non-transparent. I can see the actual images of the icons, but > they're against a hazy white-ish background. > > I notice that when the build is finished, I have a new .bmp in the > src dir, tools16.bmp, and I naturally suspect the issue is something > about the color-depth of... well, what? > > Any ideas, suggestions? (I take it if you're using our HowTo, you're on Windows.) Definitely sounds like a color depth problem. Try the attached 16 color .bmp and see how it works. For some reason, Vim's implementation on Windows can sometimes only handle transparency for 4-bit color bitmap resources. (All other platforms handle 24-bit!) -- Steve Hall [ dig...@mi... ] |