diff --git a/modules/juce_gui_basics/drawables/juce_SVGParser.cpp b/modules/juce_gui_basics/drawables/juce_SVGParser.cpp index 7fbe798203..e5653df014 100644 --- a/modules/juce_gui_basics/drawables/juce_SVGParser.cpp +++ b/modules/juce_gui_basics/drawables/juce_SVGParser.cpp @@ -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 {