I would like to include in my UI web page some native draw (in C++) into divs or iframes.
I thought iframes will do the job with a dedicated render buffer and an html ID or class to know what I should draw, but I cannot know anything from the webpage during the renderbuffer creations.
With the JSWebCore, i can call a C++ functions from web JS, but same : I haven't any informations from the webpage, neither what's the renderbuffer or dimension of div/iframe i need to draw in.
For now, I think I could create a iframe, in C++ detect the size of the renderbuffer and attribute the renderbuffer to my native offscreen (e.g. 128128 = Native1, e.g. 129128 = Native2, e.g. 130*128 = Native3)
So is there's a way to get more informations from the webpage to integrate native components ?