Main Page | File List | File Members

cp-grid-item-private.h

00001 /*
00002  * This file is part of hildon-control-panel
00003  *
00004  * Copyright (C) 2005 Nokia Corporation.
00005  *
00006  * Contact: Karoliina Salminen <karoliina.t.salminen@nokia.com>
00007  *
00008  * This library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public License
00010  * version 2.1 as published by the Free Software Foundation.
00011  *
00012  * This library is distributed in the hope that it will be useful, but
00013  * WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
00020  * 02110-1301 USA
00021  *
00022  */
00023 
00024 /*
00025  * @file cp-grid-item-private.h
00026  *
00027  * This file is a private header file for he implementation of
00028  * CPGridItem. CPGridItem is an item mainly used in CPGrid. It
00029  * has an icon, emblem and a label. This private header file exists so that
00030  * grid can call semi-public functions of an item.
00031  */
00032 
00033 #ifndef CP_GRID_ITEM_PRIVATE_H_
00034 #define CP_GRID_ITEM_PRIVATE_H_
00035 
00036 #include "cp-grid-item.h"
00037 
00038 
00039 G_BEGIN_DECLS
00040 
00041 
00042 void _cp_grid_item_set_label(CPGridItem *item,
00043                              const gchar *label);
00044 void _cp_grid_item_set_emblem_size(CPGridItem *item,
00045                                    const gint emblem_size);
00046 void _cp_grid_item_set_icon_size(CPGridItem *item,
00047                                  CPGridItemIconSizeType icon_size);
00048 void _cp_grid_item_set_focus_margin(CPGridItem *item,
00049                                     const gint focus_margin);
00050 void _cp_grid_item_set_label_height(CPGridItem *item,
00051                                     const gint label_height);
00052 void _cp_grid_item_set_label_icon_margin(CPGridItem *item,
00053                                          const gint label_icon_margin);
00054 void _cp_grid_item_set_icon_width(CPGridItem *item,
00055                                   const gint icon_width);
00056 void _cp_grid_item_set_icon_height(CPGridItem *item,
00057                                    const gint icon_height);
00058 void _cp_grid_item_set_label_height(CPGridItem *item,
00059                                     const gint label_height);
00060 void _cp_grid_item_done_updating_settings(CPGridItem *item);
00061 
00062 
00063 G_END_DECLS
00064 
00065 #endif /* ifndef CP_GRID_ITEM_PRIVATE_H_ */

Generated on Thu Dec 21 18:18:50 2006 by  doxygen 1.4.2