colors in pixmap
- From: Marco Lettere <lettere di unipi it>
- To: <gtk-list gnome org>
- Subject: colors in pixmap
- Date: Fri, 1 Feb 2002 09:28:16 +0100 (CET)
hello everyone,
suppose I've a pixmap with a color which I want to modify with 3 slider
widgets for RGB.
The way I'm performing it now is to destroy the old pixmap, change the xpm
C structure and then recreate the pixmap with the new data.
Isn't there a better way (less expensive) of performing this operation
I'm thinking about something like
gtk_pixmap_update_color(Gtkpixmap* pix,int colorIndex,GdkColor* newColor);
thanx,
M.
____ _____
| _ \ ___ ___ _ __| ____|
| | | |/ __/ _ \| '__| _|
| |_| | (_| (_) | | | |___
|____/ \___\___/|_| |_____|
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]