diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2011-09-15 04:13:10 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2011-09-15 04:13:10 +0000 |
commit | 3859b10f9a5eaca7df8f85394756375af0b17a1c (patch) | |
tree | 4ed55ccfbc5691a212e2a995982db7cf662541c8 /muse2/muse/mixer/astrip.cpp | |
parent | d020b82fd8108351eacb56a2d0c39f149a1c5057 (diff) |
New namespaces and change in default colors. See ChangeLog.
Diffstat (limited to 'muse2/muse/mixer/astrip.cpp')
-rw-r--r-- | muse2/muse/mixer/astrip.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/muse2/muse/mixer/astrip.cpp b/muse2/muse/mixer/astrip.cpp index 1aa9ae2b..156017e8 100644 --- a/muse2/muse/mixer/astrip.cpp +++ b/muse2/muse/mixer/astrip.cpp @@ -67,6 +67,8 @@ //#include "popupmenu.h" #include "routepopup.h" +namespace MusEMixer { + /* //--------------------------------------------------------- // minimumSizeHint @@ -229,7 +231,7 @@ void AudioStrip::songChanged(int val) //QLinearGradient gradient(autoType->geometry().topLeft(), autoType->geometry().bottomLeft()); if(track->automationType() == AUTO_TOUCH || track->automationType() == AUTO_WRITE) { - palette.setColor(QPalette::Button, QColor(Qt::red)); + palette.setColor(QPalette::Button, QColor(215, 76, 39)); // red //QColor c(Qt::red); //gradient.setColorAt(0, c); //gradient.setColorAt(1, c.darker()); @@ -238,7 +240,7 @@ void AudioStrip::songChanged(int val) } else if(track->automationType() == AUTO_READ) { - palette.setColor(QPalette::Button, QColor(Qt::green)); + palette.setColor(QPalette::Button, QColor(100, 172, 49)); // green //QColor c(Qt::green); //gradient.setColorAt(0, c); //gradient.setColorAt(1, c.darker()); @@ -1041,3 +1043,4 @@ void AudioStrip::oRoutePressed() pup->exec(QCursor::pos(), track, true); } +} // namespace MusEMixer |