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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Jul 11 17:40:35 EEST 2007
Author: lucasr
Date: 2007-07-11 17:40:33 +0300 (Wed, 11 Jul 2007)
New Revision: 12721

Modified:
   projects/haf/trunk/hildon-theme-layout-4/ChangeLog
   projects/haf/trunk/hildon-theme-layout-4/rc/hildonappsmenu.rc
Log:
2007-07-11  Lucas Rocha  <lucas.rocha at nokia.com>

	* rc/hildonappsmenu.rc: add theming on scrolling buttons.


Modified: projects/haf/trunk/hildon-theme-layout-4/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2007-07-11 14:18:57 UTC (rev 12720)
+++ projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2007-07-11 14:40:33 UTC (rev 12721)
@@ -1,3 +1,7 @@
+2007-07-11  Lucas Rocha  <lucas.rocha at nokia.com>
+
+	* rc/hildonappsmenu.rc: add theming on scrolling buttons.
+
 2007-07-09  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	* rc/hildonappsmenu.rc: set the viewport background color to avoid

Modified: projects/haf/trunk/hildon-theme-layout-4/rc/hildonappsmenu.rc
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/hildonappsmenu.rc	2007-07-11 14:18:57 UTC (rev 12720)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/hildonappsmenu.rc	2007-07-11 14:40:33 UTC (rev 12721)
@@ -25,7 +25,6 @@
 {
   engine "sapwood"
   {
-    # Image for active focus.
     image
     {
       function = BOX
@@ -36,6 +35,91 @@
   }
 }
 
+style "hildon-apps-menu-pane1-arrow"
+{
+  engine "sapwood"
+  {
+    image
+    {
+      function        = ARROW
+      state           = INSENSITIVE
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_pane_menu1_up_arrow_disabled.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = PRELIGHT 
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_pane_menu1_up_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = SELECTED 
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_pane_menu1_up_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = ACTIVE 
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_pane_menu1_up_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_pane_menu1_up_arrow_normal.png"
+      overlay_stretch = TRUE 
+    }
+    image
+    {
+      function        = ARROW
+      state           = INSENSITIVE
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_pane_menu1_down_arrow_disabled.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = PRELIGHT 
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_pane_menu1_down_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = SELECTED 
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_pane_menu1_down_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = ACTIVE 
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_pane_menu1_down_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_pane_menu1_down_arrow_normal.png"
+      overlay_stretch = FALSE
+    }
+  }
+}
+
 style "hildon-apps-menu-pane2"
 {
   bg[NORMAL] = "#888A85"
@@ -45,7 +129,6 @@
 {
   engine "sapwood"
   {
-    # Image for active focus.
     image
     {
       function = BOX
@@ -56,11 +139,107 @@
   }
 }
 
+style "hildon-apps-menu-pane2-arrow"
+{
+  engine "sapwood"
+  {
+    image
+    {
+      function        = ARROW
+      state           = INSENSITIVE
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_pane_menu2_up_arrow_disabled.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = PRELIGHT 
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_pane_menu2_up_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = SELECTED 
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_pane_menu2_up_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = ACTIVE 
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_pane_menu2_up_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_pane_menu2_up_arrow_normal.png"
+      overlay_stretch = TRUE 
+    }
+    image
+    {
+      function        = ARROW
+      state           = INSENSITIVE
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_pane_menu2_down_arrow_disabled.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = PRELIGHT 
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_pane_menu2_down_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = SELECTED 
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_pane_menu2_down_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = ACTIVE 
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_pane_menu2_down_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_pane_menu2_down_arrow_normal.png"
+      overlay_stretch = FALSE
+    }
+  }
+}
+
 style "hildon-apps-menu-pane-label"
 {
   fg[NORMAL] = "#FFFFFF"
 }
 
+style "hildon-apps-menu-pane-button"
+{
+  engine "sapwood"
+  {
+    image
+    {
+      function = BOX 
+    }
+  }
+}
+
 widget "hildon-apps-menu" style "hildon-apps-menu"
 widget "*.hildon-apps-menu-pane1" style "hildon-apps-menu-pane1"
 widget "*.hildon-apps-menu-pane1.GtkViewport"  style "hildon-apps-menu-pane1"
@@ -70,3 +249,7 @@
 widget "*.hildon-apps-menu-pane2-item" style "hildon-apps-menu-pane2-item"
 widget "*.hildon-apps-menu-pane1-item.*.GtkLabel"  style "hildon-apps-menu-pane-label"
 widget "*.hildon-apps-menu-pane2-item.*.GtkLabel"  style "hildon-apps-menu-pane-label"
+widget "*.hildon-apps-menu-pane1-button"  style "hildon-apps-menu-pane-button"
+widget "*.hildon-apps-menu-pane2-button"  style "hildon-apps-menu-pane-button"
+widget "*.hildon-apps-menu-pane1.*.GtkArrow"  style "hildon-apps-menu-pane1-arrow"
+widget "*.hildon-apps-menu-pane2.*.GtkArrow"  style "hildon-apps-menu-pane2-arrow"


More information about the maemo-commits mailing list