236 Commits

Author SHA1 Message Date
Henrik Rydgård
d0613511b2 Many reported ANRs were from homebrew installs. Make sure installs run on the background thread. 2017-05-18 14:21:13 +02:00
Henrik Rydgård
df6ce90c84 When what we need is a shared_ptr, we should just go ahead and use one.
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +02:00
Unknown W. Brackets
3b4103cb3b System: Use a separate API for bool props.
This simplifies defaulting, instead of -1 being "true".
2017-04-29 17:35:12 -07:00
Unknown W. Brackets
75898392b9 UI: Proxy devmenu keypress through an event.
This prevents a mutex issue in #9626.
2017-04-17 20:33:22 -07:00
Henrik Rydgard
cf365bb257 Minor cleanup with GOLD define - only use it in System_GetPropertyInt 2017-04-05 16:21:08 +02:00
Unknown W. Brackets
e59ebf8ad9 Windows: Add option to browse for bg image.
And also to clear the image.
2017-04-02 10:50:09 -07:00
Unknown W. Brackets
8f4d1634ad UI: Add simple support for a custom background.
No UI.  Essentially, this is a cleaned up version of xiushudongfang's
implementation that supports all platforms, but no selection UI.
2017-03-26 07:52:46 -07:00
Unknown W. Brackets
562288b09c UI: Refactor game icon/bg loading.
This also default-initializes the atomic flags, which seems to fix a race
condition I was sometimes experiencing with missing icons.
2017-03-26 00:00:57 -07:00
Henrik Rydgard
4ced81b1df UWP: Hook up basic touch/mouse input. Start work on loading from a StorageFile. Getting closer to starting to boot a game 2017-03-23 10:02:28 +01:00
Unknown W. Brackets
4fb8ac96ce UI: Zero initialize EventParams in typical usage.
Better to be safe.
2017-03-21 18:45:48 -07:00
Unknown W. Brackets
073e056369 UI: Allow overriding dialog logic on finish.
This seems cleaner.
2017-03-19 17:43:03 -07:00
Unknown W. Brackets
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07:00
Henrik Rydgard
5b835839fa Make IdentifiedFileType a proper enum class 2017-03-02 12:29:03 +01:00
Henrik Rydgard
26a2d42731 Big mutex overhaul - remove our custom ones, make them non-recursive where possible 2017-02-28 11:40:29 +01:00
Henrik Rydgard
03dab0fdbd More UWP prep 2017-02-25 09:57:22 +01:00
LunaMoo
5ffef6d1ab Fix vertical layout on main screen. 2017-02-18 22:35:31 +01:00
Henrik Rydgard
20d9e60a67 Just some renaming. Start moving away from the "thin3d" name 2017-01-30 14:38:31 +01:00
Henrik Rydgård
6a7d3a3910 Break out image file management from DrawContext (thin3d) 2017-01-24 20:58:59 +01:00
Henrik Rydgård
9b439e4c43 Remove Thin3D prefix on more things 2016-12-27 11:59:06 +01:00
Henrik Rydgård
10393f5d4e Move Thin3D into the Draw namespace. 2016-12-27 11:58:03 +01:00
Henrik Rydgård
97d029972e Rename SetTextures to BindTextures 2016-12-25 11:31:33 +01:00
Florent Castelli
70593d1004 android: Change preprocessor define to standard __ANDROID__
ANDROID is only standard to the old Makefile buildsystem, not the platform.
2016-10-12 11:14:09 +02:00
Florent Castelli
373db56a16 blackberry: Remove! 2016-10-11 17:40:32 +02:00
Unknown W. Brackets
995e056598 UI: Consistently set bgaudio on game start.
Before we were doing it only in certain cases.  This now means that
background audio will always play on the pause screen.

