summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-03-08 00:35:00 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-03-08 00:35:00 +0000
commit00750d4c333a304366a1adbd8780f9f44c9cdafb (patch)
treea95aad533893c6f7ca4dad9e2145e0925ac0192a /FL
parentb73bf4a73eeda279042883139106eacbe4b3d791 (diff)
Add very basic graphics support to PicoSDL.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Window.H1
-rw-r--r--FL/Fl_Window_Driver.H3
2 files changed, 4 insertions, 0 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H
index 659495f32..ce9582475 100644
--- a/FL/Fl_Window.H
+++ b/FL/Fl_Window.H
@@ -71,6 +71,7 @@ class FL_EXPORT Fl_Window : public Fl_Group {
friend class Fl_X;
friend class Fl_Window_Driver;
+ friend class Fl_PicoSDL_Window_Driver;
Fl_X *i; // points at the system-specific stuff, but exists only after the window is mapped
Fl_Window_Driver *pWindowDriver; // points at the system-specific stuff at window creatino time
diff --git a/FL/Fl_Window_Driver.H b/FL/Fl_Window_Driver.H
index 9f938606f..e252d22bf 100644
--- a/FL/Fl_Window_Driver.H
+++ b/FL/Fl_Window_Driver.H
@@ -41,6 +41,9 @@ public:
virtual ~Fl_Window_Driver();
static Fl_Window_Driver *newWindowDriver(Fl_Window *);
+ virtual Fl_X *makeWindow() { /* FIXME: move Fl_X::make(Fl_Window*) here for OSX, MSWin, and X11 */ return 0; }
+ virtual void flush() { /* FIXME: move Fl_X::flush() here for OSX, MSWin, and X11 */ }
+
virtual void take_focus() { }
virtual int double_flush(int eraseoverlay);
virtual void destroy_double_buffer();