Commit Graph
536 Commits
Author SHA1 Message Date
Henrik Rydgård 2178567ba0 UWP: Fix loading the default theme.
Hopefully takes care of #15496

See also #15464
2022-04-24 14:12:15 +02:00
iota97 53fe6940df Allow to change atlas per theme 2022-04-01 09:59:40 +02:00
iota97 1d37ec48a4 Allow to set default background color in a theme 2022-02-18 21:02:07 +01:00
iota97andHenrik Rydgård b1cf29bb38 Fix live update 2022-02-18 14:24:48 +01:00
iota97andHenrik Rydgård 3f505f760c Disable darkening background, also allow to over saturate up to 2 2022-02-18 14:24:46 +01:00
Henrik Rydgård ce2995f952 Add UI Tint/Saturation settings
Does the color tinting in the vertex shader.
2022-02-18 14:23:57 +01:00
iota97 aa9d097d11 More fixes for themes 2022-02-14 15:07:33 +01:00
iota97 561870dc25 Merge item and button style, remove hightlighed and few other fixes 2022-02-14 13:57:22 +01:00
iota97 7860aea62f Fix disabled bg 2022-02-14 11:30:37 +01:00
Unknown W. Brackets 2479d52202 Global: Reduce includes of common headers.
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
Unknown W. Brackets 0d4af49590 UI: Clarify error message.
Include both files, even if the platform only uses one of the two.
2021-12-11 09:01:15 -08:00
Henrik Rydgård d4237fd542 Split the atlas into three, well two, but two different cases for the fonts.
Platforms that can use OS fonts don't need font_atlas.zim but they do
need ascii font for debug, so does use asciifont_atlas.zim.
2021-12-10 23:22:08 +01:00
Henrik RydgårdandGitHub 4161b500ab Merge pull request #15021 from unknownbrackets/ui-font-atlas
UI: Support a second texture for just fonts
2021-11-09 22:51:09 +01:00
Unknown W. Brackets 49c64e12d1 UI: Add a way to disable tabs in tab strips. 2021-10-19 10:01:52 -07:00
Unknown W. Brackets eb81d5b30b UI: Support a second texture for just fonts.
Will still allow using fonts between both.
2021-10-19 10:01:17 -07:00
Unknown W. Brackets d2ff66a660 UI: Clear textures on Begin.
On GLES, saw a texture bound to slot 1 when UI started to draw after an
emu frame, which caused a crash because there was no sampler.  Let's just
explicitly flush.
2021-10-12 20:34:43 -07:00
Henrik Rydgård 59b2604c14 Consistent sampler modes in UI to make Mali happy 2021-10-08 22:20:57 +02:00
Henrik Rydgård 944d2c3aa1 Set texture clamp mode for UI drawing. Fixes #14977, hopefully without breaking anything else.. 2021-10-08 00:22:50 +02:00
Henrik Rydgård bef9764700 Fix small mistake in Choice layout with image 2021-10-04 22:58:18 +02:00
Henrik Rydgård 08b7d646e8 Show text on the Browse button 2021-10-04 22:46:40 +02:00
Henrik Rydgård d390127cc6 Minor warning fix 2021-10-04 22:46:40 +02:00
Henrik RydgårdandGitHub cc43ce0404 Merge pull request #14944 from unknownbrackets/ui-touch-controls
Cleanup UI touch controls button handling
2021-09-28 19:37:29 +02:00
iota97 003a34ccf5 Increase few column width for long translation, make control binding a bit taller 2021-09-28 18:02:37 +02:00
Unknown W. Brackets 931ba43216 UI: Remove scroll to top on size change.
It wasn't actually used anywhere, and I don't see a reason for it now.
2021-09-27 23:39:33 -07:00
Unknown W. Brackets 374569ce7e UI: Keep scroll position on async load.
For the saved scroll position in the game list.
2021-09-27 23:37:31 -07:00
Unknown W. Brackets fc78b408b2 UI: Have scroll views directly remember their pos.
Kinda like checkboxes, cleaner this way.
2021-09-27 23:25:41 -07:00
Unknown W. Brackets 8f1cca8b83 UI: Use a proper view for touch control borders. 2021-09-27 17:42:47 -07:00
Unknown W. Brackets d623cae7cc UI: Fix measuring width constrained choices. 2021-09-26 07:55:38 -07:00
Unknown W. Brackets d9b39eed02 UI: Avoid math on calculated value width.
If we add an integer and then subtract an integer, our result may change
slightly, causing wrapping.
2021-09-25 07:59:18 -07:00
Unknown W. Brackets 4c7bbad89d UI: Shrink value for all choice variants. 2021-09-24 08:21:27 -07:00
Unknown W. Brackets d41c8b077a UI: Shrink value display if needed. 2021-09-24 08:09:43 -07:00
Unknown W. Brackets c1fbd4dd57 UI: Measure width of choice with values properly.
Otherwise we don't give it enough width (or potentially height) for the
label and value.
2021-09-24 07:13:56 -07:00
iota97 e8ad59371d Use icon rather than string for combo key setup 2021-09-22 23:05:33 +02:00
Henrik Rydgård 50e008e385 Browse -> OK. Align buttons. 2021-09-19 20:24:28 +02:00
Henrik Rydgård 97695d1f04 Style fix 2021-09-19 20:23:46 +02:00
Henrik Rydgård 80d4450e84 Show the path to access PSP data through USB in the settings screen. 2021-09-19 20:23:46 +02:00
Henrik Rydgård 74c842c951 Add image support to UI::Choice. 2021-09-19 20:23:46 +02:00
Henrik Rydgård 357293cd9f Implement the new MemStick screen experience (rough cut) 2021-09-19 20:23:46 +02:00
Henrik Rydgård cc9a739faf Fix the look of buttons with images. Use one. 2021-09-19 20:23:46 +02:00
Henrik RydgårdandGitHub b17ff0e5af Merge pull request #14818 from iota97/super-wp
Focus based moving background
2021-09-11 20:50:54 +02:00
Henrik Rydgård d3abcf1b56 Draw bullet points as circles for a consistent look regardless of system font. 2021-09-10 23:41:44 +02:00
iota97 c94e9ad73c Support ScrollView for focus position 2021-09-10 02:06:51 +02:00
iota97 ecab31ef8b Keep track of focus position 2021-09-09 17:35:19 +02:00
Unknown W. Brackets e9ebd86439 UI: Fix scrollview focus scroll before relayout.
Need to use the position of the bounds as of last layout, not the new
desired position.
2021-08-29 17:35:58 -07:00
Unknown W. Brackets 7a29a8bd48 UI: Handle WRAP_CONTENT in flexible scroll views.
If the scroll view had weight, it'd grow to the max size always.  Now it
still fits to the container, if that's what it's set to.
2021-08-29 16:39:14 -07:00
Unknown W. Brackets 5e3ffe94b3 UI: Allow scoll views to have specific height. 2021-08-29 14:11:32 -07:00
Unknown W. Brackets cf22268bc1 UI: Fix grids in ScrollViews and adjust gravity. 2021-08-29 14:10:14 -07:00
Unknown W. Brackets f7b92ebb29 UI: Try to keep button visible while mapping. 2021-08-28 16:29:27 -07:00
Unknown W. Brackets 202a9db885 UI: Add a screen to visualize PSP controls.
Currently, doesn't do anything.  But looks about right.
2021-08-28 14:09:06 -07:00
Henrik Rydgård b6228a1036 Add additional autoconf layout for xbox pads on Android. Revert the normal pad layout. 2021-08-28 15:38:03 +02:00