author | llornkcor <llornkcor> | 2005-03-20 09:34:43 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2005-03-20 09:34:43 (UTC) |
commit | 28bbb05f2a329f2938f2f1cf5ae56831dfa544e4 (patch) (side-by-side diff) | |
tree | c7135d32fdad1581e22813516a3dc11eda524f51 | |
parent | 421ee128d31c51f8530b0e37313ea0086e023237 (diff) | |
download | opie-28bbb05f2a329f2938f2f1cf5ae56831dfa544e4.zip opie-28bbb05f2a329f2938f2f1cf5ae56831dfa544e4.tar.gz opie-28bbb05f2a329f2938f2f1cf5ae56831dfa544e4.tar.bz2 |
clean up
-rw-r--r-- | noncore/multimedia/opierec/vumeter.cpp | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/noncore/multimedia/opierec/vumeter.cpp b/noncore/multimedia/opierec/vumeter.cpp index 0edc806..c28dbe4 100644 --- a/noncore/multimedia/opierec/vumeter.cpp +++ b/noncore/multimedia/opierec/vumeter.cpp @@ -31,9 +31,4 @@ VUMeter::VUMeter(QWidget *parent, const char *name, const int tr) -// QColor c; -// c.setHsv( (x * 255)/w, 255, 255 );// rainbow effect -// c.setRgb( 255, 0, 255); -// p.setPen(c); - //rainbow effect - if( colorScheme = 0 ) { + if( colorScheme == 0 ) { for( i = 0; i < para.leds; i++) color[i] = green; @@ -44,5 +39,5 @@ VUMeter::VUMeter(QWidget *parent, const char *name, const int tr) for( i = 0; i < para.leds; i++) { - int i16 = (j);// & 15; + int i16 = (j); color[i] = QColor(( 15 - i16) * 16, 255, 255, QColor::Hsv); - owarn << color[i].name() << oendl; +// owarn << color[i].name() << oendl; j--; @@ -63,3 +58,3 @@ VUMeter::~VUMeter(){ void VUMeter::update(){ - qWarning("vumeter update"); +// qWarning("vumeter update"); vuTimer->start(para.update, FALSE); @@ -224,5 +219,3 @@ void VUMeter::readConf() { - colorScheme = config.readNumEntry("colorScheme", 0); -// update(); -// dia->updatePara(); + colorScheme = config.readNumEntry("colorScheme", 1); } |