mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Added a workaround to the SVG parser to let it display <a> tags
This commit is contained in:
parent
5cef7c8e79
commit
bbbe451b7d
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue