[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdeextragear-1/amarok/src
From:       Stefan Siegel <kde () sdas ! de>
Date:       2005-02-10 17:36:36
Message-ID: 20050210173636.82FFF1D1AC () office ! kde ! org
[Download RAW message or body]

CVS commit by siegel: 

Make the rounded corners look nicer


  M +1 -1      collectionbrowser.cpp   1.296
  M +1 -1      mediabrowser.cpp   1.25
  M +1 -1      playlist.cpp   1.414


--- kdeextragear-1/amarok/src/collectionbrowser.cpp  #1.295:1.296
@@ -1169,5 +1169,5 @@ CollectionView::viewportPaintEvent( QPai
 
         p.setBrush( colorGroup().background() );
-        p.drawRoundRect( wd3-15, y-15, t.width()+30, t.height()+30, 5, 5 );
+        p.drawRoundRect( wd3-15, y-15, t.width()+30, t.height()+30, \
                (8*200)/(t.width()+30), (8*200)/(t.height()+30) );
         t.draw( &p, wd3, y, QRect( 0, 0, viewport()->width(), viewport()->height() \
), colorGroup() );  }

--- kdeextragear-1/amarok/src/mediabrowser.cpp  #1.24:1.25
@@ -321,5 +321,5 @@ MediaDeviceList::viewportPaintEvent( QPa
 
         p.setBrush( colorGroup().background() );
-        p.drawRoundRect( wd3-15, y-15, t.width()+30, t.height()+30, 5, 5 );
+        p.drawRoundRect( wd3-15, y-15, t.width()+30, t.height()+30, \
                (8*200)/(t.width()+30), (8*200)/(t.height()+30) );
         t.draw( &p, wd3, y, QRect( 0, 0, viewport()->width(), viewport()->height() \
), colorGroup() );  }

--- kdeextragear-1/amarok/src/playlist.cpp  #1.413:1.414
@@ -1132,5 +1132,5 @@ Playlist::viewportPaintEvent( QPaintEven
 
         p.setBrush( colorGroup().background() );
-        p.drawRoundRect( wd3-15, y-15, t.width()+30, t.height()+30, 5, 5 );
+        p.drawRoundRect( wd3-15, y-15, t.width()+30, t.height()+30, \
(8*200)/(t.width()+30), (8*200)/(t.height()+30) );  t.draw( &p, wd3, y, QRect(), \
colorGroup() );  }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic