Skip to content

Update touch controls draw#626

Open
Xnick417x wants to merge 9 commits into
WinNative-Emu:mainfrom
Xnick417x:draw
Open

Update touch controls draw#626
Xnick417x wants to merge 9 commits into
WinNative-Emu:mainfrom
Xnick417x:draw

Conversation

@Xnick417x

Copy link
Copy Markdown
Collaborator

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

- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant