Update touch controls draw#626
Open
Xnick417x wants to merge 9 commits into
Open
Conversation
- Add Slate (new default), Halo and Glint draw styles; Original kept, listed last - Glass style reworked onto the shared engine: theme accents, cached gradients, allocation-free draw paths - 10 accent presets stored per-profile in the .icp; style + theme pickers in the controls editor, theme picker in the session drawer (replaces Button Labels) - Remove built-in Xbox/PlayStation label profiles and the label-theme machinery; stale installed copies cleaned up on update - Default bumper/trigger labels are now LB/RB/LT/RT
- Theme picker rows wrapped in a capped ScrollView so all presets stay reachable - Original style tints with the selected accent theme; Mono keeps the classic look
- Shadow: soft dark layered style with four-tile D-pad, accent flood on press - Style and color theme are remembered on the shortcut (.desktop extras) like the controls profile; global prefs act as the default; .icp stays layout-only - Editor pickers set the global defaults with live preview - Default accent theme is Cyan; Mono gives the classic white look - New style/theme strings added to all locales
… press glow, finer opacity steps - No R-Stick built-in rebuilt without baked-in colors so themes apply; installed copies refreshed once on update - Icon buttons (start/select etc.) tint with the accent in Original and Glass too - Slate pressed buttons illuminate the whole body under the bloom - Drawer style selector hidden until a profile is active, like the color theme - Overlay opacity slider moves in 5% steps
- Reticle: open hairline linework with faceted frames, corner brackets that extend while pressed, tick-marked stick with deflection line, crosshair trackpad - Neon: hollow chamfered wireframes with a layered-stroke glow that ignites white-hot on press; no blur filters, draw paths stay allocation-free - Style names translated across all locales; descriptive comments trimmed to one line
- Button, radial-menu and range-cell label strings are cached (invalidated on text/binding edits), making the draw path fully allocation-free - Neon circle buttons render as regular octagons to match the chamfered set
- D-pad touches never triggered a redraw, so per-direction pressed states drew stale; the view now invalidates on touch-down and when a direction changes - Slate/Glint D-pad arrows draw in the accent color with bloom press feedback; Shadow keeps its solid accent flood; no white arrow flips - Editor theme button gets its own icon: eyedropper with a T
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update the default touch draw to slate. Include 8 custom draws a user can pick from along with 10 custom themes. Custom colors still trump themed colors for a complete individualized look. Default color to cyan