2006-08-30 Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
[hildon] / hildon-widgets / hildon-grid-item-private.h
1 /*
2  * This file is part of hildon-libs
3  *
4  * Copyright (C) 2005, 2006 Nokia Corporation.
5  *
6  * Contact: Michael Dominic Kostrzewa <michael.kostrzewa@nokia.com>
7  *
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
11  * the License.
12  *
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.
17  *
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
21  * 02110-1301 USA
22  *
23  */
24
25 /*
26  * @file hildon-grid-item-private.h
27  *
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.
32  */
33
34 #ifndef __HILDON_GRID_ITEM_PRIVATE_H__
35 #define __HILDON_GRID_ITEM_PRIVATE_H__
36
37 #include <hildon-widgets/hildon-grid-item.h>
38
39 G_BEGIN_DECLS
40
41
42 void _hildon_grid_item_set_label(HildonGridItem *item,
43                                  const gchar *label);
44
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);
49
50 void _hildon_grid_item_set_icon_size(HildonGridItem *item,
51                                      HildonGridItemIconSizeType icon_size);
52
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);
65
66 void _hildon_grid_item_done_updating_settings(HildonGridItem *item);
67
68
69 G_END_DECLS
70
71 #endif /* __HILDON_GRID_ITEM_PRIVATE_H__ */