prompts: render vector mouse button icons and 2:1 wide spacebar caps #522
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!522
Loading…
Reference in a new issue
No description provided.
Delete branch "aowu/Darner:pr/vector-prompt-icons"
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?
Motivation
When mouse buttons (
Mouse1–Mouse5) orSpaceare bound to single controls,prompts::key_capscurrently renders them as crowded text (LMB,RMB,MMB,Space) squeezed inside a square keycap.Changes
mouse_icon_shapes) incrates/darner-game/src/prompts.rsfor:0x01), right mouse button (0x02), middle mouse button (0x04), and side buttons (0x05/0x06): white-outlined dark mouse silhouette with the active button highlighted solid white.0x20): 2:1 horizontal rounded keycap with a classic␣bracket.Capslabel mapping forVK_CAPITAL(0x14) inkey_label.mouse_buttons_render_distinct_valid_vector_shapesverifying coordinate bounds, validgfx::shapeencoding, and visual distinctness across all icons.Verification
cargo test -p darner-game --lib promptspasses (61/61).In-game preview of the new vector icons (RMB, LMB, MMB scroll wheel, and the 2:1 wide Spacebar cap):
Test needed — commit
c79dc0c4; what to check: the change described aboveEvidence to post: card + driver, settings, commit tested, before/after (switch off vs on, two runs each), fps median and p99, and one line saying you looked at the picture.
Reply
testingto take this run; it's free again after 24 h with no results.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.