add tests for new pause/resume events

This commit is contained in:
Mike Reed
2009-05-26 16:37:45 -04:00
parent 66a167bfe5
commit 1e7c3319b3

View File

@@ -364,7 +364,17 @@ int16 NPP_HandleEvent(NPP instance, void* event)
} }
return 1; return 1;
case kTouch_ANPEventType: case kPause_ANPEventType:
gLogI.log(instance, kDebug_ANPLogType, "---- %p pause event\n",
instance);
break;
case kResume_ANPEventType:
gLogI.log(instance, kDebug_ANPLogType, "---- %p resume event\n",
instance);
break;
case kTouch_ANPEventType:
gLogI.log(instance, kDebug_ANPLogType, "---- %p Touch action=%d [%d %d]", gLogI.log(instance, kDebug_ANPLogType, "---- %p Touch action=%d [%d %d]",
instance, evt->data.touch.action, evt->data.touch.x, instance, evt->data.touch.action, evt->data.touch.x,
evt->data.touch.y); evt->data.touch.y);