Re: Dev_GuiInspector

From: Date: Fri, 27 Jan 2006 21:20:09 +0000
Subject: Re: Dev_GuiInspector
References: 1 2 3 4 5 6  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6582@lists.php.net to get a copy of this message
Ron Tarrant wrote:
Yeah, I read that, too. But in practise, when I've tried passing a colour with numbers like (255, 255, 255) it always comes up black, which leads me to believe that 65535 is full intensity. When I pass a colour as (FFFFFF) I get an error saying I can't pass a string. I'd dig up the example for you, but since I twigged on using XcmsColor notation, I threw all my failed attempts away.
It comes up black because there is no way to determine if you want to use 8 bits or 16 bits. It goes with 16 bits to give you the widest range of colors. When using a string make sure you have the # in there. Other than that I don't know what to tell you. Have you tried the examples posted earlier in this thread? Scott

« previous php.gtk.general (#6582) next »