Commit Graph
171 Commits
Author SHA1 Message Date
Unknown W. Brackets dd909d36cc Osk: Draw shadows on all the letters. 2020-07-13 18:24:05 -07:00
Unknown W. Brackets 143ba22097 PPGe: Handle text shadows more consistently.
Don't really want them wrapping differently or etc.  Let's handle
centrally so we can make them consistent and better.
2020-07-13 18:20:57 -07:00
Unknown W. Brackets 4f586f9567 PPGe: Left align messages in dialogs.
It was previously left aligned, but the TextDrawer was being told to
center.  These are meant to just center the enclosing box of text, not the
individual lines within.

Makes Final Fantasy 3 look a lot better.
2020-05-23 19:59:56 -07:00
Unknown W. Brackets 7e70fa1627 Mp4: Cleanup some parameters. 2020-05-17 00:05:04 -07:00
Unknown W. Brackets 84cc212cfd SaveState: Correct compat load with OSK changes. 2020-03-23 19:57:04 -07:00
Henrik Rydgård d1196f2fc0 Support a few more wstring functions on non-windows platforms, due to the armips assembler. 2020-03-22 17:03:49 +01:00
Henrik Rydgård 75cdc11fdb Text input: Clearly use 16-bit chars like the PSP, don't rely on wchar_t. 2020-03-22 16:44:19 +01:00
Unknown W. Brackets 998f95786a Android: Enable native keyboard for OSK.
And make Windows/Qt follow the same async behavior for input boxes.
2020-03-09 18:59:53 -07:00
Henrik RydgårdandGitHub 4501045224 Merge pull request #12691 from unknownbrackets/inputbox
Android: Process input prompts more clearly
2020-03-09 20:28:25 +01:00
Unknown W. Brackets bc07a0529c Osk: Prevent adding highlighted char past limit.
The display would correctly show the number of characters allowed, but you
could still end up going one past.  This caused glitches in some games,
see #9821.
2020-03-09 06:40:30 -07:00
Unknown W. Brackets efceb031ce UI: Make System_InputBox API asynchronous.
Doing this as a precursor to cleaning up the Android madness.
2020-03-08 18:59:17 -07: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
Unknown W. Brackets 5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Unknown W. Brackets 190691f249 OSK: Limit allowed keyboards based on input mask. 2017-10-14 22:59:48 -07:00
Unknown W. Brackets dcf8da244d Prevent buffer overrun from OSK dialog.
If there was never a null, by mistake, we'd corrupt memory and then crash.

Occurs in the "Sonymon" homebrew.
2016-06-26 20:28:01 -07:00
Henrik Rydgard 727058fc27 Remove an entry from GPUStats that didn't really belong. 2016-04-02 11:06:05 +02:00
vnctdj d7eba2061e Consistently use *di for the Dialog i18n category 2015-07-01 23:26:55 +02:00
Peter Tissen 35d3b25df9 kana keyboard pa->ha fix 2015-05-06 02:42:22 +02:00
ChinandHenrik Rydgard 37f50a3792 Change to pass some arguments by reference 2015-03-01 16:49:00 +01:00
raven02 3c938ec5ae Reorganize OSK button 2014-04-24 06:13:00 +08:00
Henrik Rydgård fb82cfd258 Revert "Merge pull request #5939 from raven02/patch-18"
This reverts commit cf267abc82, reversing
changes made to 97c18e7f0e.
2014-04-23 21:17:53 +02:00
raven02 0ad773f76a Reorganize OSK a bit 2014-04-23 21:01:00 +08:00
Unknown W. Brackets fc833adde0 Return an error for invalid savedata sizes.
May fix WALL-E according to:
http://forums.ppsspp.org/showthread.php?tid=434
2014-03-23 23:14:40 -07:00
vnctdj 92348b0cc4 Trying to fix encoding 2014-03-14 05:32:31 +01:00
vnctdj 408168181d Update PSPOskDialog.cpp
Cosmetic change (more space added between the 2nd and the 3rd column of buttons)

