Projects > cpp > Issues > Feature #1015

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Add CCEGLView::EventHandler class and window group id for CCEGLView

Feature #1015 [Closed]
dumganhar 2012-03-06 02:06 . Updated over 4 years ago

Refer to: https://github.com/cocos2d/cocos2d-x/pull/730
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.

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(),
&request_id)

dumganhar 2012-03-06 02:14
  • Status changed from New to Resolved
  • % Done changed from 0 to 100
zhangxm 2012-03-27 07:57
  • Status changed from Resolved to Closed
zhangxm 2012-03-27 08:08
  • Target version changed from 23 to cocos2d-1.0.1-x-0.13.0-beta
walzer@cocos2d-x.org 2012-05-25 08:01
  • Project changed from cocos2d-x to cpp
  • Category deleted (10)
  • Target version deleted (cocos2d-1.0.1-x-0.13.0-beta)

Atom PDF

Status:Closed
Start date:2012-03-06
Priority:Normal
Due date:
Assignee:dumganhar
% Done:

100%

Category:-
Target version:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.