diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-13 10:02:40 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-04-13 10:02:40 +0200 |
| commit | caaa11a96f8448bd78cb270e4861f5e9ff1a6763 (patch) | |
| tree | 1d3e10cce9d26b62ca053f8d911dcd81d098942c /src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx | |
| parent | e6c9deb4a4fca8e7f0241e74ec242213628de6b6 (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 'src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx')
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx index d9eedb317..9b26f8439 100644 --- a/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx +++ b/src/drivers/Wayland/Fl_Wayland_Graphics_Driver.cxx @@ -208,12 +208,3 @@ void Fl_Wayland_Graphics_Driver::copy_offscreen(int x, int y, int w, int h, Fl_O cairo_surface_destroy(surf); cairo_restore(cairo_); } - - -void Fl_Wayland_Graphics_Driver::gc(void *off) {} // equivalent is done by set_buffer() - - -void *Fl_Wayland_Graphics_Driver::gc() { - return buffer_; -} - |
