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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Jul 30 18:19:29 EEST 2007
Author: lucasr
Date: 2007-07-30 18:19:27 +0300 (Mon, 30 Jul 2007)
New Revision: 12927

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

	* rc/hildonnavigator.rc: added theming for new switcher menu.


Modified: projects/haf/trunk/hildon-theme-layout-4/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2007-07-30 15:13:31 UTC (rev 12926)
+++ projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2007-07-30 15:19:27 UTC (rev 12927)
@@ -1,3 +1,7 @@
+2007-07-30  Lucas Rocha  <lucas.rocha at nokia.com>
+
+	* rc/hildonnavigator.rc: added theming for new switcher menu.
+
 2007-07-30  Tomas Junnonen  <tomas.junnonen at nokia.com>
 
 	* rc/hildonkeyboard.rc: Add a style for the FKB menuitems.

Modified: projects/haf/trunk/hildon-theme-layout-4/rc/hildonnavigator.rc
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/hildonnavigator.rc	2007-07-30 15:13:31 UTC (rev 12926)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/hildonnavigator.rc	2007-07-30 15:19:27 UTC (rev 12927)
@@ -291,3 +291,290 @@
 }
 
 class "HDPanelWindow" style "hildon-navigator"
+
+style "hildon-switcher-menu-app-window" {
+   GtkMenu::horizontal_padding = 18
+   GtkMenu::vertical_padding = 18
+
+   engine "sapwood" {
+      image {
+	 function = FLAT_BOX
+	 state = NORMAL
+	 file = "../images/qgn_plat_task_switcher_notification_menu_bg.png"
+	 file = "../images/qgn_plat_task_switcher_menu_bg.png"
+	 border = { 20, 20, 20, 20 }
+         shaped = TRUE
+      }
+   }
+}
+
+style "hildon-switcher-menu-app-menu"
+{
+  bg[NORMAL] = "#555753"
+}
+
+style "hildon-switcher-menu-app-item"
+{
+  engine "sapwood"
+  {
+    image
+    {
+      function = BOX
+      state = PRELIGHT
+      file = "../images/qgn_plat_task_switcher_focus_active.png"
+      border = { 6, 6, 6, 6 }
+    }
+  }
+}
+
+style "hildon-switcher-menu-app-arrow"
+{
+  engine "sapwood"
+  {
+    image
+    {
+      function        = ARROW
+      state           = INSENSITIVE
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_task_switcher_menu_up_arrow_disabled.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = PRELIGHT 
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_task_switcher_menu_up_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = SELECTED 
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_task_switcher_menu_up_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = ACTIVE 
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_task_switcher_menu_up_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_task_switcher_menu_up_arrow_normal.png"
+      overlay_stretch = TRUE 
+    }
+    image
+    {
+      function        = ARROW
+      state           = INSENSITIVE
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_task_switcher_menu_down_arrow_disabled.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = PRELIGHT 
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_task_switcher_menu_down_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = SELECTED 
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_task_switcher_menu_down_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = ACTIVE 
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_task_switcher_menu_down_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_task_switcher_menu_down_arrow_normal.png"
+      overlay_stretch = FALSE
+    }
+  }
+}
+
+style "hildon-switcher-menu-app-label"
+{
+  fg[NORMAL] = "#FFFFFF"
+}
+
+style "hildon-switcher-menu-app-button"
+{
+  engine "sapwood"
+  {
+    image
+    {
+      function = BOX 
+    }
+  }
+}
+
+widget "hildon-switcher-menu-app-window" style "hildon-switcher-menu-app-window"
+widget "*.hildon-switcher-menu-app-menu" style "hildon-switcher-menu-app-menu"
+widget "*.hildon-switcher-menu-app-menu.GtkViewport"  style "hildon-switcher-menu-app-menu"
+widget "*.hildon-switcher-menu-app-item" style "hildon-switcher-menu-app-item"
+widget "*.hildon-switcher-menu-app-item.*.GtkLabel"  style "hildon-switcher-menu-app-label"
+widget "*.hildon-switcher-menu-app-button"  style "hildon-switcher-menu-app-button"
+widget "*.hildon-switcher-menu-app-menu.*.GtkArrow"  style "hildon-switcher-menu-app-arrow"
+
+style "hildon-switcher-menu-not-window" {
+   GtkMenu::horizontal_padding = 18
+   GtkMenu::vertical_padding = 18
+
+   engine "sapwood" {
+      image {
+	 function = FLAT_BOX
+	 state = NORMAL
+	 file = "../images/qgn_plat_task_switcher_notification_menu_bg.png"
+	 border = { 20, 20, 20, 20 }
+         shaped = TRUE
+      }
+   }
+}
+
+style "hildon-switcher-menu-not-menu"
+{
+  bg[NORMAL] = "#EDCD00"
+}
+
+style "hildon-switcher-menu-not-item"
+{
+  engine "sapwood"
+  {
+    image
+    {
+      function = BOX
+      state = PRELIGHT
+      file = "../images/qgn_plat_task_switcher_focus_active.png"
+      border = { 6, 6, 6, 6 }
+    }
+  }
+}
+
+style "hildon-switcher-menu-not-arrow"
+{
+  engine "sapwood"
+  {
+    image
+    {
+      function        = ARROW
+      state           = INSENSITIVE
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_task_switcher_notification_menu_up_arrow_disabled.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = PRELIGHT 
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_task_switcher_notification_menu_up_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = SELECTED 
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_task_switcher_notification_menu_up_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = ACTIVE 
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_task_switcher_notification_menu_up_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      arrow_direction = UP 
+      overlay_file    = "../images/qgn_plat_task_switcher_notification_menu_up_arrow_normal.png"
+      overlay_stretch = TRUE 
+    }
+    image
+    {
+      function        = ARROW
+      state           = INSENSITIVE
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_task_switcher_notification_menu_down_arrow_disabled.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = PRELIGHT 
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_task_switcher_notification_menu_down_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = SELECTED 
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_task_switcher_notification_menu_down_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      state           = ACTIVE 
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_task_switcher_notification_menu_down_arrow_pressed.png"
+      overlay_stretch = FALSE
+    }
+    image
+    {
+      function        = ARROW
+      arrow_direction = DOWN 
+      overlay_file    = "../images/qgn_plat_task_switcher_notification_menu_down_arrow_normal.png"
+      overlay_stretch = FALSE
+    }
+  }
+}
+
+style "hildon-switcher-menu-not-label"
+{
+  fg[NORMAL] = "#000000"
+}
+
+style "hildon-switcher-menu-not-button"
+{
+  engine "sapwood"
+  {
+    image
+    {
+      function = BOX 
+    }
+  }
+}
+
+widget "hildon-switcher-menu-not-window" style "hildon-switcher-menu-not-window"
+widget "*.hildon-switcher-menu-not-menu" style "hildon-switcher-menu-not-menu"
+widget "*.hildon-switcher-menu-not-menu.GtkViewport"  style "hildon-switcher-menu-not-menu"
+widget "*.hildon-switcher-menu-not-item" style "hildon-switcher-menu-not-item"
+widget "*.hildon-switcher-menu-not-item.*.GtkLabel"  style "hildon-switcher-menu-not-label"
+widget "*.hildon-switcher-menu-not-button"  style "hildon-switcher-menu-not-button"
+widget "*.hildon-switcher-menu-not-menu.*.GtkArrow"  style "hildon-switcher-menu-not-arrow"


More information about the maemo-commits mailing list