Re: How to change color in a pixmap?
- From: Havoc Pennington <hp redhat com>
- To: Alexei Kaminski <kaminski tpi umn edu>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: How to change color in a pixmap?
- Date: 13 Jun 2001 00:44:33 -0400
Alexei Kaminski <kaminski tpi umn edu> writes:
Browsing the documentation, I was able to figure out a couple of awkward
ways,
but is there an elegant way? I would like to avoid using the actual size
of the
pixmap in this procedure, since I have buttons (and pixmaps) of
different
sizes.
Since your images are one-color, I'd suggest discarding the pixmap and
just using its mask as the clip mask to draw a colored rectangle.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]