Commit graph

370 commits

Author SHA1 Message Date
Henrik Rydgård
0fb655acf6
Merge pull request #14202 from unknownbrackets/ui-labels
Add labels to all UI views
2021-02-28 20:10:38 +01:00
Henrik Rydgård
54c9e28444 Android: Implement opening ISOs through a file picker and Storage Access Framework
Has issues with the recent list - fails to open during shutdown due to
no activity, there's a little race to fix.
2021-02-27 13:49:20 +01:00
Unknown W. Brackets
9a10325513 UI: Require buttons always have text. 2021-02-21 18:48:01 -08:00
Unknown W. Brackets
3360121b5c UI: Expose lists better in descriptions.
Explicitly marks several lists, which should make exposing text better.
2021-02-21 18:41:08 -08:00
Unknown W. Brackets
3c778f567c UI: Add text description for all views. 2021-02-21 16:38:02 -08:00
Unknown W. Brackets
e85a8b0f5b Global: Cleanup class init order warnings. 2021-02-15 11:59:45 -08:00
Unknown W. Brackets
eee529c6c9 UI: Cleanup Windows header in MainScreen.cpp.
Better to have this come from System, probably.  It's mainly for Windows
anyway, to alert people their save data isn't permanent.
2021-01-09 14:45:49 -08:00
Henrik Rydgård
db545ac034 Enable using the folder browser on Android to select SD card through a gross hack.
Should help #13827

Not yet using storage framework properly, just stealing the URI.
2021-01-09 11:20:20 +01:00
Henrik Rydgård
401d9ca469 Add a file picker (WIP) 2021-01-09 01:09:21 +01:00
iota97
9b355f46a6 Use the same logic of game setting for main menu full screen, add other system 2021-01-08 22:25:33 +01:00
Henrik Rydgård
e7c6dbcb26 Manually tighten up the layout a bit in the top right corner 2021-01-08 20:29:09 +01:00
Henrik Rydgård
3c6f21173c Add a fullscreen toggle button to the main screen (Windows-only for now) 2021-01-08 20:05:43 +01:00
Henrik Rydgård
e30d079fb5 UI tweaks 2021-01-07 09:40:01 +01:00
Henrik Rydgård
1c753e4a22 Use hacky methods to retrieve SD card directory if available.
This will disappear in future Android versions but can be useful for
older devices.

Fixes (or at least tries to) #10199, at least for some devices.

Might help #13827 ?

Tested on Pocophone F1.
2021-01-07 00:55:35 +01:00
Henrik Rydgård
5929c78307 Add home button on all platforms 2021-01-07 00:54:50 +01:00
iota97
8305f0c87b Save on game start 2021-01-05 17:01:05 +01:00
Unknown W. Brackets
db51a50d8e UI: Use "Details" for upgrade outside Win/Android.
Builds might not be available so let them go for more information.  They
might have to actually install using their package manager or something
else.

Fixes #12591.
2021-01-03 11:07:59 -08:00
Unknown W. Brackets
83644ec1b8 Android: Remove old NDK profiler.
Pretty sure this no longer works.
2021-01-01 08:42:23 -08:00
Henrik Rydgård
ddb5462bce Folder browsing on main screen: Prevent navigating "up" when you can't. 2020-12-20 01:47:52 +01:00
Henrik Rydgård
2c4a42a695 UWP: Make the home button say "Home" instead of "Browse...". 2020-12-20 01:47:49 +01:00
Henrik Rydgård
c546c60324 Call g_Config.Save() first thing in MainScreen::OnExit. Workaround for #13286 2020-12-13 10:31:04 +01:00
Unknown W. Brackets
c3be720eb0
Avoid potential crash without storage permissions.
We conditionally create this view.
2020-12-06 09:27:11 -08:00
iota97
a014d7c785 Remember game list scroll 2020-11-23 10:10:20 +01:00
Henrik Rydgård
0e3a84b4a8 Move most GPU things to Common.
It works after the move, on Windows and Android at least.

Deletes the D3DX9 shader compiler loader, which was not used.
2020-10-04 23:39:02 +02:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård
b7edf75437 Move Display.cpp/h to Common. 2020-10-04 11:42:16 +02:00
Henrik Rydgård
9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård
ed88761ecc Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h. 2020-09-29 15:51:51 +02:00
Henrik Rydgård
7aacf3df37 Remove time_now() - time_now_d() is the replacement. Absolute time values can't be stored reliably in floats. 2020-08-16 09:37:18 +02:00
Henrik Rydgård
ccc0331279 Move timeutil to Common. (Experiment to see how much work it is to move these). 2020-08-15 20:53:08 +02:00
Henrik Rydgård
6f02844b5b Consolidate BackgroundAudio.cpp into a class 2020-08-03 10:43:26 +02:00
Henrik Rydgård
118bb72037 Forgetting "return true" fooled the optimizer into crashing. Fixes #13215. 2020-07-28 10:03:55 +02:00
Henrik Rydgård
efdd597cd1 Remove wrong comment 2020-07-27 17:00:46 +02:00
Henrik Rydgård
0939804a23 Don't trust the messy error checking in EmuScreen with figuring out what to do with zip files.
Ran into multiple odd bugs, the PSP init process really needs a rework..
2020-07-27 16:55:44 +02:00
Henrik Rydgård
9ed9468d72 Make the IsValidPBP DISC_ID check a bit more lenient. Fixes an issue where some homebrew would no longer show in the list. 2020-05-17 15:12:38 +02:00
Henrik Rydgård
7c8bcb2ee4 Fix homebrew store button to work even after changing grid layouts (it lost its click handler) 2020-05-17 14:57:12 +02:00
Henrik Rydgård
c7abea6146 UI: Temporary solution to the layout issue: Remove the gear button from the recent screen.
Can always use it from the other screens.
2020-03-08 22:23:39 +01:00
Henrik Rydgård
c176c6c114 Also move out the global stuff from view.cpp/h to root.cpp/h 2020-03-08 15:16:32 +01:00
Unknown W. Brackets
a3c5c6e1c2 UI: Ignore invalid PBPs in game browser.
This should reduce confusion when it comes to PS1 support.
2020-03-07 20:30:55 -08:00
Henrik Rydgård
bf7ed398a5
Merge pull request #12676 from unknownbrackets/switch-minor
Core: Bring over some file IO related Switch changes
2020-03-04 09:56:22 +01:00
Unknown W. Brackets
cb1b7b1e43 Core: Bring over some file related Switch changes.
Reducing the distance from the Switch port code.
2020-03-03 22:53:03 -08:00
iota97
987281516a Fix excessive scroll 2020-03-03 15:58:19 +01:00
iota97
3f4692266b UI fix 2020-03-03 08:47:14 +01:00
iota97
9d26c3a7c9 Fix weight 2020-03-02 12:03:01 +01:00
iota97
d8405b6f5b Move clear game list to new menu 2020-03-02 08:34:26 +01:00
iota97
e3c130d238 Rebase on master 2020-03-01 15:34:35 +01:00
Henrik Rydgård
45d94c4877 Switch all images to dynamic lookup in the atlas by string ID.
SLN fix

It works, but with the wrong images and the wrong characters!

Fix another bug in atlastool's binary output

Get Android building again.

Oops, didn't mean to disable this permanently.

Error checking

Minor cleanup

Gotta tweak my git ignores...

Regenerate metadata
2020-03-01 12:06:47 +01:00
iota97
407d5df9f4 Better align and spacing of UI element 2020-02-25 19:29:41 +01:00