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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Jul 9 15:06:29 EEST 2007
Author: lucasr
Date: 2007-07-09 15:06:25 +0300 (Mon, 09 Jul 2007)
New Revision: 12693

Added:
   projects/haf/trunk/hildon-theme-layout-4/rc/hildonappsmenu.rc
Modified:
   projects/haf/trunk/hildon-theme-layout-4/ChangeLog
   projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am
   projects/haf/trunk/hildon-theme-layout-4/rc/gtkrc.maemo_af_desktop.rc
Log:
2007-07-09  Lucas Rocha  <lucas.rocha at nokia.com>

	* rc/Makefile.am, rc/gtkrc.maemo_af_desktop.rc, rc/hildonappsmenu.rc: new RC 
	file for applications menu theming.


Modified: projects/haf/trunk/hildon-theme-layout-4/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2007-07-09 11:23:49 UTC (rev 12692)
+++ projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2007-07-09 12:06:25 UTC (rev 12693)
@@ -1,3 +1,8 @@
+2007-07-09  Lucas Rocha  <lucas.rocha at nokia.com>
+
+	* rc/Makefile.am, rc/gtkrc.maemo_af_desktop.rc, rc/hildonappsmenu.rc: new RC 
+	file for applications menu theming.
+
 2007-07-03  Xan Lopez  <xan.lopez at nokia.com>
 
 	* rc/hildonthumbscrollbar.rc: correct border values for thumbable

Modified: projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am	2007-07-09 11:23:49 UTC (rev 12692)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am	2007-07-09 12:06:25 UTC (rev 12693)
@@ -37,6 +37,7 @@
 					  gtktoolbutton.rc 		\
 					  gtktreeview.rc 		\
 					  hildonapp.rc 			\
+					  hildonappsmenu.rc 		\
 					  hildonbanners.rc 		\
 					  hildoncandidatebox.rc 	\
 					  hildoncaption.rc 		\

Modified: projects/haf/trunk/hildon-theme-layout-4/rc/gtkrc.maemo_af_desktop.rc
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/gtkrc.maemo_af_desktop.rc	2007-07-09 11:23:49 UTC (rev 12692)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/gtkrc.maemo_af_desktop.rc	2007-07-09 12:06:25 UTC (rev 12693)
@@ -8,6 +8,7 @@
 include "hildonnavigator.rc"
 include "hildonnavigatorpopuplist.rc"
 include "hildonstatusbar.rc"
+include "hildonappsmenu.rc"
 
 # Home applets
 include "ossoclock.rc"

Added: projects/haf/trunk/hildon-theme-layout-4/rc/hildonappsmenu.rc
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/hildonappsmenu.rc	2007-07-09 11:23:49 UTC (rev 12692)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/hildonappsmenu.rc	2007-07-09 12:06:25 UTC (rev 12693)
@@ -0,0 +1,74 @@
+# Copyright Nokia Corporation 2007
+# Licensed under Creative Commons Attribution-ShareAlike 2.5 license 
+
+style "hildon-apps-menu" {
+   GtkMenu::horizontal_padding = 18
+   GtkMenu::vertical_padding = 18
+
+   engine "sapwood" {
+      image {
+	 function = FLAT_BOX
+	 state = NORMAL
+	 file = "../images/qgn_plat_panemenu_bg.png"
+	 border = { 20, 20, 20, 20 }
+         shaped = TRUE
+      }
+   }
+}
+
+style "hildon-apps-menu-pane1"
+{
+  bg[NORMAL] = "#555753"
+}
+
+style "hildon-apps-menu-pane1-item"
+{
+  bg[NORMAL] = "#555753"
+
+  engine "sapwood"
+  {
+    # Image for active focus.
+    image
+    {
+      function = BOX
+      state = PRELIGHT
+      file = "../images/qgn_plat_pane1_focus_active.png"
+      border = { 6, 6, 6, 6 }
+    }
+  }
+}
+
+style "hildon-apps-menu-pane2"
+{
+  bg[NORMAL] = "#888A85"
+}
+
+style "hildon-apps-menu-pane2-item"
+{
+  bg[NORMAL] = "#888A85"
+
+  engine "sapwood"
+  {
+    # Image for active focus.
+    image
+    {
+      function = BOX
+      state = PRELIGHT
+      file = "../images/qgn_plat_pane1_focus_active.png"
+      border = { 6, 6, 6, 6 }
+    }
+  }
+}
+
+style "hildon-apps-menu-pane-label"
+{
+  fg[NORMAL] = "#FFFFFF"
+}
+
+widget "hildon-apps-menu" style "hildon-apps-menu"
+widget "*.hildon-apps-menu-pane1" style "hildon-apps-menu-pane1"
+widget "*.hildon-apps-menu-pane2" style "hildon-apps-menu-pane2"
+widget "*.hildon-apps-menu-pane1-item" style "hildon-apps-menu-pane1-item"
+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"


More information about the maemo-commits mailing list