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

Iframe browser in imgui opengl 3 #4623

Closed
emanueleriboldi opened this issue Oct 3, 2021 · 1 comment
Closed

Iframe browser in imgui opengl 3 #4623

emanueleriboldi opened this issue Oct 3, 2021 · 1 comment
Labels

Comments

@emanueleriboldi
Copy link

Just a question, is possible to add an iframe browser to a opengl 3 imgui project?

@AidanSun05
Copy link

If you're looking to display HTML (which is what I believe you meant by "iframe browser"), check out #2782 and #4257 which both discuss this topic. (#4257 (comment) has some additional relevant links.)

There's no built-in support for this; you'll have to use an external renderer like CEF or litehtml to process the HTML page into something that Dear ImGui can understand (like an OpenGL texture). You can then render this inside a Dear ImGui window.

@ocornut ocornut added the web label Oct 4, 2021
@ocornut ocornut closed this as completed Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants