From 5892993cbcf77e322f51475820d19f8307375df7 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 26 Jan 2016 20:17:47 +0000 Subject: Preliminary commit of porting Xlib drivers to the new naming scheme git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11053 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_rect.cxx | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'src/fl_rect.cxx') diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx index 0676bb8f6..39af2e20c 100644 --- a/src/fl_rect.cxx +++ b/src/fl_rect.cxx @@ -65,31 +65,6 @@ Fl_Region Fl_Graphics_Driver::clip_region() { -//////////////////////////////////////////////////////////////// - -/* - Matt: I wrote individual methods for every class. They are virtual, so the - correct function is called, depending on the active driver. - - By having individual methods, multiple drivers can co-exist, for example - Quartz, OpenGL, and a printer driver. - - The individual implementations should eventually go into files that are - included into this file, based on the configuration, for example: - - src/cfg_gfx/quartz_rect.cxx - src/cfg_gfx/gdi_rect.cxx - src/cfg_gfx/xlib_rect.cxx - - Porting the graphics system to a new platform then requires to copy one of - these files and implement the virtual functions. point() is the only function - that *must* be implemented when deriving from 'Fl_Minimal_Graphics_Driver" - (which is still to be written) - */ - -//////////////////////////////////////////////////////////////// - - #ifdef FL_CFG_GFX_QUARTZ # include "cfg_gfx/quartz_rect.cxx" @@ -112,7 +87,7 @@ Fl_Region Fl_Graphics_Driver::clip_region() { #ifdef FL_CFG_GFX_XLIB -# include "cfg_gfx/xlib_rect.cxx" +# include "drivers/Xlib/Fl_Xlib_Graphics_Driver_rect.cxx" #endif -- cgit v1.2.3