MNSignalProcessing / BarelyML

Markup display for JUCE - Barely a Markup Language
MIT License
14 stars 3 forks source link

Delegation of link clicks #3

Closed stijnfrishert closed 6 months ago

stijnfrishert commented 9 months ago

Hey, this project looks really convenient. Nice work!

Would it be possible to add something like a UrlHandler for handling link clicking? Would work the same as FileSource, except that it delegates link clicks.

I need to support clickable sections of text that then play a sound, instead of open a link in the browser.

MNSignalProcessing commented 9 months ago

Sure, I'll look into it one of these days. Thanks for the comment.

MNSignalProcessing commented 6 months ago

Sorry, "one of these days" turned out to be almost 3 months later... But I finally did release v0.3, which comes not only with a URLHandler class, but also links and images in tables and support for vector graphics (make sure to change your FileHandler implementation accordingly -> needs to return a Drawable instead of an Image).