Commit Graph
302 Commits
Author SHA1 Message Date
Henrik Rydgard 4588eb8328 Add a couple of accessors to InfoView 2015-07-05 18:45:23 +02:00
vnctdj 6381704085 Consistently use *di for the Dialog i18n category
Same goal as https://github.com/hrydgard/ppsspp/pull/7836.
I didn't know native also uses this kind of pointers :)
2015-07-02 14:20:04 +02:00
Unknown W. Brackets 0f0115da8a Show a highlight for focusable text views. 2015-06-28 18:48:22 -07:00
Unknown W. Brackets 3c093ccf73 Show popup headers as marquees if they are too long.
They were just overflowing before.
2015-06-28 18:47:52 -07:00
Unknown W. Brackets b72060bc06 Retain focus with other choice popups. 2015-06-27 09:48:24 -07:00
Unknown W. Brackets 57f44edaea Retain focus after popup choice selection. 2015-06-27 09:42:06 -07:00
Henrik Rydgard ba829ad4aa Fix crash bug in DrawText on Windows, clip TextView text if too large 2015-06-12 12:38:48 +02:00
Henrik Rydgard eefcf86027 Initial profiler work 2015-05-12 23:24:37 +02:00
zhyk 7d9ff90bec Add UIContext::DrawTextShadow for drawing text correctly under Qt 2015-05-07 11:10:08 +08:00
Henrik Rydgård 98083c8985 UI: Make InfoView focusable, make it possible to make TextView focusable. 2015-04-03 11:14:21 +02:00
Henrik Rydgard 6f3125ac4d UI framework: Make keyboard repeats time-based instead of frame count based 2015-03-01 16:09:52 +01:00
Henrik Rydgard 52ce9c1118 Fix horizontal scrolling in ScrollViews and horizontal scroll gesture detection
Use this to scroll the tabs in TabHolders, to make more tabs fit on screen.
2015-02-24 00:22:58 +01:00
Henrik Rydgard d2acef3a3b Add a bit of "overscroll" to the scrollview when keyboard-navigating. Add shadow support to TextView 2015-02-15 11:20:19 +01:00
Henrik Rydgard 26bc250e9b cleanup 2015-02-09 23:12:51 +01:00
Henrik Rydgard c12d4242a8 Return a bool if you actually do something with a key event. 2015-02-03 00:10:38 +01:00
Henrik Rydgard 04515e4031 Fix margins in stretched subviews in LinearLayout 2015-02-02 09:12:07 +01:00
Henrik Rydgard 5becb9a4be Add a new image size mode (nothing here uses it though). Also add Bounds.Expand 2015-02-01 18:03:31 +01:00
Henrik Rydgard 40848ae4b6 A few UI framework tweaks 2015-01-05 01:19:49 +01:00
Henrik Rydgard 6ee1c8e9ee Make sure to disable stencil in UIContext::Begin. Add logic ops to thin3d for completeness. 2015-01-04 17:57:52 +01:00
Henrik Rydgard b891268d60 Clean up texture loading in thin3D a bit 2014-12-31 15:28:14 +01:00
Henrik Rydgard 33e00b5c2e UI: Get rid of "ImageFileView" which uses non-thin3d-compatible textures. 2014-12-31 11:23:50 +01:00
chinhodado abb96807cb Remove a redundant member variable in a subclass 2014-12-16 01:00:32 -05:00
Henrik Rydgård 524fceea5c Fix text input on SDL platforms. Make V_GONE more consistent. 2014-11-25 19:41:38 +01:00
Henrik Rydgard cedd5b2997 Add OnTextChanged event to TextEdit, minor other stuff 2014-11-16 16:44:07 +01:00
The Dax 03ed11fa0f Change OnChange back to OnChoice.
Not like it's used anyway, but it doesn't hurt.
2014-09-16 03:57:39 -04:00
The Dax 167f2a8a2c Add functionality to the MessagePopupScreen class.
It can more or less replace PromptScreen in PPSSPP.
2014-09-14 19:54:25 -04:00
Unknown W. Brackets ca16eb2857 Fix some type conversion warnings. 2014-08-30 02:05:21 -07:00
Unknown W. Brackets 731ab24e21 d3d: fix scissoring by using top=actual top. 2014-08-24 19:50:36 -07:00
Henrik Rydgard ff5df25135 Add Thin3d support to draw_text (Qt not touched) 2014-08-22 20:54:28 +02:00
Henrik Rydgard 54b298a63e More Thin3D work (textures etc) 2014-08-22 20:54:26 +02:00
Henrik Rydgard 29a60b5952 Thin3d: Add cull mode, other fixes 2014-08-22 20:54:25 +02:00
Henrik Rydgard bf41d05dfc Switch to Thin3DTexture. GL still works, d3d still broken. 2014-08-22 20:54:25 +02:00
Henrik Rydgard 40b67e27cf Crashfix 2014-08-22 20:54:24 +02:00
Henrik Rydgard a9b5fe44bf Slip thin3d underneath DrawBuffer/UI 2014-08-22 20:54:23 +02:00
The Dax cfae07f72b Need to initialise step_ here, too. 2014-08-16 15:15:01 -04:00
The Dax 69e66df07e Update PopupSliderChoiceFloat to have increment/decrement buttons, and stepping. 2014-08-16 15:07:06 -04:00
Unknown W. Brackets deed84f997 Reassert the add equation in UIContext.
Otherwise it might use subtract or some other equation.

Fixes another case of hrydgard/ppsspp#6678.
2014-08-03 21:38:29 -07:00
Henrik Rydgard 14141b5a9e Add some hackery to work around the problem of textedit losing focus on click 2014-07-23 21:40:12 +02:00
Henrik Rydgard 9f4f49be66 TextEdit: Add single undo, paste over the contents 2014-07-22 22:16:09 +02:00
Henrik Rydgard 78941b0871 TextEdit: Clip to rect, scroll if caret outside rect 2014-07-22 10:20:51 +02:00
Henrik Rydgard d826c7f181 Have PopupMultiChoice update their strings every frame 2014-07-22 09:54:55 +02:00
Henrik Rydgard 4195da289c ChoiceWithValueDisplay: Allow translation of the value 2014-07-21 18:42:25 +02:00
Henrik Rydgard 9d8d64b321 TextEdit: Ctrl-C to copy the contents of the textbox. 2014-07-21 17:35:51 +02:00
Henrik Rydgard 6f6f6eb1fb TextEdit: Add utf-8 support, enable paste from clipboard 2014-07-21 11:59:05 +02:00
Henrik Rydgard dcd27e134d Add flag to identify events from mouses. 2014-07-20 22:24:54 +02:00
Unknown W. Brackets a7bb45a30b Fix a few minor warnings on Android.
Seems st_mtime is not a time_t there, just unsigned long.
2014-07-20 08:47:37 -07:00
Unknown W. Brackets ed04a0bf28 Only trigger a popup's default button if it has one. 2014-07-19 22:57:09 -07:00
The Dax 085faa87cc Add a new Choice subclass which lets the UI display a value in addition to the title, similar to other controls. 2014-07-18 18:45:26 -04:00
Henrik Rydgard 31f7ad574a Add focus management to textedit. Close popups (with OnOK) on Enter. 2014-07-18 12:22:33 +02:00
Henrik Rydgard 76cb31cdd5 nativeui: Add basic TextEdit control, and popupchoice 2014-07-18 11:03:18 +02:00