HUD cleanup
BIN
core/assets-raw/sprites/ui/button-left-down.9.png
Normal file
After Width: | Height: | Size: 266 B |
BIN
core/assets-raw/sprites/ui/button-left-over.9.png
Normal file
After Width: | Height: | Size: 281 B |
BIN
core/assets-raw/sprites/ui/button-left.9.png
Normal file
After Width: | Height: | Size: 277 B |
BIN
core/assets-raw/sprites/ui/button-right-down.9.png
Normal file
After Width: | Height: | Size: 241 B |
BIN
core/assets-raw/sprites/ui/button-right-over.9.png
Normal file
After Width: | Height: | Size: 265 B |
BIN
core/assets-raw/sprites/ui/button-right.9.png
Normal file
After Width: | Height: | Size: 284 B |
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 101 KiB |
@ -24,6 +24,8 @@ ButtonStyle: {
|
||||
},
|
||||
TextButtonStyle: {
|
||||
default: {over: button-over, disabled: button, font: default-font, fontColor: white, disabledFontColor: gray, down: button-down, up: button},
|
||||
left: {over: button-left-over, font: default-font, fontColor: white, disabledFontColor: gray, down: button-left-down, up: button-left},
|
||||
right: {over: button-right-over, font: default-font, fontColor: white, disabledFontColor: gray, down: button-right-down, up: button-right},
|
||||
wave: {font: default-font, fontColor: white, disabledFontColor: gray, up: button-edge-4},
|
||||
clear: {over: flat-over, font: default-font, fontColor: white, disabledFontColor: gray, down: pane, up: flat},
|
||||
discord: {font: default-font, fontColor: white, up: discord-banner},
|
||||
@ -35,6 +37,7 @@ TextButtonStyle: {
|
||||
},
|
||||
ImageButtonStyle: {
|
||||
default: {down: button-down, up: button, over: button-over, imageDisabledColor: gray, imageUpColor: white },
|
||||
right: {over: button-right-over, down: button-right-down, up: button-right},
|
||||
empty: { imageDownColor: accent, imageUpColor: white},
|
||||
emptytoggle: {imageCheckedColor: white, imageDownColor: white, imageUpColor: gray},
|
||||
static: {up: button },
|
||||
|
@ -389,7 +389,7 @@ public class HudFragment extends Fragment{
|
||||
}
|
||||
|
||||
private void addPlayButton(Table table){
|
||||
table.right().addImageButton("icon-play", 30f, () -> {
|
||||
table.right().addImageButton("icon-play", "right", 30f, () -> {
|
||||
if(Net.client() && players[0].isAdmin){
|
||||
Call.onAdminRequest(players[0], AdminAction.wave);
|
||||
}else{
|
||||
|