Skip to content

Conversation

@xuboying
Copy link
Contributor

Introduce a new callback ThemeChanged in runner_callbacks.h, invoked immediately after ImGuiTheme::ApplyTheme completes. This enables applications to react to theme changes—typically triggered when the user selects a theme from the menubar—and update custom drawings or UI elements accordingly.

Fixes #156

Introduce a new callback `ThemeChanged` in `runner_callbacks.h`, invoked
immediately after `ImGuiTheme::ApplyTheme` completes. This enables applications
to react to theme changes—typically triggered when the user selects a theme
from the menubar—and update custom drawings or UI elements accordingly.

Fixes pthom#156
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.

Feature Request: Add ThemeChangedCallback for Theme Change

1 participant