LMMS
Loading...
Searching...
No Matches
ctl_combobox.h
Go to the documentation of this file.
1/* Calf DSP Library
2 * A combo box widget
3 *
4 * Copyright (C) 2008-2015 Krzysztof Foltman, Torben Hohn, Markus
5 * Schmidt and others
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version.
11 *
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 GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General
18 * Public License along with this program; if not, write to the
19 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02111-1307, USA.
21 */
22
23#ifndef _USE_MATH_DEFINES
24#define _USE_MATH_DEFINES
25#endif
26#ifndef __CALF_CTL_COMBOBOX
27#define __CALF_CTL_COMBOBOX
28
29#include <cairo/cairo.h>
30#include <gtk/gtk.h>
31#include <gtk/gtkcombobox.h>
32//#include <calf/giface.h>
33#include <calf/drawingutils.h>
34#include <calf/gui.h>
35
36G_BEGIN_DECLS
37
38
40
41
42#define CALF_TYPE_COMBOBOX (calf_combobox_get_type())
43#define CALF_COMBOBOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CALF_TYPE_COMBOBOX, CalfCombobox))
44#define CALF_IS_COMBOBOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CALF_TYPE_COMBOBOX))
45#define CALF_COMBOBOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CALF_TYPE_COMBOBOX, CalfComboboxClass))
46#define CALF_IS_COMBOBOX_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((klass), CALF_TYPE_COMBOBOX))
47
49{
50 GtkComboBox parent;
51 GdkPixbuf *arrow;
52};
53
55{
56 GtkComboBoxClass parent_class;
57};
58
59extern void calf_combobox_set_arrow(CalfCombobox *self, GdkPixbuf *arrow);
60extern GtkWidget *calf_combobox_new();
61extern GType calf_combobox_get_type();
62
63
64G_END_DECLS
65
66#endif
GType calf_combobox_get_type()
Definition ctl_combobox.cpp:149
void calf_combobox_set_arrow(CalfCombobox *self, GdkPixbuf *arrow)
Definition ctl_combobox.cpp:107
GtkWidget * calf_combobox_new()
Definition ctl_combobox.cpp:34
Definition ctl_combobox.h:55
GtkComboBoxClass parent_class
Definition ctl_combobox.h:56
Definition ctl_combobox.h:49
GdkPixbuf * arrow
Definition ctl_combobox.h:51
GtkComboBox parent
Definition ctl_combobox.h:50