mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 01:29:41 +01:00
iOS buildfix.
This commit is contained in:
1 parent
5c90dee6a6
commit
023dbbc967
1 file changed
+5
-4
+5
-4
@@ -429,13 +429,14 @@ UI::ViewGroup *CreatePadLayout(bool *pause) {
|
||||
|
||||
const int halfW = dp_xres / 2;
|
||||
|
||||
#if USE_PAUSE_BUTTON
|
||||
root->Add(new BoolButton(pause, I_ROUND, I_ARROW, scale, new AnchorLayoutParams(halfW, 20, NONE, NONE, true)))->SetAngle(90);
|
||||
#endif
|
||||
|
||||
if (g_Config.bShowTouchControls) {
|
||||
|
||||
float scale = g_Config.fButtonScale;
|
||||
|
||||
#if USE_PAUSE_BUTTON
|
||||
root->Add(new BoolButton(pause, I_ROUND, I_ARROW, scale, new AnchorLayoutParams(halfW, 20, NONE, NONE, true)))->SetAngle(90);
|
||||
#endif
|
||||
|
||||
root->Add(new PSPButton(CTRL_CIRCLE, I_ROUND, I_CIRCLE, scale, new AnchorLayoutParams(Action_circle_button_X, Action_circle_button_Y, NONE, NONE, true)));
|
||||
root->Add(new PSPButton(CTRL_CROSS, I_ROUND, I_CROSS, scale, new AnchorLayoutParams(Action_cross_button_X, Action_cross_button_Y, NONE, NONE, true)));
|
||||
root->Add(new PSPButton(CTRL_TRIANGLE, I_ROUND, I_TRIANGLE, scale, new AnchorLayoutParams(Action_triangle_button_X, Action_triangle_button_Y, NONE, NONE, true)));
|
||||
|
||||
Reference in new issue
Block a user