From ce71c4b679b7afdb07de1133d0c600051e2601f6 Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Tue, 22 May 2018 17:00:27 +0000 Subject: Add Fl::screen_scale(int) function to get the scaling factor value of a screen. This allows to keep class Fl_Screen_Driver away from the public API. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12926 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Window.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Fl_Window.cxx') diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx index c34988cf3..f8b25042c 100644 --- a/src/Fl_Window.cxx +++ b/src/Fl_Window.cxx @@ -632,7 +632,7 @@ void Fl_Window::size_range(int minw, int minh, int maxw, int maxh, int dw, int d } /** The number of the screen containing the mapped window */ -inline int Fl_Window::screen_num() { +int Fl_Window::screen_num() { return pWindowDriver->screen_num(); } -- cgit v1.2.3