/[svn]/qsampler/trunk/src/qsamplerChannelStrip.ui.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerChannelStrip.ui.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1018 by capela, Wed Jan 10 19:39:00 2007 UTC revision 1036 by capela, Mon Jan 15 19:11:59 2007 UTC
# Line 365  bool qsamplerChannelStrip::updateChannel Line 365  bool qsamplerChannelStrip::updateChannel
365      // Mute/Solo button state coloring...      // Mute/Solo button state coloring...
366      const QColor& rgbNormal = ChannelSetupPushButton->paletteBackgroundColor();      const QColor& rgbNormal = ChannelSetupPushButton->paletteBackgroundColor();
367      bool bMute = m_pChannel->channelMute();      bool bMute = m_pChannel->channelMute();
368      ChannelMutePushButton->setPaletteBackgroundColor(bMute ? Qt::red : rgbNormal);      ChannelMutePushButton->setPaletteBackgroundColor(bMute ? Qt::yellow : rgbNormal);
369      ChannelMutePushButton->setDown(bMute);      ChannelMutePushButton->setDown(bMute);
370      bool bSolo = m_pChannel->channelSolo();      bool bSolo = m_pChannel->channelSolo();
371      ChannelSoloPushButton->setPaletteBackgroundColor(bSolo ? Qt::yellow : rgbNormal);      ChannelSoloPushButton->setPaletteBackgroundColor(bSolo ? Qt::cyan : rgbNormal);
372      ChannelSoloPushButton->setDown(bSolo);      ChannelSoloPushButton->setDown(bSolo);
373  #else  #else
374          ChannelMutePushButton->setEnabled(false);          ChannelMutePushButton->setEnabled(false);

Legend:
Removed from v.1018  
changed lines
  Added in v.1036

  ViewVC Help
Powered by ViewVC