Implement an option to choose path color. Refs #1.

This commit is contained in:
2018-04-03 16:43:23 +02:00
parent 62153d9c6d
commit f62c2859e3
7 changed files with 33 additions and 3 deletions

View File

@@ -322,3 +322,13 @@ bool RenderingState::renderInteractionPaths() const
{
return options.renderInteractionPaths;
}
void RenderingState::loadOptions(const Options &options)
{
this->options.pathColor = options.pathColor();
}
const Color &RenderingState::pathColor() const
{
return options.pathColor;
}