2 * This file is a part of hildon
4 * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
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 * SECTION:hildon-defines
27 * @short_description: A collection of usefull defines.
36 #include "hildon-defines.h"
38 const HildonIconSizes* hildoniconsizes = NULL;
40 static HildonIconSizes iis; /* hildon internal icon sizes */
43 * hildon_icon_sizes_init:
45 * Initializes the icon size structures. Normally
46 * it's not needed to call this manually.
50 hildon_icon_sizes_init (void)
52 if (hildoniconsizes != NULL)
55 hildoniconsizes = &iis;
57 iis.icon_size_list = gtk_icon_size_register ("hildon_icon_size_list", 64, 64);
58 iis.icon_size_small = gtk_icon_size_register ("*icon_size_small", 26, 26);
59 iis.icon_size_toolbar = gtk_icon_size_register ("icon_size_toolbar", 26, 26);
60 iis.icon_size_widg = gtk_icon_size_register ("icon_size_widg", 26, 26);
61 iis.icon_size_widg_wizard = gtk_icon_size_register ("icon_size_widg_wizard", 50, 50);
62 iis.icon_size_grid = gtk_icon_size_register ("icon_size_grid", 64, 64);
63 iis.icon_size_big_note = gtk_icon_size_register ("icon_size_big_note", 50, 50);
64 iis.icon_size_note = gtk_icon_size_register ("icon_size_note", 26, 26);
65 iis.icon_size_statusbar = gtk_icon_size_register ("icon_size_statusbar", 40, 40);
66 iis.icon_size_indi_video_player_pre_roll = gtk_icon_size_register ("icon_size_indi_video_player_pre_roll", 64, 64);
67 iis.icon_size_indi_key_pad_lock = gtk_icon_size_register ("icon_size_indi_key_pad_lock", 50, 50);
68 iis.icon_size_indi_copy = gtk_icon_size_register ("icon_size_indi_copy", 64, 64);
69 iis.icon_size_indi_delete = gtk_icon_size_register ("icon_size_indi_delete", 64, 64);
70 iis.icon_size_indi_process = gtk_icon_size_register ("icon_size_indi_process", 64, 64);
71 iis.icon_size_indi_progressball = gtk_icon_size_register ("icon_size_indi_progressball", 64, 64);
72 iis.icon_size_indi_send = gtk_icon_size_register ("icon_size_indi_send", 64, 64);
73 iis.icon_size_indi_offmode_charging = gtk_icon_size_register ("icon_size_indi_offmode_charging", 50, 50);
74 iis.icon_size_indi_tap_and_hold = gtk_icon_size_register ("icon_size_indi_tap_and_hold", 34, 34);
75 iis.icon_size_indi_send_receive = gtk_icon_size_register ("icon_size_indi_send_receive", 64, 64);
76 iis.icon_size_indi_wlan_strength = gtk_icon_size_register ("icon_size_indi_wlan_strength", 64, 64);
78 iis.image_size_indi_nokia_logo = gtk_icon_size_register ("image_size_indi_nokia_logo", 64, 64);
79 iis.image_size_indi_startup_failed = gtk_icon_size_register ("image_size_indi_startup_failed", 64, 64);
80 iis.image_size_indi_startup_nokia_logo = gtk_icon_size_register ("image_size_indi_startup_nokia_logo", 64, 64);
81 iis.image_size_indi_nokia_hands = gtk_icon_size_register ("image_size_indi_nokia_hands", 64, 64);