Commit 8ade0c92 authored by Matyáš Latner's avatar Matyáš Latner

#83 Zvětšení šipek nápovědy

parent b78c8f1e
......@@ -96,7 +96,9 @@ public class ActionsWidget extends Entity implements ActionListener {
public static final int ACTION_OFFSET = PotmeActivity.ACTION_SIZE_SMALLER / 10;
private static final float DIMMER_ALPHA = 0.5f;
private static final Color DIMMER_COLOR = Color.BLACK;
private static final float START_ARROW_WIDTH = PotmeActivity.TILE_SIZE * 1.2f;
private static final float START_ARROW_X_OFFSET = PotmeActivity.ACTION_SIZE_SMALLER * 1.3f;
private static final int START_ARROW_Y_OFFSET = PotmeActivity.ACTION_SIZE_SMALLER / 2;
private static final float START_ARROW_WIDTH = PotmeActivity.TILE_SIZE * 1.5f;
private static final float START_ARROW_HEIGHT = PotmeActivity.TILE_SIZE;
private ActionsStripWidget actionsStripWidget;
......@@ -303,8 +305,8 @@ public class ActionsWidget extends Entity implements ActionListener {
private void showArrowSprite(float positionX, float positionY, VertexBufferObjectManager vertexBufferObjectManager) {
hideArrowSprite();
final Sprite infoArrowSprite = new Sprite(positionX + (PotmeActivity.ACTION_SIZE_SMALLER * 1.2f),
positionY - (PotmeActivity.ACTION_SIZE_SMALLER / 2),
final Sprite infoArrowSprite = new Sprite(positionX + START_ARROW_X_OFFSET,
positionY - START_ARROW_Y_OFFSET,
START_ARROW_WIDTH,
START_ARROW_HEIGHT,
ResourceManager.getInstance().getTexture(ResourceManager.INFO_START_ARROW),
......
Markdown is supported
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