mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Handle inset adjustements on the C++ side, handle them better in the UI.
This commit is contained in:
1 parent
13698f81fb
commit
75453632f9
32 files changed
+210
-84
No files matched your search
@@ -142,7 +142,7 @@ void CustomButtonMappingScreen::CreateDialogViews(UI::ViewGroup *parent) {
|
||||
array[i] = (0x01 == ((g_Config.CustomButton[id_].key >> i) & 0x01));
|
||||
|
||||
// TODO: Less hacky layout work
|
||||
const Bounds layoutBounds = screenManager()->getUIContext()->GetLayoutBounds(false);
|
||||
const Bounds layoutBounds = GetLayoutBounds(*screenManager()->getUIContext());
|
||||
leftColumn->Add(new ButtonPreview(g_Config.iTouchButtonStyle == 0 ? customKeyShapes[cfg->shape].i : customKeyShapes[cfg->shape].l,
|
||||
customKeyImages[cfg->image].i, customKeyImages[cfg->image].r, customKeyShapes[cfg->shape].f, customKeyShapes[cfg->shape].r, layoutBounds.x + 62, layoutBounds.y + 102));
|
||||
|
||||
|
||||
Reference in new issue
Block a user