/* * 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"; /*global $, Util, RFB, Canvas, VNC_uri_prefix, Element, Fx */ var DefaultControls = { settingsOpen : false, // Render default controls and initialize settings menu load: function(target) { var html, i, DC = DefaultControls, sheet, sheets, llevels; /* Handle state updates */ RFB.setUpdateState(DC.updateState); RFB.setClipboardReceive(DC.clipReceive); /* Populate the 'target' DOM element with default controls */ if (!target) { target = 'vnc'; } html = ""; html += '
'; html += '