|
From: | Gautier Hattenberger |
Subject: | Re: [Paparazzi-devel] Change waypoint name color |
Date: | Thu, 31 Oct 2013 00:17:14 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
Hi, Finally I found why the green color is not as green as before: the definition of "green" is different for X11 and W3C. http://en.wikipedia.org/wiki/X11_color_names http://www.htmlcolorname.com/00ff00.html http://www.htmlcolorname.com/008000.html So for people with "dark" green, if the color is set to "lime" the resulting color is the expected one. The problem is that I don't know how to tell to gtk/gdk/lablgtk(?) to use the X11 color map rather than the W3C. Any one with a good idea ? Possible solutions: - replace "green" with "lime" if it works for people having X11 colormap - replace "green" with "green1" if it works for everyone - replace "green" with "#00FF00" that is not user-friendly but should work Concerning Piotr solution, it would be nice to avoid adding more elements to the canvas, but maybe it doesn't make a big difference in the end. Gautier Le 30/10/2013 19:22, Luis Carlos a
écrit :
|
[Prev in Thread] | Current Thread | [Next in Thread] |