| 35 | } |
| 36 | |
| 37 | void ApplicationContextAndroid::initAppForAndroid(AAssetManager* assetMgr, ANativeWindow* window) |
| 38 | { |
| 39 | mAConfig = AConfiguration_new(); |
| 40 | AConfiguration_fromAssetManager(mAConfig, assetMgr); |
| 41 | mAAssetMgr = assetMgr; |
| 42 | |
| 43 | mWindows.resize(1); |
| 44 | mWindows[0].native = window; |
| 45 | |
| 46 | initApp(); |
| 47 | } |
| 48 | |
| 49 | void ApplicationContextAndroid::_fireInputEventAndroid(AInputEvent* event, int wheel) { |
| 50 | Event evt = {0}; |