/***************************************************************\
| |\  /|                                                We Put  |
| | >< Hypercosm     hc_layer_control_interface.js      3d      |
| |/  \|                                                To Work |
|***************************************************************|
|                                                               |
|        This file defines a Javascript API for a user          |
|        interface used to control SketchUp applets.            |
|                                                               |
|***************************************************************|
|                Copyright (c) 2007 Hypercosm, LLC.             |
\***************************************************************/


//
// "class" constructor
//


function HCLayerControlInterface(element, appletSrc, commandLine, pageSoundNames, path) {
  if (!element)
    return;
	
  // call superclass constructor
  //
  HCGettingStartedInterface.call(this, element, appletSrc, commandLine, pageSoundNames, path);
  
  return this;
}    // HCLayerControlInterface


// inherit prototype from "superclass"
//
HCLayerControlInterface.prototype = new HCGettingStartedInterface();


//
// "object" or "instance" methods
//


HCLayerControlInterface.prototype.onLoad = function() {

  // call superclass method
  //
  HCGettingStartedInterface.prototype.onLoad.call(this);
  
  // add user interface toolbars
  //
  this.layerCheckboxes = new layerCheckboxes("layerCheckboxes", this);
}	// onLoad
