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

List:       kde-commits
Subject:    extragear/multimedia/amarok/src/contextview
From:       Mark Kretschmann <kretschmann () kde ! org>
Date:       2007-07-11 9:45:38
Message-ID: 1184147138.392629.20719.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 686425 by markey:

Show an actual album cover instead of the Amarok splash screen.


 M  +6 -6      CoverBling.cpp  


--- trunk/extragear/multimedia/amarok/src/contextview/CoverBling.cpp #686424:686425
@@ -45,7 +45,7 @@
 {
     DEBUG_BLOCK
 
-    const QImage image( KStandardDirs().findResource("data", "amarok/images/splash_screen.jpg") );
+    const QImage image( KStandardDirs().findResource("data", "amarok/images/album_cover_1.jpg") );
     m_textureWidth = image.width();
     m_textureHeight = image.height();
     m_textureId = bindTexture( image );
@@ -138,18 +138,18 @@
 
     glLoadIdentity();
     glRotatef( 5, 1.0, 0.0, 0.0 ); //Rotate whole scene around X axis; simulates camera tilt
-    glScalef( m_aspectX + 0.3, m_aspectY, 1.0 ); //aspect correction (plus a bit wider, looks nicer)
+    glScalef( m_aspectX, m_aspectY, 1.0 ); //aspect correction
 
     //draw the ground
     glBegin( GL_POLYGON );
         glColor3f( 0.0, 0.0, 0.5 );
-        glVertex3f (-2.0, -1.0, -2.0);
+        glVertex3f (-3.0, -1.0, -2.0);
         glColor3f( 1.0, 0.0, 0.5 );
-        glVertex3f (2.0, -1.0, -2.0);
+        glVertex3f (3.0, -1.0, -2.0);
         glColor3f( 0.0, 1.0, 0.5 );
-        glVertex3f (2.0, -1.0, 2.0);
+        glVertex3f (3.0, -1.0, 2.0);
         glColor3f( 0.0, 0.0, 1.5 );
-        glVertex3f (-2.0, -1.0, 2.0);
+        glVertex3f (-3.0, -1.0, 2.0);
     glEnd();
 
     glColor3f( 1.0, 1.0, 1.0 ); //reset color
[prev in list] [next in list] [prev in thread] [next in thread] 

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