LMMS
Loading...
Searching...
No Matches
ctl_notebook.h
Go to the documentation of this file.
1/* Calf DSP Library
2 * A notebook 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_NOTEBOOK
27#define __CALF_CTL_NOTEBOOK
28
29#include <cairo/cairo.h>
30#include <gtk/gtk.h>
31#include <gtk/gtknotebook.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_NOTEBOOK (calf_notebook_get_type())
43#define CALF_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CALF_TYPE_NOTEBOOK, CalfNotebook))
44#define CALF_IS_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CALF_TYPE_NOTEBOOK))
45#define CALF_NOTEBOOK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CALF_TYPE_NOTEBOOK, CalfNotebookClass))
46#define CALF_IS_NOTEBOOK_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE ((klass), CALF_TYPE_NOTEBOOK))
47
49{
50 GtkNotebook parent;
51 GdkPixbuf *screw;
52};
53
55{
56 GtkNotebookClass parent_class;
57};
58
59extern GtkWidget *calf_notebook_new();
60extern GType calf_notebook_get_type();
61extern void calf_notebook_set_pixbuf(CalfNotebook *self, GdkPixbuf *image);
62
63G_END_DECLS
64
65#endif
GType calf_notebook_get_type()
Definition ctl_notebook.cpp:216
void calf_notebook_set_pixbuf(CalfNotebook *self, GdkPixbuf *image)
Definition ctl_notebook.cpp:193
GtkWidget * calf_notebook_new()
Definition ctl_notebook.cpp:60
Definition ctl_notebook.h:55
GtkNotebookClass parent_class
Definition ctl_notebook.h:56
Definition ctl_notebook.h:49
GdkPixbuf * screw
Definition ctl_notebook.h:51
GtkNotebook parent
Definition ctl_notebook.h:50