[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggest improve tool-bar
>>>>> In [emacs-w3m : No.09124] Leo wrote:
(B> I just compiled a LUCID-Emacs. It displays *transparent* png properly
(B> and it displays *disabled* look buttons properly too. I took a
(B> screenshot and open a menu to show that is LUCID-Emacs.
(BAlthough you seem to still use XPM icons. In my LUCID Emacs 22
(Band also 21, the backgrounds of the PNG version of emacs-w3m
(Bicons don't look transparent. I made those icons as follows:
(Bxpmtoppm FOO.xpm| pnmtopng -transparent=#b6b2b6 -compression=9> FOO.png
BTW, I verified GTK Emacs displays those backgrounds transparently.
(B> I think as long as (image-type-available-p 'png) returns t, it should
(B> be safe to use png icons.
(BI think it is better to use something like
(Bor other. In other words, I think PNG icons can probably be
(Bused for the toolbar if GTK supports PNG even if Emacs has not
(Bbeen built with libpng. Although I don't know the way to check
(Bwhether libgtk supports PNG.
(B> So your patch for the tool-bar can be applied to CVS emacs-w3m ;)
(BNow I'm urged to do it. ;) Maybe it will take a couple of days.
(B> (I really don't know why Emacs can't display properly transparent png
(B> in buffer.)