1
0

Implement TOUCH

This commit is contained in:
otya128
2016-12-07 00:14:23 +09:00
parent 443319d4e6
commit 02d2bf99fc
2 changed files with 39 additions and 3 deletions

View File

@@ -305,9 +305,10 @@ class BuiltinFunction
{
writeln("NOTIMPL:TOUCH MPID");
}
tm = 0;
tchx = 0;
tchy = 0;
auto pos = p.touchPosition;
tm = pos.tm;
tchx = pos.x;
tchy = pos.y;
}
static void XSCREEN(PetitComputer p, int mode, DefaultValue!(int, false) a, DefaultValue!(int, false) b)
{