Commit Graph
5689 Commits
Author SHA1 Message Date
Henrik Rydgård e711fdb735 Switch away from the non-callback based context menu 2025-11-22 14:46:33 +01:00
Henrik Rydgård 77c7ba1435 Rework the pause screen in portrait mode. Right-align popup menus if too far to the right on the screen. 2025-11-22 14:31:01 +01:00
Henrik Rydgård f2356c5532 Add UMD icon for disc switching on pause screen. Add Play icon to continue button 2025-11-22 11:11:42 +01:00
Henrik Rydgård 0d309a5db1 Add titles on developer tools tabs 2025-11-22 10:37:43 +01:00
Henrik Rydgård c4c29ab6b3 Fix issue with UI atlas being generated unnecessarily on mobile 2025-11-22 10:29:21 +01:00
Henrik Rydgård defd21cc90 Android: Rework UI insets handling (#21007)
* During game load, place the loading screen where the game will appear

* Android: Merge NativeActivity into PpssppActivity

* Rework window insets handling on Android

* Main screen: Display the path on its own line in portrait mode

* Make the "Fullscreen" setting on Android separate between portrait and landscape
2025-11-16 10:43:58 +01:00
Henrik Rydgård 57507ec9e6 GameScreen: New look in portrait mode 2025-11-15 20:44:14 +01:00
Henrik Rydgård 3d20251500 Game background in menus: Crop to fit instead of stretch to fit. Generally looks better, I think. 2025-11-15 20:44:14 +01:00
Henrik Rydgård 8b52cf67af Add a way to put the "ExtraButtons" in a popup menu, use on control mapping screen 2025-11-15 20:44:14 +01:00
Henrik Rydgård 09d195c9ef More layout work. Use GameDB titles on the top of the game screen. 2025-11-15 20:44:14 +01:00
Henrik Rydgård 66c2045d35 Fix the layout of the credits screen in landsacape mode 2025-11-15 20:44:14 +01:00
Henrik Rydgård 1ae76e871b Partial game-info-screen rework 2025-11-15 20:44:14 +01:00
Henrik Rydgård d1f6da81cb Add stb_rect_pack library, use it to pack our atlases way faster 2025-11-15 15:26:06 +01:00
Henrik Rydgård 915a88df60 AtlasGen: Separate pack and resolve steps 2025-11-15 15:26:06 +01:00
Henrik Rydgård 55d53bd29a Handle devices with really extreme DPIs. Fixes #21001
I thought I did this already but apparently not, or it got lost in a
branch.
2025-11-15 15:26:06 +01:00
oltolm 14e1d183c7 fix compiler warning 2025-11-15 15:26:06 +01:00
Henrik Rydgård 8052c15f61 Fix references to the old font files 2025-11-14 10:10:44 +01:00
Henrik Rydgård bc024da16c More tweaks 2025-11-10 16:02:21 +01:00
Henrik Rydgård 7b05ccafd4 Remove unnecessary linebreaks 2025-11-10 15:34:53 +01:00
Henrik Rydgård 4f91d7a71a More layout work, more use of MessagePopupScreen instead of PromptScreen 2025-11-10 15:23:29 +01:00
Henrik Rydgård f12fc14d3c Fix some layout issue with popup screens. Start moving away from PromptScreen where possible. 2025-11-10 13:37:25 +01:00
Henrik Rydgård 9de8e75709 AnchorLayout: Allow centering separately for horizontal and vertical 2025-11-10 12:10:08 +01:00
Henrik Rydgård 0453fb5449 Move PopupScreen base class into PopupScreens.cpp/h 2025-11-10 10:26:38 +01:00
Henrik Rydgård 412c746179 Add tilt (accelerometer) input support for DualSense controllers on Windows 2025-11-09 23:11:20 +01:00
Henrik Rydgård fd6dbd3813 Add a title to the upload files screen 2025-11-09 22:18:57 +01:00
Henrik Rydgård 5bb740c373 Control mapping: Remove some old uses of std::bind, and an unnecessary enum. 2025-11-09 22:09:43 +01:00
Henrik Rydgård 055d47606b Switch control mapping over to tabbed interface (needs more work) 2025-11-09 17:49:17 +01:00
Henrik Rydgård 6f2742a2cb Some UI polish 2025-11-09 16:49:15 +01:00
Henrik Rydgård be34e45536 Clean up language switching code slightly, add (disabled) shortcut to randomize for testing.
Remove background color from some titles.
2025-11-09 16:26:58 +01:00
Henrik Rydgård 7d23626f28 Convert FrameDumpTestScreen to use a TabbedDialog 2025-11-09 09:27:37 +01:00
Henrik Rydgård 278a913a6a Add an icon to the homebrew store button 2025-11-09 09:27:37 +01:00
Henrik Rydgård 582c2e28ca Same for Qt 2025-11-09 08:52:21 +01:00
Henrik Rydgård 2fce2da709 Apply the font system rework to Android as well 2025-11-09 08:52:21 +01:00
Henrik Rydgård bf5ded9c02 Fix font loading for the UWP backend, although wacky rendering issues remain 2025-11-09 08:52:21 +01:00
Henrik Rydgård 4283e66a12 Font style rework: Windows part 2025-11-09 08:52:21 +01:00
Henrik Rydgård 980ddb152b UI fixes, add SimpleTextView (easier to reason about) 2025-11-09 08:52:20 +01:00
Henrik Rydgård 6d1973edfb Add banners on the top of settings pages, if editing game-specific settings show the icon. 2025-11-09 08:51:41 +01:00
Henrik Rydgård 9155de3358 Make the old behavior that the UI shrinks if the window is small optional. New hidden setting [General]/ShrinkIfWindowSmall 2025-11-06 23:44:55 +01:00
Henrik Rydgård 57d64eaf60 New icons for the tools and system tabs 2025-11-06 23:44:55 +01:00
Henrik Rydgård 56d3dae334 Avoid regenerating the UI Atlas if unnecessary (faster resize) 2025-11-06 23:44:55 +01:00
Henrik Rydgård a183420a87 Orientation-specific defaults 2025-11-05 21:46:38 +01:00
Henrik Rydgård 063c7d4f7e Get separate touch screen config for portrait working 2025-11-05 21:01:37 +01:00
Henrik Rydgård 4c73103c6c Work on splitting touch controls between orientations 2025-11-05 20:29:55 +01:00
Henrik Rydgård eab2cc85bc Sneak in a critical bugfix in config loading, oops. Also fix minor bug reported by oltolm. 2025-11-05 20:29:12 +01:00
Henrik Rydgård 48ba3d99d3 GameSettingsScreen: Add tab icons. In portrait mode, use only icons on the tabs. 2025-11-05 15:29:34 +01:00
Henrik Rydgård 75020e2ed7 Add ability to put icons on tabs 2025-11-05 14:42:49 +01:00
Henrik Rydgård 2d9ceb8ccf Display layout: Add orientation indicator. Also, the stretch option was inconsistent between UI and actual application 2025-11-05 12:49:52 +01:00
Henrik Rydgård 67010ff2af Split the display layout config between landscape and portrait orientations 2025-11-05 12:49:51 +01:00
Henrik Rydgård c609e96a30 Fix issue where manual edits like comments were not preserved in game configs.
This allowed some simplification.
2025-11-04 23:39:56 +01:00
Henrik Rydgård 4edb8e53cd Just some renaming and cleanup 2025-11-04 23:39:56 +01:00