PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Mixing edgelib plaform independed & platform specific co

tinybulb.com · 23 Dec 2008, 23:18 UTC
Is there any way to use edgelib code and for example UIKit controls etc. in one project? So, for example I am going to implement menus etc. with use of UIKit and game render with use of edgelib. Is it possible? Can you provide some examples how it can be done?

Thanks.
Hi Tinybuld,

Yes, you can add UIKit controls to your EDGELIB application. The return value of GetWindowHandle() in your framework can be typecasted into a UI window object.

You can write your own .mm file with functions to add controls to this window and then call them from your c++ application.

We will get back to you later with examples on how to do this.
tinybulb.com · 25 Dec 2008, 23:53 UTC
O, so simple, i think i understood. I need no sample now. Thanks for! explanation
tinybulb.com wrote:O, so simple, i think i understood. I need no sample now. Thanks for! explanation


Great, please let us know if have further questions.