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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Mar 27 11:44:30 EEST 2007
Author: mdk
Date: 2007-03-27 11:44:28 +0300 (Tue, 27 Mar 2007)
New Revision: 10774

Added:
   projects/haf/trunk/hildon-theme-layout-4/rc/hildonthumbscrollbar.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.rc
   projects/haf/trunk/hildon-theme-layout-4/rc/themespecificgtk.rc
Log:
Style for the thumb-sized 'fingerable' scrollbar.
Adding the DejaVu Sans Condensed as the second font option.


Modified: projects/haf/trunk/hildon-theme-layout-4/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2007-03-27 08:37:46 UTC (rev 10773)
+++ projects/haf/trunk/hildon-theme-layout-4/ChangeLog	2007-03-27 08:44:28 UTC (rev 10774)
@@ -1,3 +1,12 @@
+2007-03-27  Michael Dominic Kostrzewa  <michael.kostrzewa at nokia.com> 
+
+	* rc/Makefile.am:
+	* rc/gtkrc.rc:
+	* rc/hildonthumbscrollbar.rc: Style for the thumb-sized 'fingerable' scrollbar.
+
+	* rc/themespecificgtk.rc: Adding the DejaVu Sans Condensed as the
+	second font option.
+
 2007-03-23  Tuomas Kuosmanen  <tuomas.kuosmanen at nokia.com>
 
 	* data/layout.txt: added thumb-sized scrollbar images, hopefully

Modified: projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am	2007-03-27 08:37:46 UTC (rev 10773)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/Makefile.am	2007-03-27 08:44:28 UTC (rev 10774)
@@ -67,7 +67,8 @@
 					  ossorssfeedreader.rc 		\
 					  ossortc.rc 			\
 					  ossospeeddial.rc 		\
-					  themespecificgtk.rc
+					  themespecificgtk.rc		\
+					  hildonthumbscrollbar.rc
 
 gtkrc: $(RC_FILES)
 	hildon-theme-rc-parser gtkrc.rc gtkrc

Modified: projects/haf/trunk/hildon-theme-layout-4/rc/gtkrc.rc
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/gtkrc.rc	2007-03-27 08:37:46 UTC (rev 10773)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/gtkrc.rc	2007-03-27 08:44:28 UTC (rev 10774)
@@ -52,6 +52,7 @@
 include "hildonweekdaypicker.rc"
 include "hildonbreadcrumbbutton.rc"
 include "hildondateeditor.rc"
+include "hildonthumbscrollbar.rc"
 
 include "ossoclock.rc"
 include "ossortc.rc"

