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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Apr 13 13:44:37 EEST 2007
Author: xan
Date: 2007-04-13 13:44:36 +0300 (Fri, 13 Apr 2007)
New Revision: 11019

Added:
   projects/haf/trunk/hildon-theme-layout-4/rc/hildonbreadcrumbtrail.rc
Modified:
   projects/haf/trunk/hildon-theme-layout-4/ChangeLog
   projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am
Log:
	* rc/hildonbreadcrumbtrail.rc:
	* rc/Makefile.rc:

	Add HildonBreadCrumbTrail rc file.


Modified: projects/haf/trunk/hildon-theme-layout-4/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2007-04-13 09:56:01 UTC (rev 11018)
+++ projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2007-04-13 10:44:36 UTC (rev 11019)
@@ -1,3 +1,10 @@
+2007-04-13  Xan Lopez  <xan.lopez at nokia.com>
+
+	* rc/hildonbreadcrumbtrail.rc:
+	* rc/Makefile.rc:
+
+	Add HildonBreadCrumbTrail rc file.
+
 2007-04-11  Tuomas Kuosmanen  <tuomas.kuosmanen at nokia.com>
 
 	* data/layout.txt: moved voip buttons more tightly together and 

Modified: projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am	2007-04-13 09:56:01 UTC (rev 11018)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am	2007-04-13 10:44:36 UTC (rev 11019)
@@ -68,7 +68,8 @@
 					  ossospeeddial.rc 		\
 					  themespecificgtk.rc		\
 					  hildonthumbscrollbar.rc	\
-					  hildoncalendar.rc
+					  hildoncalendar.rc		\
+					  hildonbreadcrumbtrail.rc
 
 gtkrc: $(RC_FILES)
 	hildon-theme-rc-parser gtkrc.rc gtkrc

Added: projects/haf/trunk/hildon-theme-layout-4/rc/hildonbreadcrumbtrail.rc
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/hildonbreadcrumbtrail.rc	2007-04-13 09:56:01 UTC (rev 11018)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/hildonbreadcrumbtrail.rc	2007-04-13 10:44:36 UTC (rev 11019)
@@ -0,0 +1,130 @@
+#########################
+# HildonBreadCrumbTrail #
+#########################
+
+style "osso-bread-crumb"
+{
+  GtkWidget::maemo-position-theming = 1
+}
+
+widget "*.HildonBreadCrumbTrail" style "osso-bread-crumb"
+
+style "osso-breadcrumb-backbutton-arrow"
+{
+  engine "sapwood" {
+
+    image {
+      function = ARROW
+	state = INSENSITIVE
+	overlay_file = "../images/qgn_plat_breadcrumb_arrow_disabled.png"
+	overlay_stretch = FALSE
+	}
+    image {
+      function = ARROW
+	state = ACTIVE
+	overlay_file = "../images/qgn_plat_breadcrumb_arrow_pressed.png"
+	overlay_stretch = FALSE
+	}
+    image {
+      function = ARROW
+	overlay_file = "../images/qgn_plat_breadcrumb_arrow_normal.png"
+	overlay_stretch = FALSE
+	}
+  }
+}
+
+widget "*.hildon-bread-crumb-back-button.GtkArrow" style "osso-breadcrumb-backbutton-arrow"
+
+style "osso-bread-crumb-back-button" {
+  GtkButton::inner-border = { 0, 0, 9, 9 }
+
+  engine "sapwood" {
+    image {
+      function = FOCUS
+	state = ACTIVE
+	file = "../images/qgn_plat_breadcrumb_backbutton_pressed.png"
+	border = { 6, 6, 27, 28 }
+    }
+
+    image {
+      function = FOCUS
+	file = "../images/qgn_plat_breadcrumb_backbutton_focused.png"
+	border = { 5, 5, 27, 28 }
+    }
+
+    image {
+      function = BOX
+	file = "../images/qgn_plat_breadcrumb_backbutton_normal.png"
+	border = { 4, 4, 27, 28 }
+    }
+  }
+}
+
+widget "*.hildon-bread-crumb-back-button" style "osso-bread-crumb-back-button"
+
+style "osso-bread-crumb-button-arrow"
+{
+  engine "sapwood" {
+    image {
+      function = ARROW
+	state = ACTIVE
+	overlay_file = "../images/qgn_plat_breadcrumb_separator_pressed.png"
+	overlay_stretch = FALSE
+	}
+    image {
+      function = ARROW
+	overlay_file = "../images/qgn_plat_breadcrumb_separator_normal.png"
+	overlay_stretch = FALSE
+	}
+
+  }
+}
+
+widget "*.hildon-bread-crumb-separator-arrow" style "osso-bread-crumb-button-arrow"
+
+style "osso-bread-crumb-button" {
+  engine "sapwood" {
+    image {
+      function = BOX
+	position = RIGHT, TOP, BOTTOM
+	file = "../images/qgn_plat_breadcrumb_end_normal.png"
+	border = { 0, 2, 28, 29 }
+    }
+    image {
+      function = FOCUS
+	state = ACTIVE
+	position = RIGHT, TOP, BOTTOM
+	file = "../images/qgn_plat_breadcrumb_end_pressed.png"
+	border = { 4, 4, 28, 29 }
+    }
+
+    image {
+      function = FOCUS
+	position = RIGHT, TOP, BOTTOM
+	file = "../images/qgn_plat_breadcrumb_end_focused.png"
+	border = { 4, 4, 28, 29 }
+    }
+
+    image {
+      function = FOCUS
+	state = ACTIVE
+	file = "../images/qgn_plat_breadcrumb_middle_pressed.png"
+	border = { 4, 4, 28, 29 }
+    }
+
+    image {
+      function = BOX
+	file ="../images/qgn_plat_breadcrumb_middle_normal.png"
+	border = { 1, 0, 28, 29 }
+    }
+
+    image {
+      function = FOCUS
+	file = "../images/qgn_plat_breadcrumb_middle_focused.png"
+	border = { 4, 4, 28, 29 }
+    }
+
+  }
+}
+
+widget "*.HildonBreadCrumbTrail.HildonBreadCrumb" style "osso-bread-crumb-button"


More information about the maemo-commits mailing list