/**
 * This class manages an absolutely-positioned rectangularly shaped object in the Gigapan Explorer
 * application.  It will have layer widgets as children.
 * <br><br>
 * <a href="mailto:ehudsons@andrew.cmu.edu">Ellen Hudson-Snyder</a>, 
 * <a href="mailto:evedar@andrew.cmu.edu">Elvin Vedar</a>,
 * <a href="mailto:cbalz@andrew.cmu.edu">Christopher M. Balz</a>.
 * <br><br>CVS Version Info:<br>
 *  $Id: Stack.js,v 1.6 2005/11/08 08:08:55 evedar Exp $  
 * <br><br>
 * @inherits-from <code>AbstractStack</code>
 * @object-prop <code>number</code>  <code>iLeft</code> The internal representation of the current
 *                                   <code>left</code> style property of the <code>stackx</code> screen element
 *                                   where x is a whole number.
 * @object-prop <code>number</code>  <code>iTop</code> The internal representation of the current <code>top</code>
 *                                   style property of the <code>stackx</code> screen element where x is a whole
 *                                   number.
 * @author Team GigaToasted (Fall-2005-CMU-NASA/Google-Practicum Subteam) 
 * @version 1.0
 * <br><br>
 */ 

// Create a static variable containing the current image layer
//Stack.intCommonShowingLayer = 0;


// Set the prototype chain for efficient inheritance and instantiation:
Stack.prototype = new AbstractStack();

/**
 * Create a <code>Stack</code> object.
 * @param objParent <code>Object</code>  The parent, if any, of this object.
 * @param pIntTopPx <code>number</code>  The top pixel location of the stack
 * @param pIntLeftPx <code>number</code>  The left pixel location of the stack
 * @param pIntHeightPx <code>number</code>  The height pixel location of the stack
 * @param pIntWidthPx <code>number</code>  The width pixel location of the stack
 */
function Stack(objParent, pIntTopPx, pIntLeftPx, pIntHeightPx, pIntWidthPx){
    this.superC("stack" + AbstractWidget.intUniqueNum, objParent); // Complete the inheritance.
  
    this.intLeftPx = pIntTopPx;
    this.intTopPx = pIntLeftPx; 
    this.intHeightPx = pIntHeightPx;
    this.intWidthPx = pIntWidthPx;
}


