Created
December 15, 2010 16:53
-
-
Save kritzikratzi/742240 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if( keyCode == ENTER ){ | |
if( focusElement == rect2 ) .... | |
if( focusElement == rect4 ) ... | |
// afaik the "name" button is rect 1, in which case we just loop through all lines and print the names | |
if( focusElement == rect1 ){ | |
for( int i =0; i < lines.length; i++ ){ | |
println( lines[i].substring( NAME_START, NAME_END ) ); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment