summaryrefslogtreecommitdiff
path: root/src/Fl_x.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-02-13 12:57:00 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-02-13 12:57:00 +0000
commit5d1df0e789c794b8040c5db0d84b03ae2b42fd8d (patch)
tree4e99ebb978d30bf6c7138181489dd37ce435c310 /src/Fl_x.cxx
parent8deac1e6baf7a016aabd3b6cb5ccffd7f09263cd (diff)
Details on PORTME items. Move fl_parse_color() to screen drivers.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11163 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_x.cxx')
-rw-r--r--src/Fl_x.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx
index 8409b893d..16f3816b5 100644
--- a/src/Fl_x.cxx
+++ b/src/Fl_x.cxx
@@ -16,9 +16,14 @@
// http://www.fltk.org/str.php
//
+// make this available on all platforms to make code maintainability easier
+class Fl_Widget *fl_selection_requestor;
+
#ifdef WIN32
//# include "Fl_win32.cxx"
-#elif defined(__APPLE__) // PORTME: platform window driver
+#elif defined(__APPLE__) // PORTME: Fl_System_Driver - platform window driver
+ // PORTME: Fl_Screen_Driver
+ // PORTME: Fl_Window_Driver
//# include "Fl_mac.cxx" // now Fl_cocoa.mm
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: implement the FLTK core in its own file"
@@ -799,7 +804,6 @@ void Fl::get_mouse(int &xx, int &yy) {
////////////////////////////////////////////////////////////////
// Code used for paste and DnD into the program:
-Fl_Widget *fl_selection_requestor;
char *fl_selection_buffer[2];
int fl_selection_length[2];
const char * fl_selection_type[2];