Description:
Allow a single button to change both its color and its label/icon per action, event, and state (e.g., cycle through “Record” → “Play” → “Stop”), with expression-driven control for fully dynamic text.
Problem:
Multi-purpose buttons look identical and keep the same label, forcing extra buttons or slow reading of tiny text. That wastes screen space and increases on-stage mistakes.
Proposed Solution:
  • Per-action style & label:
    For each action/event (press, release, long-press, double-tap, hold), set Color, Text, Icon, Text Color, and Effects (blink/pulse).
  • State awareness:
    Bind style/label to toggle state, radio/stepper index, transport/clip state.
  • Dynamic text:
    Support expressions/tokens (e.g.,
    transport.isPlaying ? "Stop" : "Play"
    ,
    {indexName}
    ,
    {clip.state}
    ).
  • APIs & actions:
    Actions to
    Set Widget Label/Icon/Color
    ,
    Cycle Mode
    ,
    Show Last Result
    ; variables
    widget.label
    ,
    widget.modeIndex
    ,
    actionLastSucceeded
    .
  • Transitions & priority:
    Short fades (ms/beats); success/error feedback; priority rules for overlapping styles.
  • Accessibility & presets:
    Auto-fit, compact/pill styles, large text, high contrast; reusable presets (e.g., “Record/Play/Stop”, “Clear/Solo/Mute”).
Benefits:
  • Fewer buttons, more usable screen space.
  • Immediate, at-a-glance understanding of what the button will do and what just happened.
  • Faster, safer live operation with one button cycling multiple roles.
Examples:
  • Transport combo:
    Idle = red “Record”; after recording = green “Play”; during playback = gray “Stop”; amber blink during count-in.
  • Mode cycler:
    One button steps
    Monitor → Overdub → Replace
    ; label and color follow the current index.
  • Utility:
    Short-press Mute (blue “Mute”), long-press Solo (yellow “Solo”), double-tap Clear (orange with brief success pulse).
This summary was automatically generated by GPT-5 Thinking on 2025-09-07.
Original Post:
Different colour per action on a single button
When using a single button for more than one action for better visual feedback state.
Example.
Using a press action on a single button widget with a green colour to play a clip and a long press action to record the clip on the same button.the button's colour should turn green when the press action is triggered and red when the long press is triggered.that way we can have a better visual feedback state on the button.The option could be placed on the action menu near the action to open the colour menu.