[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: Toolbar and transparent icons



On 2007-03-30, Katsumi Yamaoka said:

>> The fact that the default toolbar can
>
> Do you really use PNG images for the default toolbar in LUCID
> Emacs?  There's no PNG file used for toolbars in the Emacs CVS
> source tree.  In my LUCID Emacs, it uses XPM icons as follows:

I patched Emacs with a patch posted in emacs-devel list some time ago,
which enable support for png icons. Icons are then replaced with its
png version from gnome-icon-theme 2.18. If you look at the screenshot
I posted in OT, you will see shadows in icons such as "Close", "Undo"
and "Preferences", that effect is very difficult to have for XPM
images. So to sum up, Lucid Emacs displays transparent png icons just
fine.

,----[ ldd emacs-23.0.0.7 ]
| linux-gate.so.1 =>  (0x007bb000)
| libXaw.so.7 => /usr/lib/libXaw.so.7 (0x4a250000)
| libXmu.so.6 => /usr/lib/libXmu.so.6 (0x4a779000)
| libXt.so.6 => /usr/lib/libXt.so.6 (0x4a71f000)
| libSM.so.6 => /usr/lib/libSM.so.6 (0x4cde7000)
| libICE.so.6 => /usr/lib/libICE.so.6 (0x4cd9e000)
| libXext.so.6 => /usr/lib/libXext.so.6 (0x4a233000)
| libtiff.so.3 => /usr/lib/libtiff.so.3 (0x4d35f000)
| libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4cc3e000)
| libpng12.so.0 => /usr/lib/libpng12.so.0 (0x4c35b000)
| libz.so.1 => /usr/lib/libz.so.1 (0x4c05b000)
| libm.so.6 => /lib/libm.so.6 (0x4c019000)
| libungif.so.4 => /usr/lib/libungif.so.4 (0x4a8c1000)
| libXpm.so.4 => /usr/lib/libXpm.so.4 (0x4a818000)
| libX11.so.6 => /usr/lib/libX11.so.6 (0x4a12f000)
| libXft.so.2 => /usr/lib/libXft.so.2 (0x4a9c1000)
| libXrender.so.1 => /usr/lib/libXrender.so.1 (0x4a245000)
| libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4c32a000)
| libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x4c285000)
| libc.so.6 => /lib/libc.so.6 (0x4bed4000)
| libgif.so.4 => /usr/lib/libgif.so.4 (0x4a8b6000)
| libXau.so.6 => /usr/lib/libXau.so.6 (0x4c227000)
| /lib/ld-linux.so.2 (0x4beb7000)
| libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x4c11b000)
| libdl.so.2 => /lib/libdl.so.2 (0x4c013000)
| libexpat.so.0 => /lib/libexpat.so.0 (0x4c307000)
`----

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)