# This file is part of sdk-default-theme-config
# 
# Copyright (C) 2005 Nokia Corporation.
# 
# Contact: Ferenc Szekely <ferenc.szekely@nokia.com> 
# 
# This work is licensed under the Creative Commons
# Attribution-NonCommercial-ShareAlike 2.0 License.
# To view a copy of this license,
# visit http://creativecommons.org/licenses/by-nc-sa/2.0/
# or send a letter to Creative Commons,
# 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.


####################################################  
# Hildon Time Picker
#
#
#################################################### 

style "osso-time-picker-arrows" {

  engine "sapwood" {
    image {
      function = BOX
      detail = "osso_button_n"
      state = ACTIVE
      file = "../images/qgn_plat_arrow_up_pressed.png"
    }
    image {
      function = BOX
      detail = "osso_button_n"
      file = "../images/qgn_plat_arrow_up_normal.png"
    }
    image {
      function = BOX
      detail = "osso_button_s"
      state = ACTIVE
      file = "../images/qgn_plat_arrow_down_pressed.png"
    }
    image {
      function = BOX
      detail = "osso_button_s"
      file = "../images/qgn_plat_arrow_down_normal.png"
    }
  }
}
widget_class "HildonTimePicker.*GtkButton" style "osso-time-picker-arrows"

style "osso-time-picker-ebox" {
      xthickness = 0
      ythickness = 0

      engine "sapwood" {
         image {
            function = FLAT_BOX
	    state = SELECTED
            file = "../images/qgn_plat_focus_active.png"
            border = { 2, 2, 2, 2 }
            stretch = TRUE
         }
         image {
            function = FLAT_BOX
         }
      }
}
widget_class "HildonTimePicker.*GtkEventBox" style "osso-time-picker-ebox"

widget_class "HildonTimePicker.*GtkLabel" style "osso-LargeFont"
widget_class "HildonTimePicker.*GtkHButtonBox.*GtkLabel" style "osso-ButtonFont"
widget "*HildonTimePicker.*am-pm" style "osso-SystemFont"
