]> git.mxchange.org Git - simgear.git/commit
Move parseColor to scene/util
authorThomas Geymayer <tomgey@gmail.com>
Mon, 5 Nov 2012 16:58:24 +0000 (17:58 +0100)
committerThomas Geymayer <tomgey@gmail.com>
Mon, 5 Nov 2012 16:58:24 +0000 (17:58 +0100)
commit53dea9b069f2d72902aa8f3be7838f83cc7e5726
tree528a36a3cd1cc44c79956618f6174b71d0ddc1f2
parent186bae2bd445f16540a66e23e81c307c194cf721
Move parseColor to scene/util

parseColor is used to parse a CSS color string into an osg::Vec4
which is only available in SimGearScene. If someone needs the
function also in SimGear headless mode we have to think about
where to better place this function.
12 files changed:
simgear/canvas/Canvas.cxx
simgear/canvas/elements/CanvasImage.cxx
simgear/canvas/elements/CanvasPath.cxx
simgear/canvas/elements/CanvasText.cxx
simgear/misc/CMakeLists.txt
simgear/misc/parse_color.cxx [deleted file]
simgear/misc/parse_color.hxx [deleted file]
simgear/misc/parse_color_test.cxx [deleted file]
simgear/scene/util/CMakeLists.txt
simgear/scene/util/parse_color.cxx [new file with mode: 0644]
simgear/scene/util/parse_color.hxx [new file with mode: 0644]
simgear/scene/util/parse_color_test.cxx [new file with mode: 0644]