1
/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
4
* Copyright (C) Philippe Rouquier 2008 <bonfire-app@wanadoo.fr>
6
* brasero is free software: you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License as published by the
8
* Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
11
* brasero is distributed in the hope that it will be useful, but
12
* WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
* See the GNU General Public License for more details.
16
* You should have received a copy of the GNU General Public License along
17
* with this program. If not, see <http://www.gnu.org/licenses/>.
20
#ifndef _BRASERO_TOOL_COLOR_PICKER_H_
21
#define _BRASERO_TOOL_COLOR_PICKER_H_
23
#include <glib-object.h>
29
#define BRASERO_TYPE_TOOL_COLOR_PICKER (brasero_tool_color_picker_get_type ())
30
#define BRASERO_TOOL_COLOR_PICKER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BRASERO_TYPE_TOOL_COLOR_PICKER, BraseroToolColorPicker))
31
#define BRASERO_TOOL_COLOR_PICKER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BRASERO_TYPE_TOOL_COLOR_PICKER, BraseroToolColorPickerClass))
32
#define BRASERO_IS_TOOL_COLOR_PICKER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BRASERO_TYPE_TOOL_COLOR_PICKER))
33
#define BRASERO_IS_TOOL_COLOR_PICKER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BRASERO_TYPE_TOOL_COLOR_PICKER))
34
#define BRASERO_TOOL_COLOR_PICKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BRASERO_TYPE_TOOL_COLOR_PICKER, BraseroToolColorPickerClass))
36
typedef struct _BraseroToolColorPickerClass BraseroToolColorPickerClass;
37
typedef struct _BraseroToolColorPicker BraseroToolColorPicker;
39
struct _BraseroToolColorPickerClass
41
GtkToolButtonClass parent_class;
44
struct _BraseroToolColorPicker
46
GtkToolButton parent_instance;
49
GType brasero_tool_color_picker_get_type (void) G_GNUC_CONST;
52
brasero_tool_color_picker_new (void);
55
brasero_tool_color_picker_set_text (BraseroToolColorPicker *picker,
58
brasero_tool_color_picker_set_color (BraseroToolColorPicker *picker,
61
brasero_tool_color_picker_get_color (BraseroToolColorPicker *picker,
66
#endif /* _BRASERO_TOOL_COLOR_PICKER_H_ */