Skip to content
Snippets Groups Projects
Commit 662c2559 authored by v.tarantik's avatar v.tarantik
Browse files

#20 dialog resource atlas fix

parent cdebccdd
No related branches found
No related tags found
No related merge requests found
button_atlas.pack.png
buttons_atlas.png
size: 512,256
format: RGBA8888
filter: Nearest,Nearest
......
buttons_atlas.pack.png
size: 512,256
format: RGBA8888
filter: Nearest,Nearest
repeat: none
tablexiabutton_blank_blue_pressed
rotate: false
xy: 2, 170
size: 157, 82
split: 19, 27, 12, 31
pad: 15, 22, 10, 29
orig: 157, 82
offset: 0, 0
index: -1
tablexiabutton_blank_blue_unpressed
rotate: false
xy: 2, 86
size: 157, 82
split: 31, 30, 8, 35
pad: 17, 18, 8, 32
orig: 157, 82
offset: 0, 0
index: -1
tablexiabutton_blank_green_pressed
rotate: false
xy: 161, 170
size: 157, 82
split: 10, 19, 9, 28
pad: 13, 21, 9, 28
orig: 157, 82
offset: 0, 0
index: -1
tablexiabutton_blank_green_unpressed
rotate: false
xy: 2, 2
size: 157, 82
split: 29, 36, 9, 31
pad: 18, 19, 6, 32
orig: 157, 82
offset: 0, 0
index: -1
tablexiabutton_blank_red_pressed
rotate: false
xy: 161, 86
size: 157, 82
split: 52, 27, 9, 28
pad: 56, 27, 6, 32
orig: 157, 82
offset: 0, 0
index: -1
tablexiabutton_blank_red_unpressed
rotate: false
xy: 320, 170
size: 157, 82
split: 61, 27, 9, 31
pad: 60, 27, 6, 32
orig: 157, 82
offset: 0, 0
index: -1
tablexiabutton_disabled
rotate: false
xy: 161, 2
size: 157, 82
split: 40, 36, 12, 33
pad: 14, 20, 10, 30
orig: 157, 82
offset: 0, 0
index: -1
dialog_atlas.pack.png
dialog_atlas.png
size: 1024,1024
format: RGBA8888
filter: Nearest,Nearest
......
......@@ -137,7 +137,7 @@ public class HallOfFameScreen extends AbstractTablexiaScreen<Void> {
Texture textureDoor = getTexture(HallOfFameAssets.HALL_OF_FAME_DOOR_BUTTON_PRESSED);
imgDoorButton.setDrawable(new SpriteDrawable(new Sprite(textureDoor)));
//TODO add action for leaving to main menu
new TablexiaDialog(400, 200, 400, 200, TablexiaDialog.DialogType.NEWUSER_FORM_LEFT, new DialogTextContent("HOU", "HEY YAAAAAAAAAAAA")).show(getStage());
new TablexiaDialog(400, 200, 400, 200, TablexiaDialog.DialogType.NEWUSER_OFFICE, new DialogTextContent("HOU", "HEY YAAAAAAAAAAAA")).show(getStage());
}
});
foregroundGroup.addActor(imgDoorButton);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment