Skip to content

Commit

Permalink
[pykmlib] Added extended colors.
Browse files Browse the repository at this point in the history
  • Loading branch information
darina authored and jbenua committed Dec 23, 2019
1 parent 38e5320 commit aab661a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions kml/pykmlib/bindings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>("AccessRules")
Expand Down

0 comments on commit aab661a

Please sign in to comment.