summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/menu
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-02-19 16:39:10 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-02-19 16:39:10 +0100
commit5453479d03a9f2852a5c623ab58454dbd417ed6b (patch)
tree263c9bb33b39cb6625bf51906a7af9c06b1acc2e /core/src/ch/asynk/rustanddust/menu
parent3f565c31f0738b40e41471d33cb693da5d315056 (diff)
downloadRustAndDust-5453479d03a9f2852a5c623ab58454dbd417ed6b.zip
RustAndDust-5453479d03a9f2852a5c623ab58454dbd417ed6b.tar.gz
Widget: add setTop/BottomRight/Left()
Diffstat (limited to 'core/src/ch/asynk/rustanddust/menu')
-rw-r--r--core/src/ch/asynk/rustanddust/menu/OptionsMenu.java4
-rw-r--r--core/src/ch/asynk/rustanddust/menu/PlayMenu.java4
-rw-r--r--core/src/ch/asynk/rustanddust/menu/ScenariosMenu.java4
-rw-r--r--core/src/ch/asynk/rustanddust/menu/TutorialsMenu.java2
4 files changed, 7 insertions, 7 deletions
diff --git a/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java b/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java
index b947203..07eb232 100644
--- a/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java
+++ b/core/src/ch/asynk/rustanddust/menu/OptionsMenu.java
@@ -132,8 +132,8 @@ public class OptionsMenu extends Patch
float y = position.getY(h);
setPosition(x, y, w, h);
- setBtnRight(okBtn);
- setBtnLeft(cancelBtn);
+ setBottomRight(okBtn);
+ setBottomLeft(cancelBtn);
y += PADDING;
x += PADDING + HSPACING;
diff --git a/core/src/ch/asynk/rustanddust/menu/PlayMenu.java b/core/src/ch/asynk/rustanddust/menu/PlayMenu.java
index 97fead0..d64f32c 100644
--- a/core/src/ch/asynk/rustanddust/menu/PlayMenu.java
+++ b/core/src/ch/asynk/rustanddust/menu/PlayMenu.java
@@ -92,8 +92,8 @@ public class PlayMenu extends Patch
float y = position.getY(h);
setPosition(x, y, w, h);
- setBtnRight(okBtn);
- setBtnLeft(cancelBtn);
+ setBottomRight(okBtn);
+ setBottomLeft(cancelBtn);
y += PADDING;
x += PADDING;
diff --git a/core/src/ch/asynk/rustanddust/menu/ScenariosMenu.java b/core/src/ch/asynk/rustanddust/menu/ScenariosMenu.java
index 75e2c90..a9eed52 100644
--- a/core/src/ch/asynk/rustanddust/menu/ScenariosMenu.java
+++ b/core/src/ch/asynk/rustanddust/menu/ScenariosMenu.java
@@ -70,8 +70,8 @@ public class ScenariosMenu extends Patch
float y = position.getY(h);
setPosition(x, y, w, h);
- setBtnRight(okBtn);
- setBtnLeft(cancelBtn);
+ setBottomRight(okBtn);
+ setBottomLeft(cancelBtn);
y += PADDING;
x += PADDING + HSPACING;
diff --git a/core/src/ch/asynk/rustanddust/menu/TutorialsMenu.java b/core/src/ch/asynk/rustanddust/menu/TutorialsMenu.java
index d5c38c9..ae770f4 100644
--- a/core/src/ch/asynk/rustanddust/menu/TutorialsMenu.java
+++ b/core/src/ch/asynk/rustanddust/menu/TutorialsMenu.java
@@ -45,7 +45,7 @@ public class TutorialsMenu extends Patch
float y = position.getY(h);
setPosition(x, y, w, h);
- setBtnRight(okBtn);
+ setBottomRight(okBtn);
y += PADDING;
x += PADDING;