gdkfb.h 626 Bytes
Newer Older
Elliot Lee's avatar
Elliot Lee committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef GDKFB_H
#define GDKFB_H 1

#include "gdk/gdkprivate.h"

typedef struct _GdkFBDisplay GdkFBDisplay;
typedef struct _GdkFBWindow GdkFBWindow;

extern GdkFBWindow *gdk_root_window;
extern GdkFBDisplay *gdk_display;

#define GDK_ROOT_WINDOW()             gdk_root_window
#define GDK_ROOT_PARENT()             ((GdkWindow *)gdk_parent_root)
#define GDK_DISPLAY()                 gdk_display

extern const char *gdk_progclass;

Elliot Lee's avatar
Elliot Lee committed
18 19 20 21 22
#define gdk_window_lookup(xid)	   (xid)
#define gdk_pixmap_lookup(xid)	   (xid)
#define gdk_font_lookup(xid)	   (xid)
#define gdk_window_foreign_new(xid) gdk_window_ref(xid)

Elliot Lee's avatar
Elliot Lee committed
23
#endif /* GDKFB_H */