src/codeandchords/ModuleMenu.java
public void addLyricMenu()
	{
		this.controlP5.addTab("lyrics")
		.setLabel("Lyrics\nMenu")
		.setWidth(50)
		.setHeight(this.tabHeight)
		.activateEvent(true)
		.getCaptionLabel().align(ControlP5.CENTER, ControlP5.CENTER);

		// Add lyric Toggle:
		this.controlP5.addToggle("showLyrics")
			.setPosition(this.leftAlign, this.textYVals[4])
			.setWidth(60)
			.setState(false)
			.setTab("lyrics")
			.plugTo(this)
			.setLabel("Show Lyrics")
			.getCaptionLabel()
			.align(ControlP5.CENTER, ControlP5.CENTER);
		
		this.controlP5.addButton("loadLyrics")
		.setPosition(this.leftAlign, this.textYVals[5])
		.setWidth(60)
		.moveTo("lyrics")
		.setLabel("Load Lyrics");
	}
/**
	 * Adds the Landing Menu by setting the label of the default tab.
	 */
Adds the Landing Menu by setting the label of the default tab.
Adds the Landing Menu by setting the label of the default tab .
public void addLyricMenu()
	{
		this.controlP5.addTab("lyrics")
		.setLabel("Lyrics\nMenu")
		.setWidth(50)
		.setHeight(this.tabHeight)
		.activateEvent(true)
		.getCaptionLabel().align(ControlP5.CENTER, ControlP5.CENTER);
		this.controlP5.addToggle("showLyrics")
			.setPosition(this.leftAlign, this.textYVals[4])
			.setWidth(60)
			.setState(false)
			.setTab("lyrics")
			.plugTo(this)
			.setLabel("Show Lyrics")
			.getCaptionLabel()
			.align(ControlP5.CENTER, ControlP5.CENTER);
		this.controlP5.addButton("loadLyrics")
		.setPosition(this.leftAlign, this.textYVals[5])
		.setWidth(60)
		.moveTo("lyrics")
		.setLabel("Load Lyrics");
	}
public void addLyricMenu ( ) { this . controlP5 . addTab ( "lyrics" ) . setLabel ( "Lyrics\nMenu" ) . setWidth ( 50 ) . setHeight ( this . tabHeight ) . activateEvent ( true ) . getCaptionLabel ( ) . align ( ControlP5 . CENTER , ControlP5 . CENTER ) ; this . controlP5 . addToggle ( "showLyrics" ) . setPosition ( this . leftAlign , this . textYVals [ 4 ] ) . setWidth ( 60 ) . setState ( false ) . setTab ( "lyrics" ) . plugTo ( this ) . setLabel ( "Show Lyrics" ) . getCaptionLabel ( ) . align ( ControlP5 . CENTER , ControlP5 . CENTER ) ; this . controlP5 . addButton ( "loadLyrics" ) . setPosition ( this . leftAlign , this . textYVals [ 5 ] ) . setWidth ( 60 ) . moveTo ( "lyrics" ) . setLabel ( "Load Lyrics" ) ; }
Adds the Landing Menu by setting the label of the default tab.
Adds the Landing Menu by setting the label of the default tab .
// Add lyric Toggle: