From e7df29d2e6fbce8f2b66d11e772dd446ea3a7a2a Mon Sep 17 00:00:00 2001 From: Wong Cho Ching Date: Thu, 30 Jan 2014 13:54:56 +0800 Subject: [PATCH] Bit Invader smooth button active and inactive graphic --- plugins/bit_invader/bit_invader.cpp | 5 ++--- plugins/bit_invader/smooth_active.png | Bin 0 -> 434 bytes .../{smooth.png => smooth_inactive.png} | Bin 3 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 plugins/bit_invader/smooth_active.png rename plugins/bit_invader/{smooth.png => smooth_inactive.png} (100%) diff --git a/plugins/bit_invader/bit_invader.cpp b/plugins/bit_invader/bit_invader.cpp index cb9524d92..daeef079b 100644 --- a/plugins/bit_invader/bit_invader.cpp +++ b/plugins/bit_invader/bit_invader.cpp @@ -408,10 +408,9 @@ bitInvaderView::bitInvaderView( Instrument * _instrument, m_smoothBtn = new pixmapButton( this, tr( "Smooth" ) ); m_smoothBtn->move( 35, 200 ); m_smoothBtn->setActiveGraphic( PLUGIN_NAME::getIconPixmap( - "smooth" ) ); + "smooth_active" ) ); m_smoothBtn->setInactiveGraphic( PLUGIN_NAME::getIconPixmap( - "smooth" ) ); - m_smoothBtn->setChecked( true ); + "smooth_inactive" ) ); toolTip::add( m_smoothBtn, tr( "Click here to smooth waveform." ) ); diff --git a/plugins/bit_invader/smooth_active.png b/plugins/bit_invader/smooth_active.png new file mode 100644 index 0000000000000000000000000000000000000000..6441579050783687aeb262e3968ff0fadcfc8f93 GIT binary patch literal 434 zcmV;j0ZsmiP)IkL~X^7#TnqyWffH+j8#TmArZjmKjE+Vyti4H*HjTiPKYSPo7mlW32>`VGaRuKlZq cky{)523e|LgGJcCg8%>k07*qoM6N<$f*W0{?f?J) literal 0 HcmV?d00001 diff --git a/plugins/bit_invader/smooth.png b/plugins/bit_invader/smooth_inactive.png similarity index 100% rename from plugins/bit_invader/smooth.png rename to plugins/bit_invader/smooth_inactive.png