From: Preben Randhol <randhol+abuse@pvv.org>
Subject: Re: change colors in GtkAda (Linux/GNAT 3-13p-7)
Date: Thu, 22 Nov 2001 15:57:58 +0000 (UTC)
Date: 2001-11-22T15:57:58+00:00 [thread overview]
Message-ID: <slrn9vq80g.6po.randhol+abuse@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: pP8L7.2696$Yn3.50706@news1.oke.nextra.no
On Thu, 22 Nov 2001 16:26:14 +0100, Frank wrote:
> However the polygons is drawed in black.
> Is anyone able to see from this snippet of code, if I have used some wrong
> approach somewhere?
Hard to say, but change this:
> Gdk.Color.Set_Rgb(My_Color, Gushort(10000), Gushort(0), Gushort(0));
to:
Gdk.Color.Set_Rgb(My_Color, 65_000, 0, 0);
should give you a bright red colour.
Preben
--
() Join the worldwide campaign to protect fundamental human rights.
'||}
{||' http://www.amnesty.org/
next prev parent reply other threads:[~2001-11-22 15:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-22 15:26 change colors in GtkAda (Linux/GNAT 3-13p-7) Frank
2001-11-22 15:57 ` Preben Randhol [this message]
2001-11-22 16:12 ` Frank
2001-11-23 13:48 ` Jacob Sparre Andersen
2001-11-23 14:31 ` Preben Randhol
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox