From aab661ab7bf47ceeaf578d2f9f8c77e20487be25 Mon Sep 17 00:00:00 2001 From: Daria Volvenkova Date: Mon, 23 Dec 2019 19:59:07 +0300 Subject: [PATCH] [pykmlib] Added extended colors. --- kml/pykmlib/bindings.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/kml/pykmlib/bindings.cpp b/kml/pykmlib/bindings.cpp index 14e28c97484..ceaad2b87b9 100644 --- a/kml/pykmlib/bindings.cpp +++ b/kml/pykmlib/bindings.cpp @@ -679,6 +679,14 @@ BOOST_PYTHON_MODULE(pykmlib) .value(PredefinedColorToString(PredefinedColor::Brown).c_str(), PredefinedColor::Brown) .value(PredefinedColorToString(PredefinedColor::Green).c_str(), PredefinedColor::Green) .value(PredefinedColorToString(PredefinedColor::Orange).c_str(), PredefinedColor::Orange) + .value(PredefinedColorToString(PredefinedColor::DeepPurple).c_str(), PredefinedColor::DeepPurple) + .value(PredefinedColorToString(PredefinedColor::LightBlue).c_str(), PredefinedColor::LightBlue) + .value(PredefinedColorToString(PredefinedColor::Cyan).c_str(), PredefinedColor::Cyan) + .value(PredefinedColorToString(PredefinedColor::Teal).c_str(), PredefinedColor::Teal) + .value(PredefinedColorToString(PredefinedColor::Lime).c_str(), PredefinedColor::Lime) + .value(PredefinedColorToString(PredefinedColor::DeepOrange).c_str(), PredefinedColor::DeepOrange) + .value(PredefinedColorToString(PredefinedColor::Gray).c_str(), PredefinedColor::Gray) + .value(PredefinedColorToString(PredefinedColor::BlueGray).c_str(), PredefinedColor::BlueGray) .export_values(); enum_("AccessRules")