pull/105/head
parent
f4d9a8a60d
commit
299f849185
|
@ -51,11 +51,12 @@ End Sub
|
||||||
|
|
||||||
//#ifdef RDP_CLIENT_SYSTEM_BUILTIN
|
//#ifdef RDP_CLIENT_SYSTEM_BUILTIN
|
||||||
|
|
||||||
|
//connect to console:i:%d
|
||||||
//compression:i:1
|
//compression:i:1
|
||||||
//bitmapcachepersistenable:i:1
|
//bitmapcachepersistenable:i:1
|
||||||
|
|
||||||
std::string rdp_content = "\
|
std::string rdp_content = "\
|
||||||
connect to console:i:%d\n\
|
administrative session:i:%d\n\
|
||||||
screen mode id:i:%d\n\
|
screen mode id:i:%d\n\
|
||||||
use multimon:i:0\n\
|
use multimon:i:0\n\
|
||||||
desktopwidth:i:%d\n\
|
desktopwidth:i:%d\n\
|
||||||
|
@ -79,7 +80,6 @@ disable full window drag:i:1\n\
|
||||||
disable menu anims:i:1\n\
|
disable menu anims:i:1\n\
|
||||||
disable themes:i:1\n\
|
disable themes:i:1\n\
|
||||||
disable cursor setting:i:1\n\
|
disable cursor setting:i:1\n\
|
||||||
bitmapcachepersistenable:i:1\n\
|
|
||||||
full address:s:%s:%d\n\
|
full address:s:%s:%d\n\
|
||||||
audiomode:i:0\n\
|
audiomode:i:0\n\
|
||||||
redirectprinters:i:0\n\
|
redirectprinters:i:0\n\
|
||||||
|
|
|
@ -311,7 +311,7 @@ $app.do_play = function () {
|
||||||
|
|
||||||
$app.last_cursor_t = play_data.t;
|
$app.last_cursor_t = play_data.t;
|
||||||
}
|
}
|
||||||
else {
|
else if(play_data.a === 0x12) {
|
||||||
//$app.player_console_term.write(tp_base64_decode(play_data.d));
|
//$app.player_console_term.write(tp_base64_decode(play_data.d));
|
||||||
var _data = tp_base64_to_binarray(play_data.d);
|
var _data = tp_base64_to_binarray(play_data.d);
|
||||||
console.log('pkg size:', _data.length);
|
console.log('pkg size:', _data.length);
|
||||||
|
@ -362,7 +362,7 @@ $app.do_play = function () {
|
||||||
output = $app.decompress(bitmap);
|
output = $app.decompress(bitmap);
|
||||||
else
|
else
|
||||||
output = {width : bitmap.width, height : bitmap.height, data : new Uint8ClampedArray(bitmap.data)};
|
output = {width : bitmap.width, height : bitmap.height, data : new Uint8ClampedArray(bitmap.data)};
|
||||||
console.log(output);
|
// console.log(output);
|
||||||
|
|
||||||
var img = $app.canvas.createImageData(output.width, output.height);
|
var img = $app.canvas.createImageData(output.width, output.height);
|
||||||
img.data.set(output.data);
|
img.data.set(output.data);
|
||||||
|
|
Loading…
Reference in New Issue