Commit Graph
386 Commits
Author SHA1 Message Date
Henrik Rydgård 6945deec01 Replace a LOT of sprintf with snprintf, and a few strcpy with truncate_cpy 2023-04-28 21:04:05 +02:00
Henrik Rydgård ee6234ecb6 I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer.

Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård d00809ae53 Rename KeyDef to InputMapping and give it responsibility for Axis encoding 2023-03-29 11:59:31 +02:00
Henrik Rydgård 177a6821ee Merge branch 'serena/macos-bar-menu-items' 2023-03-28 21:54:14 +02:00
Henrik Rydgård 534896d2ab ControlMapper: Allow overriding PSP button event handling through a callback. 2023-03-28 00:23:18 +02:00
Unknown W. Brackets 441c940fa9 UI: Remove some unnecessary Host.h includes. 2023-03-25 17:19:21 -07:00
Unknown W. Brackets 089580d09a Windows: Always detach request threads.
No point having a global if it's always detached after use.
2023-03-25 17:12:44 -07:00
SerenaandGitHub 645407fa74 Merge branch 'master' into serena/macos-bar-menu-items 2023-03-23 21:27:42 +03:00
Henrik Rydgård b440e28e38 Remove System_SendMessage!
iOS, Qt buildfixes
2023-03-22 23:52:51 +01:00
Henrik Rydgård ac47476253 And share_text, toast, recreate 2023-03-22 23:52:25 +01:00
Henrik Rydgård 5a55fd5fd3 And replace "graphics_restart", "toggle_fullscreen", etc 2023-03-22 23:52:15 +01:00
Henrik Rydgård 410b35fba3 Get rid of "finish" and "setclipboardtext" messages, replace with requests. 2023-03-22 22:17:26 +01:00
Henrik Rydgård 9508ef467e Port folder browser too, now this time start with Qt 2023-03-22 19:25:35 +01:00
Henrik Rydgård 7718c06dd1 Port UWP file browser, fix UWP image browser 2023-03-22 15:36:14 +01:00
Henrik Rydgård 70f0ac04af Port the file browser spawned by the Load button to the new request stuff 2023-03-22 15:36:14 +01:00
Henrik Rydgård dda8635c89 Move three notifications out of Host 2023-03-21 13:37:19 +01:00
Henrik Rydgård d3955b42bb Rename some system functions, merge the Launch* ones.
android launchurl buildfix
2023-03-21 12:22:59 +01:00
Serena 6d474ac59d macOS bar button items 2023-02-06 22:17:27 +03:00
Serena 482e989cd7 convert to System_SendMessage insanity 2023-02-01 19:03:12 +03:00
Serena 230fb93766 Browse button on Darwin platforms, rename some classes/functions 2023-01-31 13:36:14 +03:00
Henrik Rydgård 4287365411 Update URLs, fix feedback from #16851 2023-01-29 00:25:27 +01:00
Henrik Rydgård adcb3e54f4 Improve the use of space on the main screen in vertical mode.
Arranges the main buttons horizontally.
2023-01-11 23:23:24 +01:00
Unknown W. Brackets 682f5fae97 UI: Fix reverse-dependency in PathBrowser. 2022-12-27 15:08:57 -08:00
Unknown W. Brackets f44852bb18 Global: Cleanup virtual/override specifiers.
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Henrik Rydgård 7ff0030772 Added vertical layout for display layout screen 2022-12-08 16:04:20 +01:00
Henrik Rydgård fb5474115c Align the version number better on the main screen 2022-12-03 19:07:38 +01:00
Henrik Rydgård 0a3d78221e Fix drag-background-through-buttons problem by adding "touch exclusive" mode to viewgroups.
Not using universally because I don't want to debug all the issues...
2022-11-27 16:16:18 +01:00
Unknown W. Brackets 6576b853e4 UI: Fix some logic dependent on screen tags.
9f38516 changed various tags but not code referencing them.
2022-09-17 13:36:25 -07:00
Lubos 7d13981ffb OpenXR - Remove OPENXR ifdef from UI 2022-08-12 10:30:57 +02:00
Lubos 19ebbb6a30 OpenXR - Integrate SYSPROP_HAS_FILE_BROWSER 2022-07-26 17:32:03 +02:00
Lubos c543c8fd52 Merge branch 'master' into feature_openxr_quest 2022-07-26 17:22:04 +02:00
Lubos 8c9fd584b3 OpenXR - Hide unsupported menus 2022-07-24 14:57:09 +02:00
Henrik Rydgård f12e194cb2 Main screen: Display .ppdmp filenames on buttons in grid mode
Makes it a bit easier to pick them out and doesn't make them look quite
as broken.
2022-07-18 11:03:02 +02:00
Unknown W. Brackets aad5082d55 Config: Move recent ISOs access to accessors. 2022-07-11 20:44:13 -07:00
Unknown W. Brackets 3edf6ab0fa Config: Don't save --fullscreen unless changed.
This makes --fullscreen and --windowed temporary by using a separate
setting.  If the setting is changed explicitly, it begins saving it again.
2022-05-28 15:47:12 -07:00
iota97 561870dc25 Merge item and button style, remove hightlighed and few other fixes 2022-02-14 13:57:22 +01:00
Unknown W. Brackets 48b597a1b9 Display: Move core counters/stats to HW file.
This separates things better, so not everything is pulling in HLE.
2022-01-30 11:53:48 -08:00
Henrik Rydgård 08b7d646e8 Show text on the Browse button 2021-10-04 22:46:40 +02:00
Henrik RydgårdandGitHub e384ad90fc Merge pull request #14945 from unknownbrackets/ui-scroll-memory
UI: Keep scroll position on async load
2021-09-28 16:55:06 +02:00
Unknown W. Brackets aedb4f7ed8 UI: Fix Game ID with insets on left side.
In the game list.
2021-09-28 07:28:59 -07:00
Unknown W. Brackets fc78b408b2 UI: Have scroll views directly remember their pos.
Kinda like checkboxes, cleaner this way.
2021-09-27 23:25:41 -07:00
iota97 e8ad59371d Use icon rather than string for combo key setup 2021-09-22 23:05:33 +02:00
Henrik Rydgård a4cb53c615 Use the new icons 2021-09-19 20:23:46 +02:00
Unknown W. Brackets 5e3ffe94b3 UI: Allow scoll views to have specific height. 2021-08-29 14:11:32 -07:00
Henrik Rydgård 43ba908225 Propagate errors from file identification upwards better. 2021-08-07 11:54:45 +02:00
Henrik Rydgård 96d04e582b Only pop up the config save error after main and settings screens. 2021-08-07 10:47:11 +02:00
Henrik Rydgård dbd3d8ca2a Handle an empty path in the game browser. 2021-08-04 23:22:43 +02:00
Henrik Rydgård 793e79945f Enable scoped storage enforcement on Android 11+.
This has a number of UX issues and bugs we need to work through, but at least
games are playable, things mostly work. Upgrades are handled smoothly by
keeping existing storage access until you uninstall. After a reinstall, you'll
need to re-select your old PSP directory manually in settings :(
2021-08-04 23:22:43 +02:00
Henrik Rydgård 5d047a394b Scoped storage: Make the home button simply go to the root of the current directory tree. 2021-07-25 19:23:10 +02:00
Henrik Rydgård bea9f67c02 Fix assorted path issues 2021-07-19 17:34:51 +02:00