Skip to content

Add drawPerformanceLabel LookAndFeel callback to scripting API#917

Open
davidhealey wants to merge 1 commit intochristophhart:developfrom
davidhealey:performanceLabelLaf
Open

Add drawPerformanceLabel LookAndFeel callback to scripting API#917
davidhealey wants to merge 1 commit intochristophhart:developfrom
davidhealey:performanceLabelLaf

Conversation

@davidhealey
Copy link
Copy Markdown
Contributor

Allows script developers to fully customise the PerformanceLabel floating tile via a drawPerformanceLabel LAF callback. The callback object provides layout, colours, font settings, and performance metrics (CPU %, RAM bytes, voices). Rendering now uses direct painting through LookAndFeelMethods instead of an internal Label, while preserving the previous default appearance and remaining backward compatible when no ScriptedLookAndFeel is used.

Allows script developers to fully customise the PerformanceLabel floating tile via a drawPerformanceLabel LAF callback. The callback object provides layout, colours, font settings, and performance metrics (CPU %, RAM bytes, voices). Rendering now uses direct painting through LookAndFeelMethods instead of an internal Label, while preserving the previous default appearance and remaining backward compatible when no ScriptedLookAndFeel is used.
@davidhealey davidhealey mentioned this pull request Mar 18, 2026
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.

2 participants