diff options
| author | Manolo Gouy <Manolo> | 2011-02-02 12:42:47 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-02-02 12:42:47 +0000 |
| commit | 18156dfb30a291ca99422bd1bbebcb390bf9d570 (patch) | |
| tree | 6687d9dc49ab32d4f44f5d3725b58704ba195831 /src/Fl_x.cxx | |
| parent | bb29437427d44ee47ab1039f0bab3b66fdb40b62 (diff) | |
Removed global variable fl_surface that was not very useful because equivalent
to Fl_Surface_Device::surface().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8360 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
| -rw-r--r-- | src/Fl_x.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index a00b4ac13..9215b2256 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -54,8 +54,8 @@ static Fl_Xlib_Graphics_Driver fl_xlib_driver; static Fl_Display_Device fl_xlib_display(&fl_xlib_driver); FL_EXPORT Fl_Graphics_Driver *fl_graphics_driver = (Fl_Graphics_Driver*)&fl_xlib_driver; // the current target device of graphics operations -FL_EXPORT Fl_Surface_Device *fl_surface = (Fl_Surface_Device*)&fl_xlib_display; // the current target surface of graphics operations -Fl_Display_Device *Fl_Display_Device::display_device() { return &fl_xlib_display; }; +Fl_Surface_Device* Fl_Surface_Device::_surface = (Fl_Surface_Device*)&fl_xlib_display; // the current target surface of graphics operations +Fl_Display_Device *Fl_Display_Device::_display = &fl_xlib_display;// the platform display //////////////////////////////////////////////////////////////// // interface to poll/select call: |
