mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-19 03:46:15 +01:00
recolored selection containers
This commit is contained in:
parent
38699ac07a
commit
b6803c562c
@ -101,6 +101,13 @@ selector("label-Text", "pp") {
|
|||||||
color = buttonEnabledColor
|
color = buttonEnabledColor
|
||||||
}
|
}
|
||||||
|
|
||||||
|
selector("label-player", "pp") {
|
||||||
|
insets = new Insets3f(2, 2, 2, 2)
|
||||||
|
font = font("Interface/Fonts/Metropolis/Metropolis-Bold-32.fnt")
|
||||||
|
fontSize = 20
|
||||||
|
color = buttonEnabledColor
|
||||||
|
}
|
||||||
|
|
||||||
selector("label-account", "pp") {
|
selector("label-account", "pp") {
|
||||||
insets = new Insets3f(2, 2, 2, 2)
|
insets = new Insets3f(2, 2, 2, 2)
|
||||||
fontSize = 25
|
fontSize = 25
|
||||||
|
@ -510,7 +510,8 @@ public class Toolbar extends Dialog implements GameEventListener {
|
|||||||
if (player.getId() != app.getId()) {
|
if (player.getId() != app.getId()) {
|
||||||
Label playerLabel = new Label(
|
Label playerLabel = new Label(
|
||||||
player.getName() + ": " + player.getAccountBalance() + " EUR",
|
player.getName() + ": " + player.getAccountBalance() + " EUR",
|
||||||
new ElementId("label-Text")
|
new ElementId("label-player")
|
||||||
|
|
||||||
);
|
);
|
||||||
playerLabel.setColor(Player.getColor(player.getId()).getColor());
|
playerLabel.setColor(Player.getColor(player.getId()).getColor());
|
||||||
overviewContainer.addChild(playerLabel);
|
overviewContainer.addChild(playerLabel);
|
||||||
|
Loading…
Reference in New Issue
Block a user