2
* Copyright © 2007-2009 daniel g. siegel <dgsiegel@gnome.org>
3
* Copyright © 2007,2008 Jaap Haitsma <jaap@haitsma.org>
5
* Licensed under the GNU General Public License Version 2
7
* This program is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 2 of the License, or
10
* (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
21
#ifndef __CHEESE_EFFECT_CHOOSER_H__
22
#define __CHEESE_EFFECT_CHOOSER_H__
25
#include <cheese-camera.h>
29
#define CHEESE_TYPE_EFFECT_CHOOSER (cheese_effect_chooser_get_type ())
30
#define CHEESE_EFFECT_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CHEESE_TYPE_EFFECT_CHOOSER, \
32
#define CHEESE_EFFECT_CHOOSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CHEESE_TYPE_EFFECT_CHOOSER, \
33
CheeseEffectChooserClass))
34
#define CHEESE_IS_EFFECT_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CHEESE_TYPE_EFFECT_CHOOSER))
35
#define CHEESE_IS_EFFECT_CHOOSER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CHEESE_TYPE_EFFECT_CHOOSER))
36
#define CHEESE_EFFECT_CHOOSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CHEESE_TYPE_EFFECT_CHOOSER, \
37
CheeseEffectChooserClass))
41
GtkDrawingArea parent;
42
} CheeseEffectChooser;
46
GtkDrawingAreaClass parent_class;
47
} CheeseEffectChooserClass;
50
GType cheese_effect_chooser_get_type (void);
51
GtkWidget *cheese_effect_chooser_new (char *selected_effects);
53
CheeseCameraEffect cheese_effect_chooser_get_selection (CheeseEffectChooser *effect_chooser);
54
char * cheese_effect_chooser_get_selection_string (CheeseEffectChooser *effect_chooser);
55
void cheese_effect_chooser_unselect_all (CheeseEffectChooser *effect_chooser);
59
#endif /* __CHEESE_EFFECT_CHOOSER_H__ */