From 8b7f7c78b2595b22aac6e3269bb1fd4b1a213420 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 12 May 2018 09:36:36 +0000 Subject: Remove public member function Fl_Window_Driver *Fl_Window::driver() so class Fl_Window_Driver is not in FLTK public API. This function is replaced by static Fl_Window_Driver* Fl_Window_Driver::(const Fl_Window *win). The purpose is to have class Fl_Window_Driver outside from FLTK ABI. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12915 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/src/drawing.dox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation/src') diff --git a/documentation/src/drawing.dox b/documentation/src/drawing.dox index f8b2fd903..666fe541d 100644 --- a/documentation/src/drawing.dox +++ b/documentation/src/drawing.dox @@ -61,7 +61,7 @@ expressed in FLTK units by the current value of the scale factor for the screen in use and obtains quantities in drawing units. The current scale factor value, for an Fl_Window named \e window, is given by \code -int nscreen = window->driver()->screen_num(); // the screen where window is mapped +int nscreen = window->screen_num(); // the screen where window is mapped float s = Fl::screen_driver()->scale(nscreen); // this screen's scale factor \endcode One drawing unit generally corresponds to one screen pixel... -- cgit v1.2.3