Implement TOUCH

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

No files matched your search

+4 -3
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)
{