summaryrefslogtreecommitdiff
path: root/FL/wayland.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-04-13 10:02:40 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2023-04-13 10:02:40 +0200
commitcaaa11a96f8448bd78cb270e4861f5e9ff1a6763 (patch)
tree1d3e10cce9d26b62ca053f8d911dcd81d098942c /FL/wayland.H
parente6c9deb4a4fca8e7f0241e74ec242213628de6b6 (diff)
Standardize API to "graphics context" across platforms
Rename fl_wl_cairo() to fl_wl_gc() Add function cairo_t* fl_cairo_gc() under OPTION_USE_CAIRO
Diffstat (limited to 'FL/wayland.H')
-rw-r--r--FL/wayland.H2
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/wayland.H b/FL/wayland.H
index 9d2b48925..34098a9d5 100644
--- a/FL/wayland.H
+++ b/FL/wayland.H
@@ -35,7 +35,7 @@ extern FL_EXPORT struct wld_window *fl_wl_xid(const Fl_Window *win);
/** Returns the Fl_Window corresponding to a given the platform-specific window reference */
extern FL_EXPORT Fl_Window *fl_wl_find(struct wld_window *);
/** Returns the cairo context associated to the current window or Fl_Image_Surface */
-extern FL_EXPORT cairo_t *fl_wl_cairo();
+extern FL_EXPORT cairo_t *fl_wl_gc();
/** Returns the wl_compositor of the current Wayland session.
This allows, for example, to create a wl_surface with
\code