Unknown W. Brackets
92d930887f
Android: Add both a lost and restore phase.
...
Lost = delete, restore = create. Let's stick to never overlapping.
May help #8912 .
2016-09-10 21:58:42 -07: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
Unknown W. Brackets
53cc4524b1
UI: Center multiline text more correctly.
2016-08-14 14:57:38 -07:00
Unknown W. Brackets
f4c735ee4e
UI: Allow scrollviews to wrap content.
...
In the opposing direction, we can't AT_MOST if we don't have a good size
and we're wrapping content. This can happen inside a LinearLayout.
2016-08-14 13:09:55 -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
192d6ca60a
UI: Allow explicit newlines in popup choice titles.
2016-08-07 17:44:02 -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
ab3ed7d2ef
UI: Account for flexible things changing on wrap.
...
If something has a flexible width, that may affect its final calculated
height. This allows it to grow in such a situation.
2016-08-07 16:35:58 -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
d00a2bbc04
UI: Specify max height for horizontal scroll.
2016-08-07 16:35:55 -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
df5377b8d5
UI: Measure small text correctly in Qt/Windows.
2016-08-07 15:24:48 -07:00
Unknown W. Brackets
b37ac3580d
UI: Use a helper for vert/horiz margin sum.
2016-08-07 15:24:47 -07:00
Unknown W. Brackets
e55198f7e7
Correct some initialization order warnings.
...
Also, another missing init with IRBlocks.
2016-08-05 10:46:11 -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
a913e0f0fc
Remove some unused private properties.
2016-05-21 09:29:04 -07:00
Unknown W. Brackets
2e1986d0c8
Fix a few reorder warnings.
2016-05-01 09:50:03 -07:00
Unknown W. Brackets
a518ad783d
UI: Align screenshot preview in savestate manager.
2016-04-24 11:51:06 -07:00
Henrik Rydgard
4197148dc4
Add some paranoid checks hoping to fix crashes reported in Google Play developer console.
2016-04-09 18:27:35 +02:00
Henrik Rydgard
c64064024d
Initial vulkan code.
...
This was squashed from nine commits but using old versions of Vulkan.
2016-03-20 19:18:35 +01:00
Henrik Rydgård
54a37f9bb8
Merge pull request #8591 from unknownbrackets/thin3d
...
Use thin3d for softgpu drawing (+thin3d improvements)
2016-03-20 18:06:53 +01:00
Henrik Rydgard
5ad772a8bf
Further fixes to Java EGL support
2016-03-17 19:42:59 +01:00
Henrik Rydgard
c8457d39ed
Fix a bunch of compiler warnings, delete some unused code
2016-03-13 15:17:31 +01:00
Henrik Rydgard
98dc56116f
Add ability to hide items from popup lists
2016-03-06 11:54:38 -08:00
Unknown W. Brackets
05fee24ccf
thin3d: Add sampler state selection.
2016-02-13 14:03:43 -08:00
Henrik Rydgard
35b6c7341b
Fix a bunch of memory leaks, after enabling file+line-number memory leak tracking for the MS Debug CRT.
...
Few of these were serious, most were on-exit, but good to have a cleaner memory report after running.
2016-02-10 15:36:10 +01:00
Unknown W. Brackets
b2a3b5c7b8
UI: Allow a degree of "pull" in scroll views.
...
Also, fix a clamp issue that could've shown up for a frame while dragging.
Fixes #8505 .
2016-01-25 21:53:41 -08: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
68a6f8186d
UI: Avoid scroll to top on tab restore.
...
Oops, missed this case.
Fixes #7975 , savedata manager scrolling on delete.
2016-01-23 10:52:16 -08:00
Unknown W. Brackets
c1812ae7d7
UI: Clamp scroll pos on render.
...
This way we don't clamp wrongly when views don't have sizes yet, and we
also do clamp when we need to.
We can allow a little flex by tracking the down state too.
2016-01-23 10:10:43 -08:00
Unknown W. Brackets
705ab497f2
UI: Oops, use tag for focus too.
2016-01-23 09:20:53 -08:00
Unknown W. Brackets
60f00820f8
UI: Move scrollviews to top on hide.
...
This seems like a common scrolling decision.
2016-01-23 09:15:50 -08:00
Unknown W. Brackets
2176920d5d
UI: Disable scroll-to-top on resize of scrollview.
2016-01-23 09:07:14 -08:00
Unknown W. Brackets
1318f29c8d
UI: Update layout on recreate to focus subviews.
2016-01-23 09:07:13 -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
78aae01cd4
UI: Allow scroll views to persist their position.
...
It'll be clamped as necessary.
2016-01-22 23:02:44 -08:00
Unknown W. Brackets
1c2ac798cd
UI: Persist selected tab on resize.
2016-01-22 22:40:36 -08:00
Unknown W. Brackets
f6772ec526
UI: Add a simple means of persisting data.
2016-01-22 22:40:16 -08:00
Unknown W. Brackets
9fa6777c3e
Fix copy/paste mistake with growing views.
2016-01-04 06:46:06 -08:00
Henrik Rydgard
f7f9f321a0
Qt fixes
2016-01-03 15:03:08 +01:00
Henrik Rydgård
21bf73a612
Merge pull request #8281 from unknownbrackets/ui-tweaks
...
Add feature to auto-hide buttons after X seconds
2015-12-24 23:15:59 +01:00
Henrik Rydgård
1e2f45ec4f
Merge pull request #8291 from unknownbrackets/ui-tweaks2
...
Show a scroll view inside the devtools window
2015-12-24 23:15:46 +01:00
Unknown W. Brackets
2389ef589e
Fix a mistaken string compare.
2015-12-23 15:26:29 -08:00
Unknown W. Brackets
d6cd3bd5ad
Remove some unused variables.
2015-12-23 15:22:28 -08:00
Unknown W. Brackets
8923bd46e7
Support AT_MOST for WRAP_CONTENT.
2015-12-22 20:45:50 -08:00
Unknown W. Brackets
85ad28d4cd
Prettify fake RTTI for layout params.
...
Better not to make the RTTI/non-RTTI thing a problem in lots of places.
2015-12-22 20:45:49 -08:00
Unknown W. Brackets
e7f70ff8d0
Handle weighted LinearLayout children better.
...
This allows them to not stretch the parent completely, but still increase
the size of the parent.
2015-12-22 20:45:49 -08:00