diff --git a/lib/corereqs.js b/lib/corereqs.js index b40fbcb..5019882 100644 --- a/lib/corereqs.js +++ b/lib/corereqs.js @@ -481,6 +481,21 @@ module.exports = { }; } ], + + TranslateCoordinates: [ + function(srcWid, dstWid, srcX, srcY) { + return [ 'CxSLLSS', [ 40, 4, srcWid, dstWid, srcX, srcY ] ]; + }, + function(buf) + { + var res = buf.unpack('LSS'); + ext = {}; + ext.child = res[0]; + ext.destX = res[1]; + ext.destY = res[2]; + return ext; + } + ], SetInputFocus: [