diff --git a/src/controlP5/ScrollableList.java b/src/controlP5/ScrollableList.java index eba6931..6c6c6c8 100644 --- a/src/controlP5/ScrollableList.java +++ b/src/controlP5/ScrollableList.java @@ -2,9 +2,9 @@ package controlP5; /** * controlP5 is a processing gui library. - * + * * 2006-2015 by Andreas Schlegel - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 @@ -13,16 +13,16 @@ package controlP5; * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General * Public License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA - * + * * @author Andreas Schlegel (http://www.sojamo.de) * @modified ##date## * @version ##version## - * + * */ import static controlP5.ControlP5.b; @@ -41,7 +41,7 @@ import processing.event.KeyEvent; /** * A ScrollableList is a list of vertically aligned items * which can be scrolled if required. - * + * * @example controllers/ControlP5scrollableList */ public class ScrollableList extends Controller< ScrollableList > implements ControlListener { diff --git a/src/controlP5/TickMark.java b/src/controlP5/TickMark.java index 75bd9b8..0a26514 100644 --- a/src/controlP5/TickMark.java +++ b/src/controlP5/TickMark.java @@ -2,9 +2,9 @@ package controlP5; /** * controlP5 is a processing gui library. - * + * * 2006-2015 by Andreas Schlegel - * + * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 @@ -13,16 +13,16 @@ package controlP5; * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. - * + * * You should have received a copy of the GNU Lesser General * Public License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place, Suite 330, * Boston, MA 02111-1307 USA - * + * * @author Andreas Schlegel (http://www.sojamo.de) - * @modified 03/15/2018 - * @version 2.2.6 - * + * @modified ##date## + * @version ##version## + * */ import processing.core.PApplet; import processing.core.PGraphics; @@ -63,7 +63,7 @@ public class TickMark implements CDrawable { theGraphics.translate( -_myDistance - _myLen , 0 ); theGraphics.rect( 0 , 0 , _myLen , 1 ); if ( isLabel ) { - + _myLabel.draw( theGraphics , -_myLabel.getWidth( ) , 0 , _myParent ); } break;