Commit graph

30 commits

Author SHA1 Message Date
Unknown W. Brackets
f23c7cf93b UI: Apply tweens on Update(). 2017-12-03 10:40:09 -08:00
Henrik Rydgård
3ecd7b4c02 Get rid of collision-prone font cache keys. Stress the font cache a little less on slider dialogs. 2017-11-22 22:44:34 +01:00
Henrik Rydgård
7b1e1cd5e0 Automatically scroll textboxes when the caret ends up outside. Fixes #10026 .
There was some code for this before but it didn't work.
2017-10-24 23:05:21 +02:00
Henrik Rydgård
ad84058d3a Really no need to hold eventMutex_ while dispatching events, only when interacting with the queue. Might fix further deadlocks (see #9698) 2017-05-18 17:29:36 +02:00
Unknown W. Brackets
0a73828042 UI: Use theme colors in more places.
Hopefully everywhere.
2017-03-26 08:57:04 -07:00
Henrik Rydgård
d721b629ca Accept DPAD_CENTER as an "Accept" key. Fixes #9471 2017-03-22 16:52:34 +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
9e390510df Remove legacy InputState. 2017-03-14 22:07:07 -07: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
20d9e60a67 Just some renaming. Start moving away from the "thin3d" name 2017-01-30 14:38:31 +01:00
Henrik Rydgård
97d029972e Rename SetTextures to BindTextures 2016-12-25 11:31:33 +01:00
Unknown W. Brackets
b3b96ad993 UI: Use powered slider repeat on all devices.
Some devices send through repeats, but we want to do the increased speed
thing.  It might be ideal to use its repeat rate settings, but we don't
have a good way to do that cross platform...

Fixes #8696.
2016-09-05 16:16:10 -07:00
Unknown W. Brackets
42f8bbde50 UI: Make sliders increase with button held. 2016-09-05 16:14:01 -07:00
Henrik Rydgård
0924dbfdee Merge pull request #8900 from unknownbrackets/ui-text-wrap
Wrap text in many places where it makes sense
2016-08-09 00:16:13 +02:00
Unknown W. Brackets
f0a8e931ff Remove UTF-8 BOMs from a few files.
And note the only ones that do need them in editorconfig.
2016-08-07 17:59:35 -07:00
Unknown W. Brackets
604d6113c1 UI: Allow choices and checkboxes to wrap.
If the text is too long, they will scroll down first, then wrap.
2016-08-07 17:35:41 -07:00
Unknown W. Brackets
d6820f3cc3 UI: Allow measuring text with a scale. 2016-08-07 16:49:50 -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
277983ce35 UI: Scale option text down when there's no space.
This way, smaller or portrait screens just get smaller text, rather than
jumbled text going off the side.  Particularly important for some
translations.
2016-08-07 15:24:49 -07:00
Unknown W. Brackets
a2494b4ff2 UI: Allow TextViews to use wordwrap.
But they must have a fixed width.
2016-07-04 16:03:22 -07:00
Unknown W. Brackets
8d41664bb1 UI: Fix clipping with margins.
Affected text views, like "No screenshot." in save states.
2016-01-23 11:45:55 -08:00
Unknown W. Brackets
705ab497f2 UI: Oops, use tag for focus too. 2016-01-23 09:20:53 -08:00
Unknown W. Brackets
f26d682e14 UI: Persist the last focused view on resize. 2016-01-23 09:07:13 -08:00
Unknown W. Brackets
8923bd46e7 Support AT_MOST for WRAP_CONTENT. 2015-12-22 20:45:50 -08:00
Henrik Rydgard
2634f7344a Fix some focus/dragging issues with the sliders 2015-11-12 19:25:11 +01:00
Henrik Rydgard
ea69adb68b Fix scrolling in Combo Key setup. Fixes #8097. 2015-10-31 13:45:57 +01:00
Henrik Rydgård
28b6cdf0de Hack around #7991 - will investigate later. 2015-09-23 17:34:16 +02:00
Henrik Rydgård
7979b6378e Remove old UI framework 2015-09-19 10:58:50 +02:00
Henrik Rydgard
aa4a33e6db Fix "ANY" device keydefs (used for ui nav). 2015-09-17 22:07:22 +02:00
Unknown W. Brackets
f279c2a3c2 Merge remote repo native into ext/native/. 2015-09-06 12:24:17 -07:00