# -*- coding: utf-8 -*-
# Elisa - Home multimedia server
# Copyright (C) 2006-2008 Fluendo Embedded S.L. (www.fluendo.com).
# All rights reserved.
#
# This file is available under one of two license agreements.
#
# This file is licensed under the GPL version 3.
# See "LICENSE.GPL" in the root of this distribution including a special
# exception to use Elisa with Fluendo's plugins.
#
# The GPL part of Elisa is also available under a commercial licensing
# agreement from Fluendo.
# See "LICENSE.Elisa" in the root directory of this distribution package
# for details on that license.

from elisa.core.utils.misc import is_hildon_desktop_running

status_bar_height = None
context_bar_height = None
if is_hildon_desktop_running():
    status_bar_height = 7.0
    context_bar_height = 11.0
else:
    status_bar_height = 5.0
    context_bar_height = 7.5

list_menu_height_margin = 5.0
back_button_height = 6.66
context_bar_size = 7.5
grid_bottom_bar = 10.0
