Individual color of CP5 dropdownlist items

edited October 2015 in Android Mode

I had a game where i used a dropdownlist to show the color of each player.

I used this loop to give each dropdownlist item a different color (where the playerList.get(i).farve variable is a color and PlayerDDsets is the dropDownList)

for (int i = 0; i<playerList.size (); i++) { PlayerDDsets.getItem(i).setColorBackground(playerList.get(i).farve); }

After updating to processing 3.0 i get the error "The fiunction setColorBackground(int) does not exist.

I can not use an earlier revision of processing because i need android mode

Tagged:
Sign In or Register to comment.