before >> http://img15.hostingpics.net/pics/947242ULES0121300000.png
now >> http://img15.hostingpics.net/pics/365423ULES0121300001.png
2014-03-14 00:59:28 +01:00
The Dax 0ce4d40636 Properly limit the space button so it can't go past the max text length. 2014-03-13 12:20:03 -04:00
The Dax 87c6260860 OSK: Let square serve as a spacebar. 2014-03-13 10:49:38 -04:00
Unknown W. Brackets 1f5639a489 Add a delay for status changes to the OSK.
I cut down the init delay because it's really annoyingly long.
2014-02-08 17:44:13 -08:00
Unknown W. Brackets 7add81fbd2 Use USING_WIN_UI instead of _WIN32 for differences.
Just makes the code clearer and probably helps other UIs work on Windows
more easily.
2014-02-08 16:38:45 -08:00
Unknown W. Brackets 6c8f310322 Draw 16, not 15 characters max in the OSK.
This is a convenient number because passwords in some games are 16
characters long.  16 seems more likely to be choosen by developers as a
limit, and still fits well enough within the bounds.
2014-02-02 15:50:02 -08:00
Unknown W. Brackets 77acd0729f Use the latch in dialogs throughout.
This makes it so that rapid fire works for them as well.
2014-02-02 15:48:29 -08:00
The Dax 92ab821f14 Allow the OSK text input buttons to be held and thus repeat. 2013-12-14 18:18:18 -05:00
pal1000 95a3660a34 Visual Studio 2013 buildfix 2013-12-12 16:11:36 +02:00
Henrik Rydgard 70174ac405 Warn fix, cleanup, update buttons.svg 2013-12-12 12:08:36 +01:00
shenweip 389fee29b5 Limit field drew number,draw back of string if length is greater than limit. 2013-12-12 13:10:42 +08:00
Sacha 108edd4093 Buildfix for Windows Qt. Enable PSP model SLIM on Symbian (works fine due to lack of mmap). 2013-12-10 18:49:25 +10:00
Sacha a0c5af288c Add InputBox as a platform-specific system function instead of a host function. Enable it on all Qt platforms. Add Set Nickname to mobile Qt. 2013-12-08 20:16:34 +10:00
Henrik Rydgard 1ec0a977e4 Fix too-slow fade in/out of save dialogs and others in 30hz games. 2013-10-16 18:54:40 +02:00
Unknown W. Brackets 49bd553238 Avoid some shadowing warnings. 2013-10-05 11:13:39 -07:00
mgaver 6be671b8ec Update PSPOskDialog.cpp 2013-09-29 17:12:45 +09:00
The Dax 1c9c2576eb Add comments back in. I promised Unknown I'd add them back in. 2013-09-28 18:18:49 -04:00
The Dax 2f9a909697 Remove unused extern. 2013-09-28 18:15:40 -04:00
Henrik Rydgard 8d1fce2935 Update lang 2013-09-28 20:07:57 +02:00
Henrik Rydgård a757457ec2 Merge pull request #3933 from mgaver/patch-7
Update PSPOskDialog.cpp
2013-09-27 02:47:38 -07:00
Henrik Rydgard 6143cfabd9 Fix encoding of PSPOskDialog so it works on the build bot. Oh no, not another of these... 2013-09-26 17:39:36 +02:00
mgaver a475691171 Update PSPOskDialog.cpp 2013-09-27 00:29:04 +09:00
raven02 deaf86a433 Align OSK button bit better 2013-09-26 21:26:19 +08:00
The Dax 3cc07ec1af Let LTRIGGER cycle languages backward. 2013-09-25 17:33:22 -04:00
The Dax a7a416fa88 Pull language names from langregion.ini. 2013-09-25 17:17:17 -04:00
The Dax 17d52ce07c Adjust some of the text to look better. 2013-09-25 16:25:26 -04:00