Support for snap/filled view in Windows 8 Metro

Support for snap/filled view in Windows 8 Metro
0.0 0


Hi there,

Does anybody have any example on how to properly implement the snap and filled view in Windows 8 Metro?

What I am trying to accomplish is just to show a pause image when in snap view, and the whole game when in full-screen or filled view. When the method AppDelegate::applicationViewStateChanged() gets called, the dimensions of the screen as reported by CCDirector are the same as in full-screen, so everything is scaled down when in snap view. Calling CCEGLView::setDesignResolution doesn’t do the trick.

I would really appreciate any sample on how to implement this or guidance on how to properly resize the window.

Thanks in advance!



I have the same question? Any ideas?

Thank you.