void drawSliderBackground(){
    	//Draw the main line
    	 parent.fill(sliderColour.getRGB());
    	  parent.strokeWeight(2);
	   	  parent.stroke(sliderColour.getRGB());
	   	  PFont font = parent.createFont("Droid Sans",11,true);
	   	  parent.textFont(font);		   	 
	   	  parent.textAlign(parent.CENTER);
	   	  
	   	  parent.line(this.tickPositions.get(0), this.yPos, this.tickPositions.get(this.numLabels-1), this.yPos);
	   	  
	   	  //Draw the ticks and the labels
	   	  for (int i=0;i<this.numLabels;i++){
	   		   parent.line(this.tickPositions.get(i), this.yPos + this.tickHeight/2, this.tickPositions.get(i), 
	   				   this.yPos -this.tickHeight/2);
	   		   parent.text(this.labels.get(i), this.tickPositions.get(i), this.yPos - this.tickHeight);
	   	  }
     }