|
|
|
@@ -377,6 +377,7 @@ private: |
|
|
|
if (tag == "polygon") return parsePolygon (xml, false);
|
|
|
|
if (tag == "text") return parseText (xml, true);
|
|
|
|
if (tag == "switch") return parseSwitch (xml);
|
|
|
|
if (tag == "a") return parseLinkElement (xml);
|
|
|
|
if (tag == "style") parseCSSStyle (xml);
|
|
|
|
|
|
|
|
return nullptr;
|
|
|
|
@@ -412,6 +413,11 @@ private: |
|
|
|
return drawable;
|
|
|
|
}
|
|
|
|
|
|
|
|
DrawableComposite* parseLinkElement (const XmlPath& xml)
|
|
|
|
{
|
|
|
|
return parseGroupElement (xml); // TODO: support for making this clickable
|
|
|
|
}
|
|
|
|
|
|
|
|
//==============================================================================
|
|
|
|
Drawable* parsePath (const XmlPath& xml) const
|
|
|
|
{
|
|
|
|
|