Commit Graph

124 Commits

Author SHA1 Message Date
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
The Dax
7b6414e78d Overhaul the OSK. Select now acts as a shift button(swaps between upper/lower case; in the case of Korean, it does nothing. In the case of Japanese, it swaps Katakana/Hiragana). R Trigger now acts as a language selector, cycling through the 5 keyboard languages(English, English full-width, Japanese, Korean, Russian). 2013-09-25 16:18:07 -04:00
The Dax
1061d6193c Remove some unused stuff. 2013-09-25 13:52:41 -04:00
The Dax
90c21a370c Add Full-width Latin keyboard(upper and lower cases), and allow OSK to input characters as long as it's <= FieldMaxLength. This should allow Valkyria Chronicles II to have correct password entry on all platforms. 2013-09-25 13:50:50 -04:00
Unknown W. Brackets
50e9e45d65 Check version in each DoState() func.
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
The Dax
58aab2eeb8 Simplify NativeKeyboard, and only copy the amount of bytes of the output plus null terminator. 2013-09-11 15:42:32 -04:00
Unknown W. Brackets
db7496a37c Write only changed characters from OSK. 2013-09-11 08:04:01 -07:00
Henrik Rydgard
8c88dff5a4 More log categories, use them (and existing ones). Improve log config. 2013-09-07 22:02:55 +02:00
Lioncash
78f6808ece Remove a redundant wcsncat call.
Just makes the else statement the dominant branch.
2013-09-04 15:05:28 -04:00
The Dax
91fe3a8d4c Remove old comment since this now supports wchar/Unicode. 2013-08-27 08:54:41 -04:00
The Dax
d5c4f6673c Switch from u32_le to u32, and truncate the user's input if it's too long(so that they still get something entered. It's probably confusing not to enter something). 2013-08-27 08:46:54 -04:00
The Dax
3c303925c9 Change u32_le to u32. 2013-08-27 08:41:59 -04:00
The Dax
f70faaa0c2 Terminate the loop early if it's going to overflow; there's no reason to keep riding it out. Also fix use of uninitialized variable. 2013-08-27 08:08:06 -04:00
The Dax
2e25f00585 Really prevent the possible buffer overflow. This is getting silly. 2013-08-27 08:02:42 -04:00
The Dax
58ca962d89 Prevent possible buffer overflow. 2013-08-27 07:44:32 -04:00
The Dax
05b860c167 Win32: Update OSK bypass with Unicode/wchar/wstring support. 2013-08-27 07:36:46 -04:00
adrian17
06a015983a Fixed some doubled semicolons 2013-08-25 19:43:18 +02:00
Unknown W. Brackets
83373b8d87 Fix a pointer ARRAY_SIZE() compare (eek.) 2013-08-12 23:33:40 -07:00
Unknown W. Brackets
008052e6d6 Fix some variable hiding warnings. 2013-08-12 23:32:38 -07:00
Henrik Rydgard
51ffdfa132 Rename gpuStats.numFrames to numVBlanks. Switch to using numFlips for things like cache expirations. 2013-08-07 22:34:00 +02:00
The Dax
f9067e15c9 Remove old comment, change another one, and change MenuScreens.cpp to use the new class Host's InputBoxGetString. 2013-08-06 19:36:51 -04:00
The Dax
40b1c6298a Fix Headless build error introduced by #3063. 2013-08-06 19:28:43 -04:00
Henrik Rydgard
993d3b01de Android buildfix 2013-08-06 19:00:32 +02:00
The Dax
4a2605d85e Switch to strncat instead of sprintf. 2013-08-05 23:46:00 -04:00
The Dax
b9541d9a15 Switch to size_t instead of u32. 2013-08-05 23:29:59 -04:00
The Dax
1da0454508 Add support for changing the InputBox's title to the description text provided by the game(or the emulator itself). If none is provided(empty string), fall back to a default string. 2013-08-05 23:17:26 -04:00
The Dax
22bceea46c Remove old comment, and change length value. 2013-08-05 22:49:04 -04:00
The Dax
4570d83c05 Fix crash in InputBox.cpp by offering an overloaded func which takes a size, and use it in MenuScreens.cpp / PSPOskDialog.cpp. 2013-08-05 22:45:51 -04:00
The Dax
d20ac3c4c2 Fall back on "VALUE" if for some reason we can't get the initial text. 2013-08-05 22:15:10 -04:00
The Dax
db00010eb2 Support initial text from the oskParams struct, instead of hard-coding "VALUE". 2013-08-05 22:12:51 -04:00
The Dax
80953ac56d Win32: Enable user to change emulated PSP nickname from the menu screens by popping a dialog box.
Win32: Enable user to bypass the in-game OSK by using the same dialog box. It doesn't support non-Roman characters yet.
2013-08-05 21:39:06 -04:00
Unknown W. Brackets
777074cfe1 Switch to _le memory layout specs in dialogs. 2013-07-27 15:30:18 -07:00
Unknown W. Brackets
c36fa5bd76 Fix typo breaking delete button in OSK. 2013-06-26 08:07:21 -07:00
Lioncash
76165a8815 Fixed incorrect る/ル misplacements in the Japanese Hirigana/Katakana characters. Replaced them with the appropriate ろ/ロ character.
Fixes issue 2468.
2013-06-25 17:10:56 -04:00
Lioncash
5de2adcead Fixed missing Japanese characters in the OSK.
Also added the vowel lengthening character to Katakana and Hirigana
2013-06-25 16:59:40 -04:00
Lioncash
b823bb7543 Change PSPPointer function name Valid to IsValid.
Improves readability and shows intent better.
2013-06-25 09:51:39 -04:00
Unknown W. Brackets
8fe9620350 Always use iButtonPreference, fixes #2390. 2013-06-21 17:45:39 -07:00
Henrik Rydgård
c4abec3560 Add option for very transparent touch buttons 2013-06-17 20:28:22 +02:00
Henrik Rydgård
cf7fafc15c Merge pull request #2191 from aquanull/PSPDialog
Psp dialog improvements
2013-06-11 01:49:34 -07:00
evilcorn
ffd2211925 Use Button X to Confirm option also changes osk select and delete buttons 2013-06-10 13:50:26 -06:00
aquanull
b5440ecb65 Unify some common elements of dialogs. 2013-06-10 21:24:49 +08:00
aquanull
ddc85988ab Improve PSP system dialogs' looks.
Format date according to configurations.
Swap positions of button tips.
Fix text wrapping with non-top-left text alignment.
2013-06-10 21:24:48 +08:00
Unknown W. Brackets
fc51cf2e5e Fix OSK on Android, wchar_t is not always 16 bits.
Fixes #2073.
2013-06-04 22:39:42 -07:00
Unknown W. Brackets
20563beab2 Fix dumb typo, fixes #2051. 2013-06-03 07:41:49 -07:00
Unknown W. Brackets
9eea30c52d Fix some small warnings in OSK code. 2013-06-02 15:09:17 -07:00
Unknown W. Brackets
9eb2238704 Use a PSPPointer in OSK to simplify things. 2013-06-02 15:03:15 -07:00
Lioncash
f86eebbf74 Fix a case where the wrong array was used. 2013-06-01 04:13:39 -04:00
Sacha
c2ef287f51 Buildfix for Symbian/Meego and other platforms. 2013-06-01 17:10:22 +10:00