diff options
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Graphics_Driver.H | 1 | ||||
| -rw-r--r-- | FL/fl_utf8.h | 3 | ||||
| -rw-r--r-- | FL/x.H | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index 45e008a6a..1b5452bed 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -136,6 +136,7 @@ public: Fl_Graphics_Driver(); virtual ~Fl_Graphics_Driver() { if (p) free(p); } public: + virtual char can_do_alpha_blending() { return 0; } // --- implementation is in src/fl_rect.cxx which includes src/drivers/xxx/Fl_xxx_Graphics_Driver_rect.cxx virtual void point(int x, int y) = 0; virtual void rect(int x, int y, int w, int h) = 0; diff --git a/FL/fl_utf8.h b/FL/fl_utf8.h index b19f2a962..2b283400d 100644 --- a/FL/fl_utf8.h +++ b/FL/fl_utf8.h @@ -57,6 +57,9 @@ # include <wchar.h> # include <sys/stat.h> # define xchar wchar_t +#elif defined(ANDROID) +# include <wchar.h> +# define xchar wchar_t #elif defined(FL_PORTING) # pragma message "FL_PORTING: include utf8 support files and define utf8 types" # define xchar unsigned short @@ -30,6 +30,8 @@ # include "win32.H" # elif defined(__APPLE__) # include "mac.H" +# elif defined(ANDROID) +# error "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" |
