2 * This library is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Library General Public
4 * License as published by the Free Software Foundation; either
5 * version 2 of the License, or (at your option) any later version.
7 * This library is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Library General Public License for more details.
12 * You should have received a copy of the GNU Library General Public
13 * License along with this library; if not, write to the
14 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
15 * Boston, MA 02111-1307, USA.
18 #ifndef GDK_DISPLAY_DFB_H
19 #define GDK_DISPLAY_DFB_H
22 #include <gdk/gdkdisplay.h>
23 #include <gdk/gdkkeys.h>
27 typedef struct _GdkDisplayDFB GdkDisplayDFB;
28 typedef struct _GdkDisplayDFBClass GdkDisplayDFBClass;
31 #define GDK_TYPE_DISPLAY_DFB (gdk_display_dfb_get_type())
32 #define GDK_DISPLAY_DFB(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DISPLAY_DFB, GdkDisplayDFB))
33 #define GDK_DISPLAY_DFB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DISPLAY_DFB, GdkDisplayDFBClass))
34 #define GDK_IS_DISPLAY_DFB(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DISPLAY_DFB))
35 #define GDK_IS_DISPLAY_DFB_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DISPLAY_DFB))
36 #define GDK_DISPLAY_DFB_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_DISPLAY_DFB, GdkDisplayDFBClass))
42 IDirectFBDisplayLayer *layer;
43 IDirectFBEventBuffer *buffer;
44 IDirectFBInputDevice *keyboard;
48 struct _GdkDisplayDFBClass
50 GdkDisplayClass parent;
53 GType gdk_display_dfb_get_type (void);
55 IDirectFBSurface * gdk_display_dfb_create_surface (GdkDisplayDFB *display,int format,int width, int height);
59 #endif /* GDK_DISPLAY_DFB_H */