From cc593f6b647bb7aa0c283b77dc90527300becbef Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 31 Mar 2005 16:01:24 +0000 Subject: Add Fl::screen_count() and Fl::screen_xywh() APIs to support multi- screen displays (currently only X11 support with Xinerama) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4223 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl.H | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl.H b/FL/Fl.H index 2ef363588..cde76a4f9 100644 --- a/FL/Fl.H +++ b/FL/Fl.H @@ -20,7 +20,9 @@ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 // USA. // -// Please report all bugs and problems to "fltk-bugs@fltk.org". +// Please report all bugs and problems on the following page: +// +// http://www.fltk.org/str.php // #ifndef Fl_H @@ -199,6 +201,14 @@ public: static int w(); static int h(); + // multi-head support: + static int screen_count(); + static void screen_xywh(int &x, int &y, int &w, int &h) { + screen_xywh(x, y, w, h, e_x_root, e_y_root); + } + static void screen_xywh(int &x, int &y, int &w, int &h, int mx, int my); + static void screen_xywh(int &x, int &y, int &w, int &h, int n); + // color map: static void set_color(Fl_Color, uchar, uchar, uchar); static void set_color(Fl_Color, unsigned); -- cgit v1.2.3