colors in pixmap

2002-02-01 Thread Marco Lettere
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

colors in pixmap

2005-09-22 Thread sadhees kumar
Friends,    I want to draw lines and rectangles in pixmap with different colors . Afetr that, i will display the pixmap contend to drawing area. But, I do not know how to draw the lines with different colors.    can anyone help me?    Sample program will be more usefull..     Regards,

Re: colors in pixmap

2002-02-01 Thread rsteinke
From: Marco Lettere <[EMAIL PROTECTED]> > > 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. > Is

Re: colors in pixmap

2005-09-23 Thread Michael Ott
Hello Sadhees! >I want to draw lines and rectangles in pixmap with different > colors . Afetr that, i will display the pixmap contend to drawing area. But, I > do not know how to draw the lines with different colors. > > can anyone help me? > > Sample program will be more use

Re: colors in pixmap

2005-09-24 Thread sadhees kumar
Thank you  Michael Ott ,    Now i'm able to draw the color lines..   Regards, K.Sadheeskumar  On 9/23/05, Michael Ott <[EMAIL PROTECTED]> wrote: Hello Sadhees!>I want to draw lines and rectangles in pixmap with different > colors . Afetr that, i will display the pixmap contend to dr