Re: color in string
- From: "Luiz Rafael Culik Guimaraes" <culikr uol com br>
- To: <gtk-list gnome org>
- Subject: Re: color in string
- Date: Tue, 2 Sep 2003 00:51:28 -0300
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]