Commit Graph
163 Commits
Author SHA1 Message Date
Henrik Rydgård f9baffccb6 Setting reorganization, some changed strings, soft drop shadows for text on game screen 2026-10-31 01:22:27 +01:00
Henrik Rydgård 67763e48a1 Add an "info textview" with a border. 2026-10-31 00:27:10 +01:00
Henrik Rydgård 0a2568f4ef Round more things. Remove the underline from popup titles, cleaner look 2026-10-27 21:58:32 +01:00
Henrik RydgårdandClaude Opus 5.5 916dfab834 UI: Round the corners of popups
FillRoundRect falls back to a square FillRect for drawables it can't
round, and a ViewGroup with round corners set rounds its background.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 21:47:06 +01:00
Henrik Rydgård 4d26021a9b More round stuff 2026-10-26 23:08:25 +01:00
Henrik Rydgård 5c2a17f120 Give InfoItem backgrounds 2026-10-26 23:01:21 +01:00
Henrik Rydgård acc9fe9283 Somewhat better organization of UI settings 2026-10-26 23:01:21 +01:00
Henrik Rydgård 734d56a1d3 Tweaks to RetroAchievements screen 2026-10-26 23:01:21 +01:00
Henrik RydgårdandClaude Opus 5.5 30c9dd3b45 UI: Let clickable views be highlighted without the focus
SetHighlighted outlines the view, following its round corners, to point it
out without giving it the focus, which would turn on keyboard navigation.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-25 13:44:44 +01:00
Henrik RydgårdandClaude Opus 5.5 cfb0b1131b UI: Clamp fixed-size views to an AT_MOST spec
MeasureBySpec compared the spec against the view's previous measurement instead of
its fixed size, so a fixed-size view larger than the space offered wasn't clamped
unless an earlier measure happened to be larger.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-24 12:35:55 +02:00
Henrik Rydgård c44a12363f Prototype the new ChoiceGroup component 2026-10-24 01:52:34 +02:00
Henrik RydgårdandClaude Opus 5.5 db3ec7567f UI: Use Cmd for shortcuts on Mac and iOS, not Ctrl
- Fixes #17608

Text fields took Ctrl or Cmd for copy/paste/undo; now it's Cmd on Apple
platforms and Ctrl elsewhere, as is Ctrl+F (Cmd+F) for game search. Word
delete in the search filter is Option+Backspace on Apple.