Fixes #8944.
2016-09-04 08:46:19 -07:00
Unknown W. Brackets
d6820f3cc3 UI: Allow measuring text with a scale. 2016-08-07 16:49:50 -07:00
Unknown W. Brackets
64403e520f UI: Wrap browsing path if long. 2016-08-07 16:35:56 -07:00
Unknown W. Brackets
f7231686bd UI: Make it easy to measure with spec info.
This still allows skipping a Measure() override, so that it can still
clamp properly.
2016-08-07 16:35:56 -07:00
Unknown W. Brackets
c793efd69a http: Load actual game list. 2016-07-04 00:16:58 -07:00
Unknown W. Brackets
2d8484fd7d Put the storage button front and center.
This way it's harder to miss.
2016-03-05 17:18:24 -08:00
Henrik Rydgard
da1a04be8d Make the workqueue slightly safer. Put g_gameInfoCache on the heap.
Cherry-picked from #8592
2016-02-28 12:39:47 +01:00
Henrik Rydgard
bfa5091c41 Exit cleanly on Android instead of hard-exiting using exit(0). 2016-02-13 19:57:05 +01:00
Henrik Rydgard
e1ebc12d7f Improve reliability of "menu background music". Fix issue with mixed navigation mentioned in #8565 2016-02-13 10:55:29 +01:00
Unknown W. Brackets
862e6fffd5 UI: Keep focus on game after displaying details.
Fixes #8539.
2016-02-07 17:15:19 -08:00
Unknown W. Brackets
c0238de4ee UI: Add tags to all the scroll views. 2016-01-22 22:52:13 -08:00
Unknown W. Brackets
84d815768b UI: Set tags on tab views, in the typical case. 2016-01-22 22:39:58 -08:00
Unknown W. Brackets
5a01bb7836 Expand game browser path to fit available space.
Before it just was saying it wanted to be flexible.
2016-01-22 21:58:03 -08:00
LunaMoo
6061ad7579 Some improvements, comments and polishing. 2016-01-17 09:21:12 +01:00
Henrik Rydgård
58ef5ee940 Merge pull request #8307 from unknownbrackets/minor
Allow shortcut min/max on Windows, fix config save on exit
2015-12-26 10:39:57 +01:00
Unknown W. Brackets
b811dfc51b Actually, might as well on all platforms. 2015-12-25 19:41:17 -08:00
Unknown W. Brackets
82e41a1392 Make sure the config is saved on exit.
May help #7724.
2015-12-25 19:39:52 -08:00
Henrik Rydgård
1e2f45ec4f Merge pull request #8291 from unknownbrackets/ui-tweaks2
Show a scroll view inside the devtools window
2015-12-24 23:15:46 +01:00
Unknown W. Brackets
e6b5fbb40a Fix race conditions when reading game title.
Fixes #5030.
2015-12-24 13:18:46 -08:00
Unknown W. Brackets
bf20b992ea Make some tab holders fill their parent width.
This is really what we want, not WRAP_CONTENT.
2015-12-22 20:45:47 -08:00
Henrik Rydgard
732b1239e7 Add some permission infrastructure, add an ugly button that asks you to grant STORAGE permission if necessary. 2015-12-17 22:41:50 +01:00
Henrik Rydgard
8996f58693 Generate save state IDs for homebrew using the elf or directory name where applicable. 2015-09-25 19:27:40 +02:00
Henrik Rydgård
28b6cdf0de Hack around #7991 - will investigate later. 2015-09-23 17:34:16 +02:00
Henrik Rydgard
6cc7a85cde Rename WndMainWindow to MainWindow 2015-09-19 13:14:05 +02:00
Henrik Rydgard
05c625ed06 Even less file I/O in menu screens, by caching "hasConfig" flag for game info. See #7807 2015-09-10 17:17:59 +02:00
Henrik Rydgard
0f8a969284 Remove option to hide the homebrew store 2015-07-04 10:37:00 +02:00
vnctdj
a5e63e4612 Consistently use *mm for the MainMenu i18n category 2015-07-02 00:02:08 +02:00