1
/*
2
 * This file is a part of hildon
3
 *
4
 * Copyright (C) 2005, 2006 Nokia Corporation, all rights reserved.
5
 *
6
 * Author: Kuisma Salonen <kuisma.salonen@nokia.com>
7
 * Contact: Rodrigo Novo <rodrigo.novo@nokia.com>
8
 *
9
 * This library is free software; you can redistribute it and/or
10
 * modify it under the terms of the GNU Lesser General Public License
11
 * as published by the Free Software Foundation; version 2.1 of
12
 * the License, or (at your option) any later version.
13
 *
14
 * This library is distributed in the hope that it will be useful, but
15
 * WITHOUT ANY WARRANTY; without even the implied warranty of
16
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
 * Lesser General Public License for more details.
18
 *
19
 * You should have received a copy of the GNU Lesser General Public
20
 * License along with this library; if not, write to the Free Software
21
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22
 * 02110-1301 USA
23
 *
24
 */
25
26
#ifndef                                         HILDON_DISABLE_DEPRECATED
27
28
#ifndef                                         __HILDON_COLOR_CHOOSER_DIALOG_H__
29
#define                                         __HILDON_COLOR_CHOOSER_DIALOG_H__
30
31
#include                                        <gtk/gtk.h>
32
33
G_BEGIN_DECLS
34
35
#define                                         HILDON_TYPE_COLOR_CHOOSER_DIALOG \
36
                                                (hildon_color_chooser_dialog_get_type())
37
38
#define                                         HILDON_COLOR_CHOOSER_DIALOG(obj) \
39
                                                (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
40
                                                HILDON_TYPE_COLOR_CHOOSER_DIALOG, \
41
                                                HildonColorChooserDialog))
42
43
#define                                         HILDON_COLOR_CHOOSER_DIALOG_CLASS(klass) \
44
                                                (G_TYPE_CHECK_CLASS_CAST ((klass), \
45
                                                HILDON_TYPE_COLOR_CHOOSER_DIALOG, \
46
                                                HildonColorChooserDialogClass))
47
48
#define                                         HILDON_IS_COLOR_CHOOSER_DIALOG(obj) \
49
                                                (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
50
                                                HILDON_TYPE_COLOR_CHOOSER_DIALOG))
51
52
typedef struct                                  _HildonColorChooserDialog HildonColorChooserDialog;
53
54
typedef struct                                  _HildonColorChooserDialogClass HildonColorChooserDialogClass;
55
56
struct                                          _HildonColorChooserDialog
57
{
58
    GtkDialog parent;
59
};
60
61
struct                                          _HildonColorChooserDialogClass 
62
{
63
    GtkDialogClass parent_class;
64
};
65
66
GType G_GNUC_CONST
67
hildon_color_chooser_dialog_get_type            (void);
68
69
GtkWidget*
70
hildon_color_chooser_dialog_new                 (void);
71
72
void
73
hildon_color_chooser_dialog_set_color           (HildonColorChooserDialog *dialog, 
74
                                                 GdkColor *color);
75
76
void
77
hildon_color_chooser_dialog_get_color           (HildonColorChooserDialog *dialog,
78
                                                 GdkColor *color);
79
80
G_END_DECLS
81
82
#endif                                          /* __HILDON_COLOR_CHOOSER_DIALOG_H__ */
83
84
#endif                                          /* HILDON_DISABLE_DEPRECATED */