Terasology / TutorialNui

A series of tutorials for the NUI interface framework.
3 stars 10 forks source link

Provide example for the browser widget #10

Open Cervator opened 4 years ago

Cervator commented 4 years ago

We have an HTML parser and browser widget in org.terasology.rendering.nui.widgets.browser which is being used in just a few places like Books, Dialogs, InGameHelp, Journal, and ModularComputers. But other than actual code I don't think we have any docs or tutorial coverage for that system, yet it sounds like the sort of thing we should highlight with a chapter in this tutorial's wiki.

Am also wondering if that should actually be in the engine or get moved to the NUI repo? 🤔 It actually appears to be the only thing left in the widgets package, other than a button variant meant to open a link in a browser.

Extracted out of https://github.com/MovingBlocks/Terasology/issues/1975 and originally came in with https://github.com/MovingBlocks/Terasology/pull/1817