diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2018-03-10 13:17:41 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2018-03-10 13:17:41 +0000 |
| commit | 5591ba811aab2fc67255a4bc469e86ecc1fad37d (patch) | |
| tree | 5bc79386816bd7067c65b3e36ffc81979e036386 /FL/platform_types.h | |
| parent | 2adaadbd944fa453d4cd6500b633e6f0f36ccae0 (diff) | |
Android: adding and fixing to the graphics clipping code
Android has no classic window manager, so FLTK has to
make sure that popup windows, dialog boxes and multi
window interfaces work as expectd.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/platform_types.h')
| -rw-r--r-- | FL/platform_types.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/FL/platform_types.h b/FL/platform_types.h index 286fc68d1..9f6ed1e44 100644 --- a/FL/platform_types.h +++ b/FL/platform_types.h @@ -114,8 +114,11 @@ struct dirent {char d_name[1];}; #elif defined(__ANDROID__) -// see: src/driver/Android/Fl_Android_Graphics_Driver_region.cxx -typedef struct Fl_Clip_Rect *Fl_Region; +#ifdef __cplusplus +typedef class Fl_Rect_Region *Fl_Region; +#else +typedef struct Fl_Rect_Region *Fl_Region; +#endif // TODO: the types below have not yet been ported typedef unsigned long Fl_Offscreen; |
