MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / PiuView_onTouchMoved

Function PiuView_onTouchMoved

modules/piu/Pebble/piuView.c:582–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582void PiuView_onTouchMoved(xsMachine* the)
583{
584 PiuView* self = PIU(View, xsThis);
585 PiuApplication* application = (*self)->application;
586 if (!application) return;
587 xsIntegerValue index = xsToInteger(xsArg(0));
588 PiuCoordinate x = xsToPiuCoordinate(xsArg(1));
589 PiuCoordinate y = xsToPiuCoordinate(xsArg(2));
590 xsNumberValue ticks = xsToNumber(xsArg(3));
591 PiuApplicationTouchMoved(application, index, x, y, ticks);
592}
593
594void PiuView_get_rotation(xsMachine* the)
595{

Callers

nothing calls this directly

Calls 1

PiuApplicationTouchMovedFunction · 0.85

Tested by

no test coverage detected