mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
73e845eeab
* gdk/gdkwindow.h, gdk/gdkpixmap.h, gdk/x11/gdkx.h, gdk/x11/gdkwindow-x11.c, gdk/x11/gdkpixmap-x11.c, gdk/win32/gdkwin32.h, gdk/win32/gdkwindow-win32.c, gdk/win32/gdkpixmap-win32.c, gdk/linux-fb/gdkfb.h, gdk/linux-fb/gdkwindow-fb.c, gdk/linux-fb/gdkpixmap-fb.c: Add gdk_window_lookup, gdk_window_foreign_new, gdk_pixmap_lookup and gkd_pixmap_foreign_new to the gdk frontend api. (#62063) * gtk/gtkselection.c: Remove gdk backend dependencies. (#62063)
44 lines
1.1 KiB
C
44 lines
1.1 KiB
C
#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_DISPLAY() gdk_display
|
|
|
|
#define gdk_font_lookup(xid) ((GdkFont*) (xid))
|
|
|
|
typedef enum {
|
|
GDK_FB_0_DEGREES,
|
|
GDK_FB_90_DEGREES,
|
|
GDK_FB_180_DEGREES,
|
|
GDK_FB_270_DEGREES
|
|
} GdkFBAngle;
|
|
|
|
#define GDK_FB_USE_CHILD_SHAPE ((void *)1)
|
|
|
|
/* FB specific functions: */
|
|
|
|
typedef gboolean (*GdkWindowChildChanged) (GdkWindow *window,
|
|
gint x, gint y,
|
|
gint width, gint height,
|
|
gpointer user_data);
|
|
typedef void (*GdkWindowChildGetPos) (GdkWindow *window,
|
|
gint *x, gint *y,
|
|
gpointer user_data);
|
|
|
|
void gdk_fb_window_set_child_handler (GdkWindow *window,
|
|
GdkWindowChildChanged changed,
|
|
GdkWindowChildGetPos get_pos,
|
|
gpointer user_data);
|
|
|
|
void gdk_fb_set_rotation (GdkFBAngle angle);
|
|
|
|
#endif /* GDKFB_H */
|