Default touch ui scale to 1.0.

This commit is contained in:
Henrik Rydgård committed 2013-01-26 17:47:02 +01:00
1 parent c21e1ee2cc
commit 4497f1c5ce
1 file changed
+2 -2
+2 -2
View File
@@ -15,7 +15,7 @@ public:
void update(InputState &input_state);
void draw(DrawBuffer &db, uint32_t color, uint32_t colorOverlay);
void setPos(float x, float y, float scale) {
void setPos(float x, float y, float scale = 1.0f) {
scale_ = scale;
x_ = x - w_ * scale / 2;
y_ = y - h_ * scale / 2;
@@ -59,7 +59,7 @@ public:
void update(InputState &input_state);
void draw(DrawBuffer &db, uint32_t color);
void setPos(float x, float y, float scale) {
void setPos(float x, float y, float scale = 1.0f) {
stick_x_ = x;
stick_y_ = y;
scale_ = scale;