# 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.

####################################################
# CALENDAR POPOUP (GTKCALENDAR)
#
# Following style is for switching on osso theming
# for GtkCalendar.
# Assign this style to all GtkCalendars
####################################################

style "osso-calendar" {
  GtkCalendar::hildonlike = 1
  xthickness = 0
  ythickness = 0

  engine "sapwood" {
  
    # Image used for indicating the current actual date  
    image {
      function = BOX
      state = NORMAL
      detail = "current-day"
      file = "../images/qgn_plat_calendar_current_day_indicator.png"
      stretch = TRUE
      border = {4,4,4,4}
    }
    
    # Image used for indicating the currently selected day
    image {
      function = BOX
      state = NORMAL
      detail = "active-day"
      file = "../images/qgn_plat_calendar_active_day_indicator.png"
      stretch = TRUE
      border = {1,1,1,1}
    }
    
    # Image used for indicating the current week in week number column
    # and the current weekday in weekday list row.
    image {
      function = BOX
      state = NORMAL
      detail = "passive-focus"
      file = "../images/qgn_plat_calendar_week_day_indicator.png"
      stretch = TRUE
      border = {2,2,2,2}
    }
  }
}

class "GtkCalendar" style "osso-calendar"

class "GtkCalendar" style "osso-SystemFont"
widget_class "*GtkCalendar.*" style "osso-SystemFont"
