You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I want to know if nana supports DirectX graphics api, so far I've seen examples of using with OpenGL, not sure if will work.
I have a ScenePanel that has a widget where at the end will be used as a surface. I must have the size of the widget in order to create a swap chain, I cannot be able to! Every time I get the size returns x=0, y=0. Here is the code:
Hi! I want to know if nana supports DirectX graphics api, so far I've seen examples of using with OpenGL, not sure if will work.
I have a ScenePanel that has a widget where at the end will be used as a surface. I must have the size of the widget in order to create a swap chain, I cannot be able to! Every time I get the size returns x=0, y=0. Here is the code:
ScenePanel::ScenePanel(nana::window window, bool visible) :
nana::panel(window, nana::rectangle(), visible)
{
m_place.bind(*this);
m_renderWidget.create(m_place.window_handle());
}
Somewhere in the main window I have this:
m_place->dock("pane1", "f1");
Anyone has struggled with that situation?
Thanks for you time!! I'd really appreciate this!
The text was updated successfully, but these errors were encountered: