What is the standard way of accessing X11 color mappings in C/C++? -


googling around, see this list, provides useful name rgb mapping.

of course, can copy file, store somewhere, , read it, wondering, there standard way of accessing list c/c++ standard location (hopefully, without lot of hassle)?

even standard location in *nix system useful, since reading/parsing file trivial.

fwiw, running gcc 4.7.3 on ubuntu 13.04.

as recall, , wikipedia (not great reference know)

x11root/lib/x11/rgb.txt

which likely:

/usr/lib/x11/rgb.txt


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -