From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f20243d2bfa19b04 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-22 07:57:59 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!small.news.tele.dk!128.39.3.168!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: change colors in GtkAda (Linux/GNAT 3-13p-7) Date: Thu, 22 Nov 2001 15:57:58 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1006444678 809 129.241.83.82 (22 Nov 2001 15:57:58 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 22 Nov 2001 15:57:58 +0000 (UTC) User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:16873 Date: 2001-11-22T15:57:58+00:00 List-Id: 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/