diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-04 15:40:29 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-03-04 15:41:00 +0100 |
| commit | 3718effc431f5622a23c55b254153efdfe4e72c4 (patch) | |
| tree | d8a805870c6a3785022e2f52f0c3715410e29a37 /FL/platform_types.h | |
| parent | a773fdc44bfb818f1830e9e48ba765881e68c942 (diff) | |
Add the Wayland platform to FLTK 1.4
Diffstat (limited to 'FL/platform_types.h')
| -rw-r--r-- | FL/platform_types.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/FL/platform_types.h b/FL/platform_types.h index 51963d6e4..5ea11f7f4 100644 --- a/FL/platform_types.h +++ b/FL/platform_types.h @@ -1,5 +1,5 @@ /* - * Copyright 2016-2018 by Bill Spitzak and others. + * Copyright 2016-2022 by Bill Spitzak and others. * * This library is free software. Distribution and use rights are outlined in * the file "COPYING" which should have been included with this file. If this @@ -116,6 +116,17 @@ typedef struct HGLRC__ *GLContext; struct dirent {char d_name[1];}; #endif +#elif defined(FLTK_USE_WAYLAND) +typedef struct fl_wld_buffer *Fl_Offscreen; /**< an offscreen drawing buffer */ +typedef struct _cairo_pattern* Fl_Bitmask; +typedef struct flWaylandRegion* Fl_Region; +typedef int FL_SOCKET; /**< socket or file descriptor */ +typedef void *EGLContext; +typedef EGLContext GLContext; +#include <sys/stat.h> +#include <sys/types.h> +#include <dirent.h> + #elif defined(FLTK_USE_X11) typedef unsigned long Fl_Offscreen; |
