Slider (PApplet p, ArrayList<String>l,int x, int y,int width){   	  
	   	  this.parent = p;
	   	  this.labels = l;   
	   	  this.numLabels = l.size();	   	 
	   	  
	   	  this.yPos = y;
	   	  this.xPos = x;
	   	  this.tickHeight = 20;
	   	  this.currentView = 0;
	   	  this.drawingView = 0;
	   	  this.nextView = 1;
	   	  this.dragging = false;
	   	  this.interpAmount = 0;
	   	  this.sliderWidth = width;
	   	  
	   	  setTicks();
	   	  
	   	  //Set the initial position of the draggable tick
	   	  this.dragTickX = this.tickPositions.get(0)-this.dragTickWidth/2;
	   	  this.dragTickY = this.yPos-this.dragTickHeight/2; 
	   	  
	   	  this.sliderColour = getColours.Ink;
	   	  this.slidingTickBorder = getColours.Ink;
     }