Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need example of passing custom thread handler #184

Open
awsdert opened this issue Mar 31, 2021 · 2 comments
Open

Need example of passing custom thread handler #184

awsdert opened this issue Mar 31, 2021 · 2 comments

Comments

@awsdert
Copy link

awsdert commented Mar 31, 2021

I'm making a project where the interface is handled entirely with lua, here's a rough example of what would happen in my app to get to myhtml

app custom thread manager > lua thread > lua > myhtml binding > script tag thread

I chose this style because it lets the user pick their preferred library for creating & managing the interface

I want to provide a base example of how to do this with myhtml but I don't actually use it yet because I'm focusing on the simpler moonnuklear, moongl and moonglfw to handle a basic GUI

@lexborisov
Copy link
Owner

Hi @awsdert

Maybe I misunderstood the question, but myhtml is only HTML parser (with encodings). Not GUI, not drawing and so on.

@awsdert
Copy link
Author

awsdert commented Mar 31, 2021

Oh so you mean it just passes the parsed tag onto the drawer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants