v0.9.1b: added icons to buttons in the rankings window

This commit is contained in:
Evan Debenham 2020-12-30 19:23:58 -05:00
parent 0b84e550eb
commit 90721786a2

View File

@ -186,6 +186,7 @@ public class WndRanking extends WndTabbed {
}); });
} }
}; };
btnTalents.icon(Icons.get(Icons.TALENT));
btnTalents.setRect( (WIDTH - btnTalents.reqWidth()+2)/2, pos, btnTalents.reqWidth()+2 , 16 ); btnTalents.setRect( (WIDTH - btnTalents.reqWidth()+2)/2, pos, btnTalents.reqWidth()+2 , 16 );
add(btnTalents); add(btnTalents);
@ -199,6 +200,7 @@ public class WndRanking extends WndTabbed {
} }
}; };
btnChallenges.icon(Icons.get(Icons.CHALLENGE_ON));
btnChallenges.setSize( btnChallenges.reqWidth()+2, 16 ); btnChallenges.setSize( btnChallenges.reqWidth()+2, 16 );
add( btnChallenges ); add( btnChallenges );