Skip to content

Commit

Permalink
fixed the classic fix vs stroke issue after migrating to the TFT library
Browse files Browse the repository at this point in the history
  • Loading branch information
dcuartielles authored and cmaglie committed May 17, 2013
1 parent b91e630 commit 2b7753f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,17 +148,17 @@ void parseCommand(char dir, char duration) {
// display the song
void setInterface() {
Robot.clearScreen();
Robot.fill(0, 0, 0);
Robot.stroke(0, 0, 0);
Robot.text(musics[0], 0, 0);
}

// display the next song
void select(int seq, boolean onOff) {
if(onOff){//select
Robot.fill(0, 0, 0);
Robot.stroke(0, 0, 0);
Robot.text(musics[seq], 0, 0);
}else{//deselect
Robot.fill(255, 255, 255);
Robot.stroke(255, 255, 255);
Robot.text(musics[seq], 0, 0);
}
}
Expand Down

0 comments on commit 2b7753f

Please sign in to comment.