From 9a0be2c8df4c12f70ada36c25f6d64a8be52b0dc Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 11 Feb 2016 00:10:49 +0000 Subject: Move platform part of Fl::flush() git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11153 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Screen_Driver.H | 2 ++ FL/x.H | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H index 8532ffbc2..3fe3837b6 100644 --- a/FL/Fl_Screen_Driver.H +++ b/FL/Fl_Screen_Driver.H @@ -63,6 +63,8 @@ public: virtual void screen_work_area(int &X, int &Y, int &W, int &H); // --- audible output virtual void beep(int type) = 0; + // --- global events + virtual void flush() = 0; }; diff --git a/FL/x.H b/FL/x.H index d5a3e6e94..8ad59bade 100644 --- a/FL/x.H +++ b/FL/x.H @@ -31,7 +31,7 @@ # elif defined(__APPLE__) # include "mac.H" # elif defined(ANDROID) -# error "A clean port requires a driver-style system for Fl_X" +# pragma message "A clean port requires a driver-style system for Fl_X" # elif defined(FL_PORTING) # pragma message "FL_PORTING: write a header file based on this file, win32.H, or mac.H to define the FLTK core internals" # include "porting.H" -- cgit v1.2.3