Add more "Normal Oxygen Colors" to MarbleGlobal.h
completed by: Illya Kovalevskyy
mentors: Torsten Rahn, Dennis Nienhüser
Add the normal oxygen colors to MarbleGlobe.h (maybe as a separate MarbleColors.h include files)
http://lists.kde.org/?l=kde-artists&m=116559781726568&q=p3
Leave out the set of vibrant colors, so skip everything after
255 223 191 brown orange1
All color names should follow camel casing.
You can use this script:
-
wget -q "http://lists.kde.org/?l=kde-artists&m=116559781726568&q=p3" -O - | sed '1,3d' | while read red green blue name
-
do
-
echo "QColor const $(echo $name | sed -e 's/ ./\U&\E/g' -e 's/ //g') = QColor::fromRgb( ${blue}, ${green}, ${blue} );"
-
done
But don't forget to cut away the vibrant colors.