Integrate new minicap along with a moderate rewrite. What's currently missing is recovering from socket death.

This commit is contained in:
Simo Kinnunen
2015-04-15 18:55:46 +09:00
parent 6fe4f8ae1b
commit 95e9dd0b82
43 changed files with 1138 additions and 438 deletions

View File

@@ -0,0 +1,22 @@
var util = require('util')
function FrameConfig(real, virtual) {
this.realWidth = real.width
this.realHeight = real.height
this.virtualWidth = virtual.width
this.virtualHeight = virtual.height
this.rotation = virtual.rotation
}
FrameConfig.prototype.toString = function() {
return util.format(
'%dx%d@%dx%d/%d'
, this.realWidth
, this.realHeight
, this.virtualWidth
, this.virtualHeight
, this.rotation
)
}
module.exports = FrameConfig