Henrik Rydgård
843fe22968
Remove superfluous .c_str()
2024-10-17 22:21:07 +02:00
Henrik Rydgård
97c5094ff2
Cleanup, fix the shader viewer UI
2024-10-17 21:43:03 +02:00
Henrik Rydgård
3def2ddb00
Avoid another allocation, this time with atlas fonts
2024-10-16 14:39:21 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
5b0007f391
Remove unused and broken text rotation code
2024-05-31 20:58:53 +02:00
Henrik Rydgård
5999690af5
i18n: Remove our awkward ampersand-escape support, except in [DesktopUI]
2024-05-31 09:45:59 +02:00
Henrik Rydgård
5d8560e379
Text wrapping bugfixes
2024-05-25 09:16:00 +02:00
Henrik Rydgård
8112e51c13
More string_view
2024-05-24 13:42:49 +02:00
Henrik Rydgård
4b45bde38f
Convert WordWrapper to use std::string_view
2024-05-24 13:39:49 +02:00
Henrik Rydgård
f6ca8101e0
Start getting string_view into WordWrapper
2024-05-24 12:40:11 +02:00
Henrik Rydgård
d39d4270e1
More std::string_view
2024-05-24 12:40:10 +02:00
Henrik Rydgård
d891aaf9cd
Remove code that pretended that we supported multiple vertex streams
...
Don't really see that we'll have much use for this feature, so simplify
it away. Only single vertex stream data is now supported by the thin3d
API.
2023-11-13 01:15:28 +01:00
Henrik Rydgård
931ff4eb1e
Guaranteed gap-free rendering of waves background
2023-10-04 17:07:55 +02:00
Henrik Rydgård
8b431b39ba
Wrap the display globals in a struct ( #16998 )
...
* Wrap the display globals in a struct
Makes it easier to search/replace these, for future refactorings.
* Some renaming
* Qt buildfix, also fix the Qt build on Mac (got broken with battery changes)
* Attempt at buildfixing ios
* UWP buildfix
2023-02-25 13:09:44 +01:00
Henrik Rydgård
a5aac94a78
Add a debug check in drawbuffer
2022-12-22 11:13:52 +01:00
Unknown W. Brackets
a7b7bf7826
Global: Set many read-only params as const.
...
This makes what they do and which args to use clearer, if nothing else.
2022-12-10 21:13:36 -08:00
Henrik Rydgård
cdb830f390
Minor optimization/cleanup
2022-12-10 12:05:40 +01:00
Henrik Rydgård
d4d92e39ff
Implement DrawUP for D3D11
...
This is so we can do simple drawing without buffer management through
thin3d on all backends.
2022-08-03 13:28:54 +02: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
Unknown W. Brackets
3df6cb704f
Global: Fix some type conversion warnings.
...
Hidden by some warning disables.
2022-01-30 16:09:33 -08: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
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
9283d14a3d
Fix wave on different dps
2021-09-09 11:58:02 +02:00
Henrik Rydgård
68f7c9e9ff
Round the location of single-pixel lines to the nearest pixel.
...
Should hopefully help #14204 .
2021-09-08 00:19:01 +02: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