17#if !defined(FL_PLATFORM_H)
18# error "Never use <FL/wayland.H> directly; include <FL/platform.H> instead."
27typedef struct _cairo cairo_t;
32extern FL_EXPORT
struct wl_surface *
fl_wl_surface(
struct wld_window *xid);
46typedef void *EGLContext;
56 typedef struct wld_window *Window;
This widget produces an actual window.
Definition Fl_Window.H:55
EGLContext fl_wl_glcontext(GLContext rc)
Returns the EGLContext corresponding to the given GLContext.
Fl_Window * fl_wl_find(struct wld_window *)
Returns the Fl_Window corresponding to a given the platform-specific window reference.
struct wl_surface * fl_wl_surface(struct wld_window *xid)
Returns the wl_surface associated to a shown window.
struct wld_window * fl_wl_xid(const Fl_Window *win)
Returns a platform-specific reference associated to a shown window.
cairo_t * fl_wl_gc()
Returns the cairo context associated to the current window or Fl_Image_Surface.
struct wl_compositor * fl_wl_compositor()
Returns the wl_compositor of the current Wayland session.
struct wl_display * fl_wl_display()
Returns the Wayland display in use.
Definitions of functions specific to the X11 platform.