2 * This file is part of hildon-libs
4 * Copyright (C) 2005, 2006 Nokia Corporation.
6 * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public License
10 * as published by the Free Software Foundation; version 2.1 of
13 * This library is distributed in the hope that it will be useful, but
14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
26 * @file hildon-grid-item-private.h
28 * This file is a private header file for he implementation of
29 * HildonGridItem. HildonGridItem is an item mainly used in HildonGrid. It
30 * has an icon, emblem and a label. This private header file exists so that
31 * grid can call semi-public functions of an item.
34 #ifndef __HILDON_GRID_ITEM_PRIVATE_H__
35 #define __HILDON_GRID_ITEM_PRIVATE_H__
37 #include <hildon-widgets/hildon-grid-item.h>
42 void _hildon_grid_item_set_label(HildonGridItem *item,
45 void _hildon_grid_item_set_emblem_size(HildonGridItem *item,
46 const gint emblem_size);
47 void _hildon_grid_item_set_label_pos(HildonGridItem *item,
48 HildonGridPositionType label_pos);
50 void _hildon_grid_item_set_icon_size(HildonGridItem *item,
51 HildonGridItemIconSizeType icon_size);
53 void _hildon_grid_item_set_focus_margin(HildonGridItem *item,
54 const gint focus_margin);
55 void _hildon_grid_item_set_label_height(HildonGridItem *item,
56 const gint label_height);
57 void _hildon_grid_item_set_label_icon_margin(HildonGridItem *item,
58 const gint label_icon_margin);
59 void _hildon_grid_item_set_icon_width(HildonGridItem *item,
60 const gint icon_width);
61 void _hildon_grid_item_set_icon_height(HildonGridItem *item,
62 const gint icon_height);
63 void _hildon_grid_item_set_label_height(HildonGridItem *item,
64 const gint label_height);
66 void _hildon_grid_item_done_updating_settings(HildonGridItem *item);
71 #endif /* __HILDON_GRID_ITEM_PRIVATE_H__ */