Commit Graph

53 Commits

Author SHA1 Message Date
Henrik Rydgård
b40098effd Chat: Cleanup the selection of chat input method, allow in-ui popup (what iOS needs). 2024-10-02 16:21:53 +02:00
Henrik Rydgård
1b158940ac PPSSPP UI: Implement password masking in popup text inputs 2024-09-26 11:32:51 +02:00
Henrik Rydgård
f020d1d815 Windows inputbox: Add flags field, delete dupe code, add ability to mask passwords 2024-09-26 10:48:31 +02:00
Henrik Rydgård
5e9bd09020 Untested change to enable chat on iOS 2024-08-06 09:25:44 -06:00
Henrik Rydgård
1304d04161 Fix a particular type of race condition in file dialog requests
It seems to be possible for a user to back out of a screen before
receiving the "dialog completed" callback on Android, in which case
things pointed to by the callback might be gone.

In this case, it's better to simply not call the callback, rather than
crashing.

This is accomplished by assigning "Tokens" to screens that cause
requests, and in ~Screen, invalidate any pending requests belonging to
that token.
2024-01-18 12:25:55 +01:00
Herman Semenov
95f535dab0 [UI/Windows] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:35:02 +03:00
M4xw
71639acd16 [Switch] Enable all System_InputBoxGetString usages 2023-06-22 00:47:00 +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
de064e210e Replace the inputbox queue with a more generic RequestManager. 2023-03-22 12:41:11 +01:00
Henrik Rydgård
c27689910e Break out ScrollView from ViewGroup.h, and PopupScreens from UIScreen.h 2023-01-11 10:56:31 +01:00
lainon
b304551747 Code readability, vec reserve() and remove excess c_str() 2022-09-30 12:31:32 +03: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
eccb79464d Fix chat here position 2021-09-15 10:25:26 +02:00
Unknown W. Brackets
9403947b67 UI: Decouple new chat display and tracking logic. 2021-09-14 18:08:16 -07:00
Unknown W. Brackets
be0b0cd88d UI: Track chat log changes more clearly.
This also makes it easier to have multiple views or etc. reading from it.
We want data flowing a single direction, chat system -> UI.
2021-09-14 18:08:16 -07:00
Unknown W. Brackets
40c233fa77 UI: Update flags more correctly in chat.
Not the ideal interface here, though...
2021-09-12 20:20:17 -07:00
Unknown W. Brackets
6b107a884b UI: Cleanup input box for chat. 2021-09-12 20:16:05 -07:00
Unknown W. Brackets
f45c5186ca UI: Move the chat message box to just a view.
Instead of being a popup.  This should make it easier to make sure things
work normally, and avoids some of the strange overrides of PopupScreen it
previously had.
2021-09-12 19:44:44 -07:00
Henrik Rydgård
bfee168175 Don't even bother checking touch.id == 0 for closing popup windows. It's fine to close with any touch.
Fixes issue with touch on Windows mentioned in #14387

Also includes a warning fix.
2021-04-17 22:34:35 +02:00
Unknown W. Brackets
3c778f567c UI: Add text description for all views. 2021-02-21 16:38:02 -08: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
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
Unknown W. Brackets
3c5d82d30e UI: Use standard text wrapping for chat messages.
This way they will actually wrap in a width-aware way, regardless of
screen size.  They should also better take into account non-Unicode.
2020-08-19 21:58:11 -07:00
Unknown W. Brackets
aa14fef19d UI: Allow text to use native fonts.
Yes, it changes, but we want to show characters outside our atlas.  It's
not just ASCII.
2020-08-19 21:38:46 -07:00
Unknown W. Brackets
631924f3e0 UI: Split chat lines using Unicode. 2020-08-19 21:35:31 -07:00
vnctdj
2a2af3a81c Fix translation things 2020-03-23 23:43:24 +01:00
vnctdj
220616e3e4 Enable chat input for SDL 2020-03-23 21:38:39 +01:00
Unknown W. Brackets
4d450b528f UI: Minor cleanups to chat UI code.
Just want to avoid crashes and warnings.
2020-03-10 20:44:30 -07:00
Unknown W. Brackets
a3e12f4242 Android: Process input prompts more clearly.
This way, the processing is generally inline or explicitly a callback.
There's also less parsing issues since all the parsing is centralized.
2020-03-08 20:45:01 -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
6fc073ffa7 UI: Simple joystick navigation. Fixes #10996. 2020-03-08 16:52:15 +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
Henrik Rydgård
3e6050beac Minor cleanups 2020-03-08 14:35:25 +01:00
ANR2ME
dc4df7d769 Tweaked chatbox a little bit 2020-03-03 01:52:31 +07:00
ANR2ME
394194f400 Fix chat color formatting 2020-03-03 00:59:20 +07:00
ANR2ME
93b59afed5 Fix building errors 2020-03-03 00:23:12 +07:00
Gde Made Novan Priambhada
f236ea1fc9 group chat options and set enabled ptr 2017-08-09 04:19:28 +08:00
Gde Made Novan Priambhada
4420719a86 Bug fix 2017-08-09 03:50:31 +08:00
Gde Made Novan Priambhada
f5d56872ce Quick Chat 2017-08-09 03:49:52 +08:00
Gde Made Novan Priambhada
97a4d6424f Rebased and fix the update scroll 2017-07-02 01:28:38 +08:00
Ade Novan
624d1cd82f chat screen & chat button position and hide ui on show chat 2017-07-02 01:28:38 +08:00
Ade Novan
6121dce9e1 remove pointer and using update() should fix random crash (thanks Uknown) 2017-07-02 01:28:38 +08:00
sum2012
fae863310c Build fix for Linux QT 2017-07-02 01:28:38 +08:00
sum2012
e17b57d9cb Add support OSK for windows 2017-07-02 01:28:38 +08:00
Ade Novan
766373e159 pointer and scroll fix 2017-07-02 01:28:38 +08:00
Ade Novan
f514b25c79 Windows CTRL + C Hotkey 2017-07-02 01:28:38 +08:00
Ade Novan
5187b9f118 Add New Chat Counter 2017-07-02 01:28:38 +08:00
Ade Novan
18525ea523 Android Chat Support 2017-07-02 01:28:38 +08:00
Ade Novan
2874c6d7d7 Oops it still random crashed destructor do the fix well 2017-07-02 01:28:38 +08:00