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

List:       kde-commits
Subject:    kdeextragear-1/amarok/src
From:       Mark Kretschmann <markey () web ! de>
Date:       2005-04-01 9:01:38
Message-ID: 20050401090138.ECE76490 () office ! kde ! org
[Download RAW message or body]

CVS commit by markey: 

Replace score-bars in default CSS style with stars. Experimental.
Patch by tightcode, cheers!


  A            images/sbinner_stars.png   1.1
  M +8 -2      contextbrowser.cpp   1.426
  M +1 -0      images/Makefile.am   1.35


--- kdeextragear-1/amarok/src/contextbrowser.cpp  #1.425:1.426
@@ -1558,6 +1558,12 @@ void ContextBrowser::setStyleSheet_Defau
     //boxes used to display score (sb: score box)
     styleSheet += QString( ".sbtext { text-align: center; padding: 0px 4px; \
                border-left: solid %1 1px; }" ).arg( colorGroup().base().dark( 120 \
                ).name() );
-    styleSheet += QString( ".sbouter { width: 52px; height: 10px; background-color: \
%1; border: solid %2 1px; }" ).arg( colorGroup().base().dark( 120 ).name() ).arg( bg \
                );
-    styleSheet += QString( ".sbinner { height: 8px; background-color: %1; border: \
solid %2 1px; }" ).arg( bg ).arg( fg ); +    // New score-bar style from Tightcode
+    styleSheet += QString( ".sbouter { border: 1px solid black; background: silver; \
width: 54px; height: 10px; text-align: right; }" ); +    styleSheet += QString( \
".sbinner { height: 10px; border: 0px;  border-right: 1px solid black; background: \
white url(%1) no-repeat top left; }" ) +                           .arg( locate( \
"data", "amarok/images/sbinner_stars.png" ) ); +
+//     styleSheet += QString( ".sbouter { width: 52px; height: 10px; \
background-color: %1; border: solid %2 1px; }" ).arg( colorGroup().base().dark( 120 \
).name() ).arg( bg ); +//     styleSheet += QString( ".sbinner { height: 8px; \
background-color: %1; border: solid %2 1px; }" ).arg( bg ).arg( fg ); +
 
     styleSheet += QString( "#current_box-header-album { font-weight: normal; }" );

--- kdeextragear-1/amarok/src/images/Makefile.am  #1.34:1.35
@@ -31,4 +31,5 @@
     pl_active2.png \
     pl_inactive2.png \
+    sbinner_stars.png \
     time_minus.png \
     time_plus.png \


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

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