Skip to content
Snippets Groups Projects
Commit 1f83719d authored by Matyáš Latner's avatar Matyáš Latner
Browse files

#515 New bookmarks assets for StatisticsScreen

parent 204f8c44
Branches
Tags
No related merge requests found
core/assets/common/screen/statistics/gfx/bookmark1.png

15.8 KiB | W: | H:

core/assets/common/screen/statistics/gfx/bookmark1.png

41.5 KiB | W: | H:

core/assets/common/screen/statistics/gfx/bookmark1.png
core/assets/common/screen/statistics/gfx/bookmark1.png
core/assets/common/screen/statistics/gfx/bookmark1.png
core/assets/common/screen/statistics/gfx/bookmark1.png
  • 2-up
  • Swipe
  • Onion skin
core/assets/common/screen/statistics/gfx/bookmark1_pressed.png

45.5 KiB | W: | H:

core/assets/common/screen/statistics/gfx/bookmark1_pressed.png

26.2 KiB | W: | H:

core/assets/common/screen/statistics/gfx/bookmark1_pressed.png
core/assets/common/screen/statistics/gfx/bookmark1_pressed.png
core/assets/common/screen/statistics/gfx/bookmark1_pressed.png
core/assets/common/screen/statistics/gfx/bookmark1_pressed.png
  • 2-up
  • Swipe
  • Onion skin
core/assets/common/screen/statistics/gfx/bookmark2.png

12.8 KiB | W: | H:

core/assets/common/screen/statistics/gfx/bookmark2.png

34 KiB | W: | H:

core/assets/common/screen/statistics/gfx/bookmark2.png
core/assets/common/screen/statistics/gfx/bookmark2.png
core/assets/common/screen/statistics/gfx/bookmark2.png
core/assets/common/screen/statistics/gfx/bookmark2.png
  • 2-up
  • Swipe
  • Onion skin
core/assets/common/screen/statistics/gfx/bookmark2_pressed.png

49.4 KiB | W: | H:

core/assets/common/screen/statistics/gfx/bookmark2_pressed.png

24.1 KiB | W: | H:

core/assets/common/screen/statistics/gfx/bookmark2_pressed.png
core/assets/common/screen/statistics/gfx/bookmark2_pressed.png
core/assets/common/screen/statistics/gfx/bookmark2_pressed.png
core/assets/common/screen/statistics/gfx/bookmark2_pressed.png
  • 2-up
  • Swipe
  • Onion skin
core/assets/common/screen/statistics/gfx/bookmark3.png

18.2 KiB | W: | H:

core/assets/common/screen/statistics/gfx/bookmark3.png

40.6 KiB | W: | H:

core/assets/common/screen/statistics/gfx/bookmark3.png
core/assets/common/screen/statistics/gfx/bookmark3.png
core/assets/common/screen/statistics/gfx/bookmark3.png
core/assets/common/screen/statistics/gfx/bookmark3.png
  • 2-up
  • Swipe
  • Onion skin
core/assets/common/screen/statistics/gfx/bookmark3_pressed.png

46.9 KiB | W: | H:

core/assets/common/screen/statistics/gfx/bookmark3_pressed.png

23.6 KiB | W: | H:

core/assets/common/screen/statistics/gfx/bookmark3_pressed.png
core/assets/common/screen/statistics/gfx/bookmark3_pressed.png
core/assets/common/screen/statistics/gfx/bookmark3_pressed.png
core/assets/common/screen/statistics/gfx/bookmark3_pressed.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -103,7 +103,7 @@ public class StatisticsScreen extends AbstractTablexiaScreen<Void> {
private static final String PRESSED_TEXT = "_pressed";
private static final String BOOKMARK_TEXT = "bookmark";
private static final int BOOKMARK_OPEN_TEXT_LEFT_OFFSET = 30;
private static final int BOOKMARK_OPEN_TEXT_LEFT_OFFSET = 45;
private static final int BOOKMARK_OPEN_ALIGN = Align.left;
private static final int BOOKMARK_CLOSE_ALIGN = Align.left;
private static final int BOOKMARK_OPEN_WIDTH = 380;
......@@ -273,6 +273,7 @@ public class StatisticsScreen extends AbstractTablexiaScreen<Void> {
button.getLabel().setWrap(false);
button.fontType(BOOKMARK_FONT_TYPE);
button.setUserObject(gameMenuDefinition);
button.setWidth(BOOKMARK_CLOSE_WIDTH);
button.setY((GameMenuDefinition.values().length - i) * BOOKMARKS_PADDING * getViewportHeight());
button.setInputListener(new ClickListener() {
@Override
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment