F1 menu redesign: tabs, smooth text, toggles and a purple look #319
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!319
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-319"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@starrockanonigtavi-collab on GitHub · 2026-11-27 20:58 UTC · original
starrockanonigtavi-collab:f1-menu-look→main· +716 −26 · 2 files · 1 commits · openWhat
The F1 menu gets a new look, modelled on the title's own settings screens. The settings, their values and what they do are unchanged; only the picture and the navigation change.
tab_ofgoes to ADVANCED.pretty()keeps names such as DLSS, RTX and 3440x1440). Nothing is shipped: the font is the system's. GDI falls back to a default face where Bahnschrift is missing (older than Windows 10 1709).Value n / N < >.*.The frame-rate line in the corner keeps its old pixel font and black box.
How
crates/victory-gpu/src/host/menu_look.rsdraws the page into a 32-bit DIB section.menu.rsbuilds the page from the menu's state and converts the pixels to the swap chain's format: R8G8B8A8, B8G8R8A8, R10G10B10A2, or R16G16B16A16_FLOAT as linear halves.min(h/1080, w/1240), at least 0.5). The upload buffers hold the larger of the menu picture and the frame-rate line.Menu::lines()stays for the existing text tests (#[cfg(test)]).Tests
the_picture_has_tabs_rows_and_a_fading_bar. It draws a tab and checks the fading bar, that stepping goes through every tab's rows and onto the actions, andpretty().preview: withVICTORY_MENU_PREVIEW=<path>, it writes each tab as a .bmp, so the menu can be looked at without the game.cargo test -p victory-gpu menupasses.🤖 Generated with Claude Code
acb491bc96tob629f78e17View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.