src/codeandchords/ModuleMenu.java
protected void resetRGBSlidersTextfields()
	{
		if(this.firstRGBSliderId > 0)
		{
			int	rgbId	= this.firstRGBSliderId;

			for(int i = 0; i < 3; i++)
			{
				this.controlP5.getController("slider" + rgbId).setValue(0);
				rgbId	= rgbId + 1;
			} // for
		} else {
			System.out.println("ModuleTemplate.resetRGBSlidersTextfields: RGB sliders have not yet been initialized " +
					"(firstRGBSliderId = " + this.firstRGBSliderId + ")");
		} // else - let the user know that we ignored this method call
	}
/**
	 * Sets the RGB modulate Sliders and Textfields to 0
	 */
Sets the RGB modulate Sliders and Textfields to 0
Sets the RGB modulate Sliders and Textfields to 0
protected void resetRGBSlidersTextfields()
	{
		if(this.firstRGBSliderId > 0)
		{
			int	rgbId	= this.firstRGBSliderId;
			for(int i = 0; i < 3; i++)
			{
				this.controlP5.getController("slider" + rgbId).setValue(0);
				rgbId	= rgbId + 1;
			} 
		} else {
			System.out.println("ModuleTemplate.resetRGBSlidersTextfields: RGB sliders have not yet been initialized " +
					"(firstRGBSliderId = " + this.firstRGBSliderId + ")");
		} 
	}
protected void resetRGBSlidersTextfields ( ) { if ( this . firstRGBSliderId > 0 ) { int rgbId = this . firstRGBSliderId ; for ( int i = 0 ; i < 3 ; i ++ ) { this . controlP5 . getController ( "slider" + rgbId ) . setValue ( 0 ) ; rgbId = rgbId + 1 ; } } else { System . out . println ( "ModuleTemplate.resetRGBSlidersTextfields: RGB sliders have not yet been initialized " + "(firstRGBSliderId = " + this . firstRGBSliderId + ")" ) ; } }
Sets the RGB modulate Sliders and Textfields to 0
Sets the RGB modulate Sliders and Textfields to 0
// for // else - let the user know that we ignored this method call