/* * noVNC: HTML5 VNC client * Copyright (C) 2010 Joel Martin * Licensed under LGPL-3 (see LICENSE.LGPL-3) * * See README.md for usage and integration instructions. */ "use strict"; /*jslint white: false, bitwise: false */ /*global window, $, Util, Base64 */ // Globals defined here var Canvas; // Everything namespaced inside Canvas Canvas = { prefer_js : false, // make private force_canvas : false, // make private cursor_uri : true, // make private true_color : false, colourMap : [], scale: 1, c_wx : 0, c_wy : 0, ctx : null, prevStyle: "", focused : true, keyPress : null, mouseButton : null, mouseMove : null, loadExtra : function () { var pre, start = "