Unknown W. Brackets
956d80b93e
UI: Minor cleanup.
2023-04-09 22:39:29 -07:00
Henrik Rydgård
019a9e2923
MacOS build fixes
2023-04-07 10:35:01 +02:00
Henrik Rydgård
ee6234ecb6
I18N: Switch to getting categories by index instead of by string lookup
...
Also gets rid of the shared_ptr usage, and generally makes things nicer.
Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
6f9339b011
Add defaults for all int-slider settings too
2023-04-05 10:50:53 +02:00
Henrik Rydgård
4e0babc950
Add a "reset to default" for all float-slider settings
...
Unfortunately, the default values from the configs are not exposed
outside Config.cpp, so there's duplication.
Need to figure out how to do fix that, but it's out-of-scope for this
PR.
2023-04-05 10:50:53 +02:00
Henrik Rydgård
d00809ae53
Rename KeyDef to InputMapping and give it responsibility for Axis encoding
2023-03-29 11:59:31 +02:00
Henrik Rydgård
88fe4799a5
UI: Fix weird misbehavior dragging outside a popup dialog
...
Fixes #17107
2023-03-24 00:11:49 +01:00
Henrik Rydgård
ac66deeb25
Improve cheats UX
2023-03-23 10:18:21 +01:00
Henrik Rydgård
410b35fba3
Get rid of "finish" and "setclipboardtext" messages, replace with requests.
2023-03-22 22:17:26 +01: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
49e5460c9c
Remove count parameter from SetViewports. No use foreseen.
2023-02-25 07:12:53 +01:00
Henrik Rydgård
59dec197d8
Add previews for more types, fix mappings.
2023-02-02 01:09:33 +01:00
Henrik Rydgård
9e3cc66809
Tilt: Add visualizer to customize tilt dialog. Improve defaults.
2023-02-01 15:35:57 +01:00
Henrik Rydgård
5ca0bfe716
Fix compile error and warning
...
Fixes #16886
2023-02-01 11:13:51 +01:00
Henrik Rydgård
5154e5e7b8
Add some padding to the textview, buildfix
2023-01-31 21:26:12 +01:00
Henrik Rydgård
4f20852953
cleanup
2023-01-31 20:38:09 +01:00
Henrik Rydgård
b97749d623
Assorted initialization cleanup and similar, found by valgrind and warnings
2023-01-30 18:31:49 +01:00
Henrik Rydgård
0f52954eae
Minor log cleanups
2023-01-30 14:38:05 +01:00
Henrik Rydgård
4287365411
Update URLs, fix feedback from #16851
2023-01-29 00:25:27 +01:00
Henrik Rydgård
415e3f1d9d
Merge pull request #16851 from SerenaKit/serena/battery-stuff
...
Ability to show battery % on Darwin platforms, transform FPS/Speed counter into a BitCheckbox
2023-01-28 11:39:48 +01:00
Serena
c37f3edb7d
fix indent
2023-01-28 09:53:11 +03:00
Serena
f250a54958
Support for showing % on Darwin platforms and some other changes
2023-01-27 11:19:29 +03:00
Henrik Rydgård
91cca1c980
Improve scissor rect clipping. Affected D3D11 validation when maximizing/minimizing.
2023-01-24 16:48:13 +01:00
Unknown W. Brackets
7d13d87435
Windows: Fix MSVC 2017 compile.
2023-01-14 16:35:28 -08:00
Henrik Rydgård
69ff11fb40
UI: Make vertical scrollbars directly draggable.
2023-01-11 11:58:51 +01:00
Henrik Rydgård
c27689910e
Break out ScrollView from ViewGroup.h, and PopupScreens from UIScreen.h
2023-01-11 10:56:31 +01:00
Henrik Rydgård
9547deb0c6
Simplify away some theme parameters. Make popups look better
2023-01-10 16:00:17 +01:00
Henrik Rydgård
07114c6aaf
Remove return value from axis functions in API
2023-01-10 10:12:37 +01:00
Henrik Rydgård
a3a949f5e6
Remove touch() return values from screen hierarchy
2023-01-10 10:12:37 +01:00
Henrik Rydgård
c8a71894e3
Add "SetDrawTextFlags" to Choice to allow specifying DYNAMIC_ASCII
2023-01-09 11:22:35 +01:00
Henrik Rydgård
c3f8116309
Merge pull request #16699 from hrydgard/smooth-touchpad-scrolling
...
Fix smooth touchpad scrolling on Windows
2023-01-04 09:53:10 +01:00
Henrik Rydgård
a5747d53b3
Fix some report spam
2023-01-02 22:23:50 +01:00
Henrik Rydgård
30c591e813
Fix smooth touchpad scrolling on Windows
...
Forgot that I had half-implemented it but not finished it up..
2023-01-01 22:23:14 +01:00
Unknown W. Brackets
68fb7a477d
UI: Fix tiny reverse dependency.
2022-12-27 15:18:35 -08:00
Henrik Rydgård
f68ba55f96
Minor initialization cleanups
2022-12-22 11:13:52 +01:00
Henrik Rydgård
630b7830fa
Improve background drag behavior on display layout screen
...
If you moved into and mouse-up-ed over one of the menus while dragging
the background, it stopped registering movement and "up events" which
felt really awkward.
This is not super pretty, better would be a win32-SetCapture-like
mechanism but works okay.
2022-12-13 00:27:22 +01:00
Unknown W. Brackets
9cfcbc46e6
Global: Cleanup initialization/pointer checks.
...
Cleaning up a lot of cases of uninitialized data, unchecked return values
for failures, and similar.
2022-12-10 21:13:36 -08: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
Unknown W. Brackets
f44852bb18
Global: Cleanup virtual/override specifiers.
...
Also missing virtual destructors, hidden non-overrides, etc.
2022-12-10 21:13:36 -08:00
Henrik Rydgård
4ec1e2a175
Some minor initialization fixes, and one potential crash found by static analysis
2022-12-10 11:28:19 +01:00
Henrik Rydgård
e59b734b27
Fix case where we could write off the end of a buffer if texture width == 1 and 4-bit color.
2022-12-09 23:47:39 +01:00
Henrik Rydgård
7ff0030772
Added vertical layout for display layout screen
2022-12-08 16:04:20 +01:00
Henrik Rydgård
3e7f7ad8d7
Add CSS-style padding support to LinearLayout. Use to improve the look
2022-12-08 00:01:46 +01:00
Henrik Rydgård
42b74c6a9a
Add background to the scroll views. Not really pretty but more readable
2022-12-07 23:12:09 +01:00
Henrik Rydgård
cd24d3edf9
Fix context menu translation support
2022-12-07 16:15:02 +01:00
Henrik Rydgård
241dd4093b
Change the Settings toggle to a specially styled checkbox
2022-12-07 11:12:29 +01:00
Henrik Rydgård
a83a3f9d5d
Declutter using a context menu, which I had to create from scratch.
2022-12-07 10:27:02 +01:00
Henrik Rydgård
39b627c0c1
Fix layout issues, misc cleanup and comments
2022-12-07 10:27:02 +01:00
Henrik Rydgård
aed5d76fbc
Make the post shader list more editable
2022-12-07 10:27:02 +01:00
Henrik Rydgård
82680633e7
More usability tweaks
2022-12-07 10:27:02 +01:00