The ImGui debugger never got Super, so with ImGui's Mac Cmd/Ctrl swap,
its paste and other Ctrl shortcuts could not be reached at all on Mac.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-17 17:46:55 +02:00
Henrik Rydgård 78f80a0010 Some tweaks to avoid name collisions in upcoming commits 2026-07-10 12:11:17 +02:00
Henrik Rydgård 4a420c95c2 Remove some redundant device caps, show clip/cull/depth-clamp in system info 2026-05-21 11:59:26 +02:00
Henrik Rydgård 3a599c4714 Fix audio focus issue by tracking the cause of lost focus.
Fixes #21643
2026-05-06 00:06:32 +02:00
Henrik Rydgård fd11659b8d Fix screen layout in portrait mode on TouchControlLayoutScreen, fix move/resize selector visual status 2026-05-04 01:08:44 +02:00
Henrik Rydgård 771f2b3fe0 Avoid creating zero-size fonts (seems to be because of an init order problem during app switching) 2026-04-28 22:18:16 +02:00
Henrik Rydgård b02c184829 Add more error checking, correct caret positioning 2026-04-27 21:08:40 +02:00
Henrik Rydgård bfadd2539b Some code hardening in TextEdit view 2026-04-27 20:55:46 +02:00
Henrik Rydgård f38c851383 Add support for "Meta" modifier (command key on Mac, Win key on windows, etc) 2026-04-27 20:46:48 +02:00
Henrik Rydgård a1a073bd2c Tab interactions: Make it possible to scroll tabs without activating them, by handling TouchInputFlags::UP/CANCEL properly. 2026-04-24 14:13:33 +02:00
Henrik Rydgård 56ca89a6e3 Adhoc: Don't show player ports by default (control with developer setting) 2026-04-16 12:48:14 -06:00
Henrik Rydgård 219b50b93a Fix spinner when downloading server data 2026-04-16 12:46:34 -06:00
Henrik Rydgård eb476d522e Rename FocusDirection to FocusMove, make into enum class 2026-04-14 18:17:54 -06:00
Henrik Rydgård 49d3d3dc37 Settings and dev settings: Preserve the current tab. Minor UI tweaks. 2026-04-06 12:09:40 -06:00
Henrik Rydgård e0b75ff7e6 Fix mouse focus for TextEdit 2026-03-31 15:33:51 -06:00
Henrik Rydgård 94f85ed689 TextEdit: Add internal padding to make it look nicer. 2026-03-31 14:13:42 -06:00
Henrik Rydgård cfc5d74602 Some progress with server status UI 2026-03-30 11:34:19 -06:00
Henrik Rydgård 3352df3ae7 Not super pretty, but implements keyboard navigation for the adhoc server list 2026-03-15 14:43:28 +01:00
Henrik Rydgård 33c8bdc05b Show radio button images in the server list 2026-03-10 09:21:19 +01:00
Henrik Rydgård 14211aa1c0 Button layout, tweaks 2026-03-10 09:05:10 +01:00
Henrik Rydgård c634e73885 Fix more centering and sizing bugs 2026-03-09 16:41:07 +01:00
Henrik Rydgård ba6ff9a224 Improve the adhoc server selector a little bit, add metadata viewer 2026-03-08 00:31:29 +01:00
Henrik Rydgård cbab0ce203 Fix state of fullscreen button on main screen 2026-03-05 00:58:43 +01:00
Henrik Rydgård c3a78724c7 Add an on-screen keyboard in the popup inputbox 2026-02-26 17:17:42 +01:00
Henrik Rydgård 1cc2b7233a Fix some minor visual UI issues
See #21223
2026-02-15 19:57:56 +01:00
Henrik Rydgård 7fa52a0916 Fix problem with confirm button set to O.
Fixes #21042
2026-02-13 22:08:28 +01:00
Henrik Rydgård 5d4ac87b2b In PopupMultiChoice lists, indicate the selected item with a checkmark
See #21223
2026-02-09 14:35:34 +01:00
Henrik Rydgård 4f4de447dd Apply minor cleanups from #21171 2026-02-09 13:08:44 +01:00
Henrik Rydgård 3aa1aba8f5 Correct an issue where there was a 1 frame latency in UI event processing 2026-02-08 12:44:12 +01:00
Henrik Rydgård 13af9d5a9b Savestate UI: Add one more way to select the current state 2026-01-08 23:18:26 +01:00
Henrik Rydgård 18a67b82d2 Do the same with KeyInputFlags. Fix minor UI misalignments 2025-12-19 13:41:58 +01:00
Henrik Rydgård 481d0fd18c Switch TouchInputFlags to enum class, fix some minor UI issues
Scroll views now only wheel-scroll if the mouse is hovering over them.
2025-12-19 11:38:56 +01:00
Henrik Rydgård 1ea93e2913 Small refactor of text rect measurement. Add move/resize icons 2025-11-27 11:50:22 +01:00
Henrik Rydgård bf9493910a Rework some IAP/Gold UI. Minor title screen tweak 2025-11-23 21:55:25 +01:00
Henrik Rydgård 22b3ad2372 Get rid of the SettingInfoMessage popups 2025-11-23 13:56:34 +01:00
Henrik Rydgård 8b52cf67af Add a way to put the "ExtraButtons" in a popup menu, use on control mapping screen 2025-11-15 20:44:14 +01:00
Henrik Rydgård 4f91d7a71a More layout work, more use of MessagePopupScreen instead of PromptScreen 2025-11-10 15:23:29 +01:00
Henrik Rydgård 9e480565bb More padding fixes 2025-11-09 22:33:03 +01:00
Henrik Rydgård 67a7e8cd97 Fix some measurement problems.
Part of #20803
2025-11-09 16:25:52 +01:00