[maemo-commits] [maemo-commits] r13462 - in projects/haf/trunk/hildon-theme-layout-4: . rc

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Aug 29 15:26:50 EEST 2007
Author: mdk
Date: 2007-08-29 15:26:49 +0300 (Wed, 29 Aug 2007)
New Revision: 13462

Modified:
   projects/haf/trunk/hildon-theme-layout-4/ChangeLog
   projects/haf/trunk/hildon-theme-layout-4/rc/ossomediaplayer.rc
Log:
Update ossomediaplayer.rc to manage the new ui layout update, related to new control images, new playlist/current clip images and new tabs images. It embebed the icons in the images, now the buttons has a fixed size and other minor updates. Fixes: NB#66912.


Modified: projects/haf/trunk/hildon-theme-layout-4/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2007-08-29 12:11:53 UTC (rev 13461)
+++ projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2007-08-29 12:26:49 UTC (rev 13462)
@@ -1,3 +1,11 @@
+2007-08-29  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
+
+	* rc/ossomediaplayer.rc: update ossomediaplayer.rc to manage
+	the new ui layout update, related to new control images, new
+	playlist/current clip images and new tabs images. It embebed the
+	icons in the images, now the buttons has a fixed size and other
+	minor updates. Fixes: NB#66912.
+
 2007-08-29  Tuomas Kuosmanen  <tuomas.kuosmanen at nokia.com>
 
 	* data/layout.txt: 

Modified: projects/haf/trunk/hildon-theme-layout-4/rc/ossomediaplayer.rc
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/ossomediaplayer.rc	2007-08-29 12:11:53 UTC (rev 13461)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/ossomediaplayer.rc	2007-08-29 12:26:49 UTC (rev 13462)
@@ -9,18 +9,18 @@
             function = BOX
                 state    = ACTIVE
                 file     = "../images/qgn_plat_button_mplayer1_pressed.png"
-                border   = { 35, 35, 35, 35 }
+                border   = { 43, 43, 37, 37 }
         }
         image {
             function = BOX
                 state    = INSENSITIVE
                 file     = "../images/qgn_plat_button_mplayer1_disabled.png"
-                border   = { 35, 35, 35, 35 }
+                border   = { 43, 43, 37, 37 }
         }
         image {
             function = BOX
                 file     = "../images/qgn_plat_button_mplayer1_normal.png"
-                border   = { 35, 35, 35, 35 }
+                border   = { 43, 43, 37, 37 }
         }
     }
 }
@@ -35,24 +35,50 @@
             function = BOX
                 state    = ACTIVE
                 file     = "../images/qgn_plat_button_mplayer2_pressed.png"
-                border   = { 35, 35, 35, 35 }
+                border   = { 43, 43, 37, 37 }
         }
         image {
             function = BOX
                 state    = INSENSITIVE
                 file     = "../images/qgn_plat_button_mplayer2_disabled.png"
-                border   = { 35, 35, 35, 35 }
+                border   = { 43, 43, 37, 37 }
         }
         image {
             function = BOX
                 file     = "../images/qgn_plat_button_mplayer2_normal.png"
-                border   = { 35, 35, 35, 35 }
+                border   = { 43, 43, 37, 37 }
         }
     }
 }
 
 widget "*.Mplayer2Button" style "osso-mplayer2-button"
 
+style "osso-mplayer2-pause-button"
+{
+  engine "sapwood"
+    {
+        image {
+            function = BOX
+                state    = ACTIVE
+                file     = "../images/qgn_plat_button_mplayer2_pause_pressed.png"
+                border   = { 43, 43, 37, 37 }
+        }
+        image {
+            function = BOX
+                state    = INSENSITIVE
+                file     = "../images/qgn_plat_button_mplayer2_pause_disabled.png"
+                border   = { 43, 43, 37, 37 }
+        }
+        image {
+            function = BOX
+                file     = "../images/qgn_plat_button_mplayer2_pause_normal.png"
+                border   = { 43, 43, 37, 37 }
+        }
+    }
+}
+
+widget "*.Mplayer2PauseButton" style "osso-mplayer2-pause-button"
+
 style "osso-mplayer3-button"
 {
   engine "sapwood"
@@ -61,18 +87,18 @@
             function = BOX
                 state    = ACTIVE
                 file     = "../images/qgn_plat_button_mplayer3_pressed.png"
-                border   = { 35, 35, 35, 35 }
+                border   = { 43, 43, 37, 37 }
         }
         image {
             function = BOX
                 state    = INSENSITIVE
                 file     = "../images/qgn_plat_button_mplayer3_disabled.png"
-                border   = { 35, 35, 35, 35 }
+                border   = { 43, 43, 37, 37 }
         }
         image {
             function = BOX
                 file     = "../images/qgn_plat_button_mplayer3_normal.png"
-                border   = { 35, 35, 35, 35 }
+                border   = { 43, 43, 37, 37 }
         }
     }
 }
@@ -87,18 +113,18 @@
             function = BOX
                 state    = ACTIVE
                 file     = "../images/qgn_plat_button_mplayer4_pressed.png"
-                border   = { 35, 35, 35, 35 }
+                border   = { 43, 43, 37, 37 }
         }
         image {
             function = BOX
                 state    = INSENSITIVE
                 file     = "../images/qgn_plat_button_mplayer4_disabled.png"
-                border   = { 35, 35, 35, 35 }
+                border   = { 43, 43, 37, 37 }
         }
         image {
             function = BOX
                 file     = "../images/qgn_plat_button_mplayer4_normal.png"
-                border   = { 35, 35, 35, 35 }
+                border   = { 43, 43, 37, 37 }
         }
     }
 }
@@ -107,16 +133,46 @@
 
 style "osso-mplayer5-button"
 {
-        xthickness = 22
-        ythickness = 4
+  xthickness = 35
+  ythickness = 24
+
+  engine "sapwood"
+    {
+        image {
+            function = BOX
+                state    = ACTIVE
+                file     = "../images/qgn_plat_button_mplayer_playlist_pressed.png"
+                border   = { 35, 35, 24, 24 }
+        }
+        image {
+            function = BOX
+                file     = "../images/qgn_plat_button_mplayer_playlist_normal.png"
+                border   = { 35, 35, 24, 24 }
+        }
+    }        
 }
 
 widget "*.Mplayer5Button" style "osso-mplayer5-button"
 
 style "osso-mplayer6-button"
 {
-        xthickness = 22
-        ythickness = 4
+  xthickness = 35
+  ythickness = 24
+    
+  engine "sapwood"
+    {
+        image {
+            function = BOX
+                state    = ACTIVE
+                file     = "../images/qgn_plat_button_mplayer_now_playing_pressed.png"
+                border   = { 35, 35, 24, 24 }
+        }
+        image {
+            function = BOX
+                file     = "../images/qgn_plat_button_mplayer_now_playing_normal.png"
+                border   = { 35, 35, 24, 24 }
+        }
+    }        
 }
 
 widget "*.Mplayer6Button" style "osso-mplayer6-button"
@@ -128,7 +184,7 @@
         image {
             function = SHADOW
                 file     = "../images/qgn_plat_mediaplayer_buttons_bg.png"
-                border   = { 55, 55, 112, 112 }
+                border   = { 56, 56, 112, 112 }
         }
     }
 }


More information about the maemo-commits mailing list