Henrik Rydgård
cdf11dffd1
Shrink the "Cardboard VR Off" button.
...
Got a complaint through email that it was so large it could be visible with
the cardboard on, despite its location.
2020-08-30 17:50:42 +02:00
Henrik Rydgård
7aacf3df37
Remove time_now() - time_now_d() is the replacement. Absolute time values can't be stored reliably in floats.
2020-08-16 09:37:18 +02:00
Henrik Rydgård
ccc0331279
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 20:53:08 +02:00
Henrik Rydgård
3fd8f3d86d
Add a setting. Various tweaks to sound triggering.
2020-08-03 12:08:11 +02:00
Henrik Rydgård
55eb2844fd
Hook up a couple more sounds. Unfortunately clickable back buttons now play both back and confirm sounds...
2020-08-03 12:08:11 +02: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
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
Henrik Rydgård
1f742fd07a
UI: Better way of showing game/savedata images. Fixes #12408
2019-10-11 17:34:38 +02:00
Henrik Rydgård
c5b9e9f718
Comment some confusing code
2019-06-25 21:37:40 +02:00
Unknown W. Brackets
8c282db225
UI: Clear queued events on Event destruct.
...
May help a crash seen in #11890 .
2019-06-23 11:13:14 -07:00
Henrik Rydgard
0aedf3755f
Fix checkbox bug introduced in #11758 . Fixes #11761 .
2019-02-04 13:22:58 +01:00
Unknown W. Brackets
304c90934b
UI: Add bitfield checkbox.
2019-02-03 14:57:08 -08:00
Unknown W. Brackets
40c7f5ddfd
UI: Make button padding configurable.
...
Useful for buttons on the MainScreen which look out of place with the
default padding.
2018-06-07 14:14:20 -07:00
Henrik Rydgård
b9b41f52c5
Add a simple spinner to the game load screen to not look frozen.
2018-02-08 12:03:29 +01:00
Unknown W. Brackets
d4400b358a
UI: Actually offset text shadow.
...
It wasn't actually visible before, since it was strictly underneath text
that was usually white.
2018-01-01 22:58:07 -08:00
Unknown W. Brackets
52ee2f7790
UI: Give ItemHeaders intrinsic size.
2017-12-12 00:16:05 -08:00
Unknown W. Brackets
bdac150aab
UI: Reset transitions after too long a time.
2017-12-10 12:21:57 -08:00
Unknown W. Brackets
b00f6ac8c1
UI: Transition button and item focus/presses.
...
Just a quick touch of transition.
2017-12-10 09:00:53 -08:00
Unknown W. Brackets
46ea88e096
UI: Add delay to tweens.
...
Also allow them to start out in an invalid state and accept first divert.
2017-12-10 09:00:52 -08:00
Unknown W. Brackets
cf6ccfca99
UI: Persist tween data on view recreate.
2017-12-09 14:10:42 -08:00
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 and GitHub
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