From 5d1df0e789c794b8040c5db0d84b03ae2b42fd8d Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sat, 13 Feb 2016 12:57:00 +0000 Subject: 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 --- src/Fl_grab.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_grab.cxx') diff --git a/src/Fl_grab.cxx b/src/Fl_grab.cxx index 38e51d368..22d49bbbd 100644 --- a/src/Fl_grab.cxx +++ b/src/Fl_grab.cxx @@ -36,7 +36,7 @@ extern void fl_fix_focus(); // in Fl.cxx // see where and how this is used. extern HWND fl_capture; -#elif defined(__APPLE__) // PORTME: platform focus grabbing +#elif defined(__APPLE__) // PORTME: Fl_Screen_Driver - platform focus grabbing extern void *fl_capture; #elif defined(FL_PORTING) @@ -61,7 +61,7 @@ void Fl::grab(Fl_Window* win) { #ifdef WIN32 SetActiveWindow(fl_capture = fl_xid(first_window())); SetCapture(fl_capture); -#elif defined(__APPLE__) // PORTME: platform focus grabbing +#elif defined(__APPLE__) // PORTME: Fl_Screen_Driver - platform focus grabbing fl_capture = Fl_X::i(first_window())->xid; Fl_X::i(first_window())->set_key_window(); #elif defined(FL_PORTING) @@ -92,7 +92,7 @@ void Fl::grab(Fl_Window* win) { #ifdef WIN32 fl_capture = 0; ReleaseCapture(); -#elif defined(__APPLE__) // PORTME: platform focus grabbing +#elif defined(__APPLE__) // PORTME: Fl_Screen_Driver - platform focus grabbing fl_capture = 0; #elif defined(FL_PORTING) # pragma message "FL_PORTING: implement event grabbing" -- cgit v1.2.3