summaryrefslogtreecommitdiff
path: root/src/drivers/PicoSDL
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/PicoSDL')
-rw-r--r--src/drivers/PicoSDL/Fl_PicoSDL_Graphics_Driver.H1
-rw-r--r--src/drivers/PicoSDL/Fl_PicoSDL_Screen_Driver.cxx40
2 files changed, 0 insertions, 41 deletions
diff --git a/src/drivers/PicoSDL/Fl_PicoSDL_Graphics_Driver.H b/src/drivers/PicoSDL/Fl_PicoSDL_Graphics_Driver.H
index 8f6dc79a6..3c4d6352a 100644
--- a/src/drivers/PicoSDL/Fl_PicoSDL_Graphics_Driver.H
+++ b/src/drivers/PicoSDL/Fl_PicoSDL_Graphics_Driver.H
@@ -39,7 +39,6 @@ protected:
// CGContextRef gc_;
public:
// virtual int has_feature(driver_feature mask) { return mask & NATIVE; }
- // virtual void gc(void *ctxt) {if (ctxt != gc_) global_gc(); gc_ = (CGContextRef)ctxt; }
// virtual void *gc() {return gc_;}
// char can_do_alpha_blending();
//
diff --git a/src/drivers/PicoSDL/Fl_PicoSDL_Screen_Driver.cxx b/src/drivers/PicoSDL/Fl_PicoSDL_Screen_Driver.cxx
index c1a96e2cc..7c7f83fa6 100644
--- a/src/drivers/PicoSDL/Fl_PicoSDL_Screen_Driver.cxx
+++ b/src/drivers/PicoSDL/Fl_PicoSDL_Screen_Driver.cxx
@@ -142,41 +142,10 @@ double Fl_PicoSDL_Screen_Driver::wait(double time_to_wait)
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Graphics_Driver.H>
-/*
- * The following code should not be here!
- * All this must be refactored into the driver system!
- */
-
-/*
-
- The following symbols are not found if we naively compile the core modules and
- no specific platform implementations. This list is a hint at all the functions
- and methods that probably need to be refactored into the driver system.
-
- Undefined symbols for architecture x86_64:
- */
-
-#if !defined(FL_DOXYGEN) // FIXME silence Doxygen warnings
-
-//const char *fl_filename_name(char const*) { return 0; }
-void fl_clipboard_notify_change() { }
-
-//Fl_Screen_Driver *Fl_Screen_Driver::newScreenDriver() { return 0; }
-//Fl_Graphics_Driver *Fl_Graphics_Driver::newMainGraphicsDriver() { return 0; }
-void Fl_Graphics_Driver::global_gc() { }
-//int Fl::dnd() { return 0; }
-//void Fl::copy(char const*, int, int, char const*) { }
-//void Fl::paste(Fl_Widget&, int, char const*) { }
-//void Fl::get_mouse(int&, int&) { }
void Fl::set_color(Fl_Color, unsigned int) { }
int Fl_X::set_cursor(Fl_Cursor) { return 0; }
int Fl_X::set_cursor(Fl_RGB_Image const*, int, int) { return 0; }
-//void Fl_Window::size_range_() { }
-//void Fl_Window::fullscreen_x() { }
-
-//void Fl_Window::fullscreen_off_x(int, int, int, int) { }
-
Window fl_xid(const Fl_Window* w)
{
Fl_X *temp = Fl_X::i(w);
@@ -188,15 +157,9 @@ Fl_X* Fl_X::make(Fl_Window *w)
return w->driver()->makeWindow();
}
-//void Fl_Window::label(char const*, char const*) { }
-//void Fl_Window::resize(int, int, int, int) { }
-//Fl_Window *Fl_Window::current_;
char fl_show_iconic;
Window fl_window;
-//void Fl_Image_Surface::translate(int x, int y) { }
-//void Fl_Image_Surface::untranslate() { }
-//void Fl::add_fd(int, void (*)(int, void*), void*)
void Fl::add_fd(int, Fl_FD_Handler, void*)
{
}
@@ -210,9 +173,6 @@ void Fl_X::flush()
w->flush();
}
-#endif // !defined(FL_DOXYGEN) // FIXME silence Doxygen warnings
-
-
//
// End of "$Id: Fl_PicoSDL_Screen_Driver.cxx 11253 2016-03-01 00:54:21Z matt $".
//