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


#################################################### 
# GTK MENUITEM
#
#################################################### 

style "osso-menuitem"
{

  GtkMenuItem::include_arrow_in_focus = 0
  GtkMenuItem::hildonlike = 1
  GtkMenuItem::separator_height = 3

  engine "sapwood"
  {
    # Image for passive focus.
    image
      {
	function = BOX
	state = SELECTED
	file = "../images/qgn_plat_focus_passive.png"
	border = { 2, 2, 2, 2 }
	stretch = TRUE
      }
    
    # Image for active focus.
    image
      {
	function = BOX
	state = PRELIGHT
        file = "../images/qgn_plat_focus_active.png"
        border = { 2, 2, 2, 2 }
	stretch = TRUE
      }
    
    image
      {
        function        = ARROW
        arrow_direction = RIGHT
        state           = INSENSITIVE
        overlay_file    = "../images/qgn_plat_menu_next_level_arrow_disabled.png"
        overlay_border  = { 0, 0, 0, 0 }
        overlay_stretch = FALSE
      }
    image
      {
        function        = ARROW
	arrow_direction = RIGHT
	shadow          = OUT
	overlay_file    = "../images/qgn_plat_menu_next_level_arrow_normal.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
      }
    image
      {
        function        = ARROW
        arrow_direction = RIGHT
        shadow          = IN
        overlay_file    = "../images/qgn_plat_menu_next_level_arrow_pressed.png"
        overlay_border  = { 0, 0, 0, 0 }
        overlay_stretch = FALSE
      }
     image
      {
        function        = BOX
	detail          = "separator"
        file            = "../images/qgn_plat_separator_horizontal.png"
        border          = { 12, 12, 0, 0 }
        stretch         = TRUE
      }
  }		  
}

class "GtkMenuItem" style "osso-menuitem"
