Re: color in string



Hi Tim
>
> This is untested, but should work:
>
> GdkColor c;
> char s[8];
> sprintf( s, "#%02x%02x%02x", c.red>>8, c.green>>8, c.blue>>8 );
thanks  for the help

[]īs
Luiz





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]