07-06-2012 09:20 AM
I'm trying to create player for BB 10 using casecades as an UI. The problem that I face is that I cannot combine Cascades with native SDK. Does anyone know how can I use screen_window_t within my cascades window, so it does not owerwrite it? Or maybe I shall not use screen_window_t at all?
07-09-2012 10:39 AM
You can do this by using the ForeignWindow control. It essentially punches a hole in cascades allowing you to access the underlying screen context. Please take a look at the ForeignWindow Sample on GitHub
and there is also a more detailed knowledge base article on using ForeignWindow and OpenGL in Casades. http://supportforums.blackberry.com/t5/Cascades-De
with either of those you can access the screencontext to achieve what you need to do.
07-09-2012 11:01 AM
07-09-2012 12:08 PM
I haven't used the mmr renderer in the way you suggested myself, but you should be able to manipulate things like the size and zorder between cascades and the underlying screencontext from this documentation