Re: Color icons in tkined

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Sun, 24 Dec 1995 14:06:23 +0100

Hi!

"Brevoort A.J.J" <A.J.J.Brevoort@research.kpn.com> said:

Brevoort> Wouldn't it be nice if... the icons in tkined could
Brevoort> have color. Meaning, not just colored b/w bitmaps, but
Brevoort> say, tiny GIF files. Is this very hard to do?

There are two issues to consider when adding colored icons to Tkined:

1) A solution must provide a reasonable interface for monochrome displays.

2) A solution must allow to create PostScript output.

Doing this in a reasonable way requires to write some C code (or to
wait until John O. supports PostScript for image types). For demo
purposes, you can hack Object.tcl to create images instead of
bitmaps. This should not be too hard, at least if you are familiar
with Tcl/Tk.

Juergen