On 21 Dec 2000, Lars Clausen wrote:

> On Thu, 21 Dec 2000, Vlad Harchev wrote:
> 
> > 
> >  Hi,
> > 
> >  I use very dark Gtk theme (SatinBlack). All icons that use black are
> >  almost invisible on the very dark "buttons" they are placed on. I'm
> >  going to modify dia so that it will use default text forgeground color
> >  or color of text foreground of some special named widget defined in
> >  .gtkrc (e.g.  "icon-foreground-color") instead of black for icons. Would
> >  you accept the patch that adds this functionality? If yes, could you
> >  please tell me the approximate name of the file and function that
> >  creates "palette" icons so that I won't need to grep around all dia
> >  tree?
> 
> The icons are stored as pixmaps (.xpm) files in pixmaps directories,
> e.g. for the standard tools, they are in objects/standard/pixmaps.
> However, most of them are not generated, so it'll require some picture
> trickery to make them another color.  The generated icons are from
> app/color_area.c, linewidth_area.c and lineprops_area.c.  If you can get
> all this to work well, I'm sure a patch will be appreciated.

 Thank you for the explanation.
 Where do the icons get loaded (where gdk_pixmap_colormap_create_from_xpm_d is
called that is relevant to icons) ?
 
> -Lars
> 
> -- 
> Lars Clausen (http://shasta.cs.uiuc.edu/~lrclause) | H�rdgrim of Numenor
> "I do not agree with a word that you say, but I    | Retainer of Sir Kegg
> will defend to the death your right to say it."    |   of Westfield
>     --Evelyn Beatrice Hall paraphrasing Voltaire   | Chaos Berserker of Khorne
> 

 Best regards,
  -Vlad

Reply via email to