Commit Graph

536 Commits

Author SHA1 Message Date
Henrik Rydgård d6d2c24e24 Fix the toggle touch controls input (properly this time) 2026-02-05 09:44:42 +01:00
Henrik Rydgård 9001f33d94 Minor cleanup 2026-02-04 00:48:50 +01:00
Henrik Rydgård 1d436bae53 Fix problem with settings filter/search functionality
Fixes #21143 (which also affected Mac and Linux)
2026-01-30 14:20:43 +01:00
Henrik Rydgård d6ebfed432 Fix some bugs and warnings from a pass of static analysis 2026-01-29 17:41:54 +01:00
Henrik Rydgård 41bb9a04b3 Add visual notifications about game controller connect/disconnect 2026-01-26 10:57:41 +01:00
Henrik Rydgård 756d161070 Add a warning to control autoconfigure 2026-01-25 15:26:53 +01:00
Henrik Rydgård 34938e3de6 Move Notice to Common/UI 2026-01-25 15:10:26 +01:00
Henrik Rydgård 419ab46172 Avoid needing std::string as cache keys in IconCache 2026-01-20 14:09:16 +01:00
Henrik Rydgård 8b8c776491 Fix visual issue with rotation button on the pause screen 2026-01-19 17:00:41 +01:00
Henrik Rydgård 58bc086ae5 Fix bug causing postprocessing shader names not to appear 2026-01-18 14:39:52 +01:00
Henrik Rydgård 3f3b353350 Merge pull request #21092 from white-axe/libretro-vfs
Use the libretro VFS interface in libretro builds
2026-01-10 16:36:01 +01:00
Henrik Rydgård 13af9d5a9b Savestate UI: Add one more way to select the current state 2026-01-08 23:18:26 +01:00
刘皓 fde7821b77 Merge branch 'master' into libretro-vfs 2026-01-08 11:59:20 -05:00
Henrik Rydgård 38ebb9d729 Set a few defaults automatically as a proof-of-concept (to reduce duplication)
See #18888
2026-01-05 19:03:43 +01:00
刘皓 5716cbd41d Use the libretro VFS interface in libretro builds 2026-01-01 00:24:01 -05:00
Henrik Rydgård 18a67b82d2 Do the same with KeyInputFlags. Fix minor UI misalignments 2025-12-19 13:41:58 +01:00
Henrik Rydgård 481d0fd18c Switch TouchInputFlags to enum class, fix some minor UI issues
Scroll views now only wheel-scroll if the mouse is hovering over them.
2025-12-19 11:38:56 +01:00
Henrik Rydgård 1ea93e2913 Small refactor of text rect measurement. Add move/resize icons 2025-11-27 11:50:22 +01:00
Henrik Rydgård ed25b5e991 Add convenient UI on the pause screen for changing/locking the screen orientation 2025-11-26 11:14:37 +01:00
Henrik Rydgård dede6dc10e Eliminate annoying flicker on GameScreen 2025-11-25 15:46:33 +01:00
Henrik Rydgård 3116eba395 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
2025-11-24 20:33:13 +01:00
Henrik Rydgård bf9493910a Rework some IAP/Gold UI. Minor title screen tweak 2025-11-23 21:55:25 +01:00
Henrik Rydgård 22b3ad2372 Get rid of the SettingInfoMessage popups 2025-11-23 13:56:34 +01:00
Henrik Rydgård 1a35049483 Popup menu fix, inset fix on pause screen 2025-11-22 15:51:44 +01:00
Henrik Rydgård 24bcc10985 PauseScreen: Make the savestate numbers more visible by moving them out 2025-11-22 14:56:19 +01:00
Henrik Rydgård 8042a57794 Code cleanup 2025-11-22 14:38:58 +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 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 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 1ae76e871b Partial game-info-screen rework 2025-11-15 20:44:14 +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
Henrik Rydgård bc024da16c More tweaks 2025-11-10 16:02:21 +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 9e480565bb More padding fixes 2025-11-09 22:33:03 +01:00
Henrik Rydgård 67a7e8cd97 Fix some measurement problems.
Part of #20803
2025-11-09 16:25:52 +01:00
Henrik Rydgård bf5e524243 Add multi-font support to the final text-rendering backend (SDL_ttf) 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 d34da520be Correct measurements in Choice buttons when there's both text and an image 2025-11-09 08:51:41 +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 56d3dae334 Avoid regenerating the UI Atlas if unnecessary (faster resize) 2025-11-06 23:44:55 +01:00
Henrik Rydgård 9089eb38cb Fix shadowing issue in TabHolder that messed up the direction of tab switching animation 2025-11-05 22:12:39 +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 67010ff2af Split the display layout config between landscape and portrait orientations 2025-11-05 12:49:51 +01:00