mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
More UI work (#21035)
* Improve a couple of on-screen buttons (menu, fastforward) * Fix the new continue button, oops * Add some missing translations * Split a translation string to make portrait look better * More GameScreen redesign * Don't accidentally go into game-specific mode * Fix layout issue with popupscreens, fix context menu positioning * One more icon
This commit is contained in:
1 parent
b71ee0ba89
commit
3116eba395
66 files changed
+400
-200
No files matched your search
@@ -506,9 +506,7 @@ void ControlLayoutView::CreateViews() {
|
||||
addDragDropButton(touch.touchSelectKey, "Select button", rectImage, ImageID("I_SELECT"));
|
||||
addDragDropButton(touch.touchStartKey, "Start button", rectImage, ImageID("I_START"));
|
||||
|
||||
if (auto *fastForward = addDragDropButton(touch.touchFastForwardKey, "Fast-forward button", rectImage, ImageID("I_ARROW"))) {
|
||||
fastForward->SetAngle(180.0f);
|
||||
}
|
||||
addDragDropButton(touch.touchFastForwardKey, "Fast-forward button", rectImage, ImageID("I_FAST_FORWARD_LINE"));
|
||||
addDragDropButton(touch.touchLKey, "Left shoulder button", shoulderImage, ImageID("I_L"));
|
||||
if (auto *rbutton = addDragDropButton(touch.touchRKey, "Right shoulder button", shoulderImage, ImageID("I_R"))) {
|
||||
rbutton->FlipImageH(true);
|
||||
@@ -524,8 +522,6 @@ void ControlLayoutView::CreateViews() {
|
||||
auto addDragCustomKey = [&](ConfigTouchPos &pos, const char *key, const ConfigCustomButton& cfg) {
|
||||
DragDropButton *b = nullptr;
|
||||
if (pos.show) {
|
||||
|
||||
|
||||
b = new DragDropButton(pos, key, g_Config.iTouchButtonStyle == 0 ? customKeyShapes[cfg.shape].i : customKeyShapes[cfg.shape].l, customKeyImages[cfg.image].i, bounds);
|
||||
b->FlipImageH(customKeyShapes[cfg.shape].f);
|
||||
b->SetAngle(customKeyImages[cfg.image].r, customKeyShapes[cfg.shape].r);
|
||||
|
||||
Reference in new issue
Block a user