Added: projects/haf/trunk/hildon-theme-layout-4/rc/hildonthumbscrollbar.rc
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/hildonthumbscrollbar.rc	2007-03-27 08:37:46 UTC (rev 10773)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/hildonthumbscrollbar.rc	2007-03-27 08:44:28 UTC (rev 10774)
@@ -0,0 +1,122 @@
+#################################################### 
+# HILDON THUMB SCROLLBAR
+#
+#################################################### 
+
+style "hildon-thumb-scrollbar"
+{
+  GtkRange::stepper_size = 52
+  GtkRange::stepper_spacing = 0
+  GtkRange::trough_border = 0
+  GtkRange::slider_width = 64
+  GtkRange::draw_trough_under_steppers = 0
+  GtkRange::draw_trough = 0
+  GtkRange::arrow_displacement_x = 0
+  GtkRange::arrow_displacement_y = 0
+  GtkRange::autodimmed_steppers = 1
+  GtkScrollbar::min-slider-length = 32
+  
+  engine "sapwood"
+  {
+    image
+      {
+        function        = BOX
+	orientation     = VERTICAL
+	state		= INSENSITIVE
+	file            = "../images/qgn_plat_scroll_thumbsize_vertical_shaft_disabled.png"
+	border          = { 0, 0, 0, 0 }
+      }
+    image
+      {
+        function        = SLIDER
+	orientation     = VERTICAL
+	state		= INSENSITIVE
+	file            = "../images/qgn_plat_scroll_thumbsize_vertical_thumb_disabled.png"
+	border		= { 0, 0, 10, 10 }
+      }
+    image
+      {
+        function        = BOX
+	orientation     = VERTICAL
+	file            = "../images/qgn_plat_scroll_thumbsize_vertical_shaft_normal.png"
+	border          = { 0, 0, 15, 15 }
+      }
+    image
+      {
+        function        = SLIDER
+	orientation     = VERTICAL
+	file            = "../images/qgn_plat_scroll_thumbsize_vertical_thumb_normal.png"
+	border		= { 0, 0, 10, 10 }
+      }
+
+    # up
+    image
+      {
+        function        = STEPPER
+	state           = ACTIVE
+	arrow_direction = UP
+	overlay_file    = "../images/qgn_plat_scroll_thumbsize_vertical_up_arrow_pressed.png"
+	overlay_stretch = FALSE
+      }
+    image
+      {
+        function        = STEPPER
+	state           = SELECTED
+	arrow_direction = UP
+	overlay_file    = "../images/qgn_plat_scroll_thumbsize_vertical_up_arrow_pressed.png"
+	overlay_stretch = FALSE
+      }
+    image
+      {
+        function        = STEPPER
+	state           = INSENSITIVE
+	arrow_direction = UP
+	overlay_file    = "../images/qgn_plat_scroll_thumbsize_vertical_up_arrow_disabled.png"
+	overlay_stretch = FALSE
+      }
+    image
+      {
+        function        = STEPPER
+	arrow_direction = UP
+	overlay_file    = "../images/qgn_plat_scroll_thumbsize_vertical_up_arrow_normal.png"
+	overlay_stretch = FALSE
+      }
+    
+    # down
+    image
+      {
+        function        = STEPPER
+	state           = ACTIVE
+	arrow_direction = DOWN
+	overlay_file    = "../images/qgn_plat_scroll_thumbsize_vertical_down_arrow_pressed.png"
+	overlay_stretch = FALSE
+      }
+    image
+      {
+        function        = STEPPER
+	state           = SELECTED
+	arrow_direction = DOWN
+	overlay_file    = "../images/qgn_plat_scroll_thumbsize_vertical_down_arrow_pressed.png"
+	overlay_stretch = FALSE
+      }
+    image
+      {
+        function        = STEPPER
+	state           = INSENSITIVE
+	arrow_direction = DOWN
+	overlay_file    = "../images/qgn_plat_scroll_thumbsize_vertical_down_arrow_disabled.png"
+	overlay_stretch = FALSE
+      }
+    image
+      {
+        function        = STEPPER
+	arrow_direction = DOWN
+	overlay_file    = "../images/qgn_plat_scroll_thumbsize_vertical_down_arrow_normal.png"
+	overlay_stretch = FALSE
+      }
+  }
+}
+
+widget "*.hildon-thumb-scrollbar" style "hildon-thumb-scrollbar"
+
+

Modified: projects/haf/trunk/hildon-theme-layout-4/rc/themespecificgtk.rc
===================================================================
--- projects/haf/trunk/hildon-theme-layout-4/rc/themespecificgtk.rc	2007-03-27 08:37:46 UTC (rev 10773)
+++ projects/haf/trunk/hildon-theme-layout-4/rc/themespecificgtk.rc	2007-03-27 08:44:28 UTC (rev 10774)
@@ -78,37 +78,37 @@
 ##############################
 
 style "osso-SystemFont" {
-	font_name = "Nokia Sans 16.75"
+	font_name = "Nokia Sans 16.75, DejaVu Sans Condensed 16.75, Sans 16.75"
 }
 
 style "osso-EmpSystemFont" {
-	font_name = "Nokia Sans Bold 16.75"
+	font_name = "Nokia Sans Bold 16.75, DejaVu Sans Condensed 16.75, Sans 16.75"
 }
 
 style "osso-TitleFont" {
-	font_name = "Nokia Sans 16.75"
+	font_name = "Nokia Sans 16.75, DejaVu Sans Condensed 16.75, Sans 16.75"
 }
 
 style "osso-ButtonFont" {
-	font_name = "Nokia Sans 16.75"
+	font_name = "Nokia Sans 16.75, DejaVu Sans Condensed 16.75, Sans 16.75"
 }
 
 style "osso-SmallFont" {
-	font_name = "Nokia Sans 11.625"
+	font_name = "Nokia Sans 11.625, DejaVu Sans Condensed 11.625, Sans 11.625"
 }
 
 style "osso-LargeFont" {
-	font_name = "Nokia Sans 29.5"
+	font_name = "Nokia Sans 29.5, DejaVu Sans Condensed 29.5, Sans 29.5"
 }
 
 style "osso-HWRFont1"
 {
-  font_name = "Nokia Sans 52"
+  font_name = "Nokia Sans 52, DejaVu Sans Condensed 52, Sans 52"
 }
 
 style "osso-HWRFont2"
 {
-  font_name = "Nokia Sans 38"
+  font_name = "Nokia Sans 38, DejaVu Sans Condensed 38, Sans 38"
 }
 
 ######################################


More information about the maemo-commits mailing list