summaryrefslogtreecommitdiff
path: root/FL/x.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-03-26 14:36:11 +0000
committerManolo Gouy <Manolo>2016-03-26 14:36:11 +0000
commit915d6c643a8b4e31ea79fdad81761d26b42530f5 (patch)
tree8756c72f988596beb8e55382f40ff04142816057 /FL/x.H
parente86e4a6ab0e3ad8ccbb694909383f5d72b9b4c92 (diff)
Isolate the definition of the 3 public, OS-dependent types (Fl_Offscreen, Fl_Region, Fl_Bitmask).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11432 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/x.H')
-rw-r--r--FL/x.H9
1 files changed, 2 insertions, 7 deletions
diff --git a/FL/x.H b/FL/x.H
index 7cc5b4a77..3acb5a52d 100644
--- a/FL/x.H
+++ b/FL/x.H
@@ -48,8 +48,8 @@
# endif
# include <X11/Xatom.h>
# include "Fl_Window.H"
-// Mirror X definition of Region to Fl_Region, for portability...
-typedef Region Fl_Region;
+
+#include <src/drivers/Posix/Fl_Posix_System_Driver.H>
FL_EXPORT void fl_open_display();
FL_EXPORT void fl_open_display(Display*);
@@ -75,11 +75,6 @@ FL_EXPORT int fl_handle(const XEvent&);
extern FL_EXPORT const XEvent* fl_xevent;
extern FL_EXPORT ulong fl_event_time;
-typedef ulong Fl_Offscreen;
-
-// Bitmap masks
-typedef ulong Fl_Bitmask;
-
extern FL_EXPORT Fl_Bitmask fl_create_bitmask(int w, int h, const uchar *data);
extern FL_EXPORT Fl_Bitmask fl_create_alphamask(int w, int h, int d, int ld, const uchar *data);
extern FL_EXPORT void fl_delete_bitmask(Fl_Bitmask bm);