Skip to content

Added CCEGLView::EventHandler class for qnx-platform #730

merged 2 commits into from Mar 6, 2012

2 participants

moadib commented Feb 22, 2012

We've released first version of our game to Blackberry Appworld and now going to integrate inapp purchases and scoreloop. This require some work with event handling which occurs inside CCEGLView.

I've added CCEGLView::EventHandler class and for qnx-version. Now i can inherit Application from and have possibility catch nessesary events and dispatch in appropriate managers. If event handled HandleBSPEvent must return true to indicate that this event must be skipped in main event handling loop.

moadib commented Feb 24, 2012

Also added screen_create_window_group call to window initialization and getter for group id. This is necessary for work with payment service and may be something else.

Example of use:

paymentservice_purchase_request(digital_good_id, digital_good_sku, digital_good_name,
            metadata, purchase_app_name, purchase_app_icon, CCEGLView::sharedOpenGLView().getWindowGroupId(),
@dumganhar dumganhar merged commit 23eb849 into cocos2d:master Mar 6, 2012

Thanks, :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.