MCPcopy Create free account
hub / github.com/andrewreeman/SpectralSuite / handleCommandMessage

Method handleCommandMessage

shared/SpectralAudioPluginUi.cpp:116–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116void SpectralAudioPluginUi::handleCommandMessage(int messageId)
117{
118 if (messageId == Messages::UPDATE_AVAILABLE) {
119 aboutButton.getNormalImage()->replaceColour(Colour::fromString(TEXT_COLOUR), Colour::fromString(WARNING_COLOUR));
120 aboutButton.repaint();
121 }
122 else if (messageId == Messages::UPDATE_PROPERTIES) {
123 parameterContainer->onPropertiesChanged();
124 }
125}
126
127void SpectralAudioPluginUi::onNewVersionAvailable(VersionInfo* newVersionInfo)
128{

Callers

nothing calls this directly

Calls 1

onPropertiesChangedMethod · 0.45

Tested by

no test coverage detected