| 648 | } |
| 649 | |
| 650 | void ProjectWindow::OnThemeChange(ThemeChangeMessage message) |
| 651 | { |
| 652 | auto pProject = FindProject(); |
| 653 | if (!pProject) |
| 654 | return; |
| 655 | auto &project = *pProject; |
| 656 | |
| 657 | if (message.appearance) |
| 658 | return; |
| 659 | this->ApplyUpdatedTheme(); |
| 660 | auto &toolManager = ToolManager::Get( project ); |
| 661 | toolManager.ForEach([](auto pToolBar){ |
| 662 | if( pToolBar ) |
| 663 | pToolBar->ReCreateButtons(); |
| 664 | }); |
| 665 | } |
| 666 | |
| 667 | void ProjectWindow::UpdatePrefs() |
| 668 | { |
nothing calls this directly
no test coverage detected