summaryrefslogtreecommitdiff
path: root/documentation/Fl.html
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-08-08 00:00:41 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-08-08 00:00:41 +0000
commit7da5a27b404078ecefcb90f2374e2e2e09ad9e47 (patch)
tree40a89ba02cb0bb3d0923a2e84ef6395fda04df3e /documentation/Fl.html
parent2c8dce49b12030ab232b518ede85bf295155ea09 (diff)
Add documentation for screen_count() and screen_xywh() (STR #931)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl.html')
-rw-r--r--documentation/Fl.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/documentation/Fl.html b/documentation/Fl.html
index 96791f3d3..7a25de4db 100644
--- a/documentation/Fl.html
+++ b/documentation/Fl.html
@@ -115,6 +115,8 @@ state information and global methods for the current application.</P>
<LI><A HREF="#Fl.repeat_timeout">repeat_timeout</A></LI>
<LI><A HREF="#Fl.run">run</A></LI>
<LI><A HREF="#Fl.scheme">scheme</A></LI>
+ <LI><A HREF="#Fl.screen_count">screen_count</A></LI>
+ <LI><A HREF="#Fl.screen_xywh">screen_xywh</A></LI>
<LI><A HREF="#Fl.selection">selection</A></LI>
<LI><A HREF="#Fl.selection_owner">selection_owner</A></LI>
<LI><A HREF="#Fl.set_abort">set_abort</A></LI>
@@ -1057,6 +1059,21 @@ and "plastic" are recognized, and <TT>NULL</TT> will use the
scheme defined in the <TT>FLTK_SCHEME</TT> environment variable
or the <TT>scheme</TT> resource under X11.
+<H4><A NAME="Fl.screen_count">int screen_count();</A></H4>
+
+<P>Gets the number of available screens.</P>
+
+<H4><A NAME="Fl.screen_xywh">void screen_xywh(int &amp;x, int &amp;y, int &amp;w, int &amp;h);<BR>
+void screen_xywh(int &amp;x, int &amp;y, int &amp;w, int &amp;h, int mx, int my);<BR>
+void screen_xywh(int &amp;x, int &amp;y, int &amp;w, int &amp;h, int n);</A></H4>
+
+<P>Gets the bounding box of a screen. The first form gets the
+bounding box for the screen the mouse pointer is in. The second
+form gets the bounding box for the screen that contains the
+specified coordinates. The last form gets the bounding box for
+the numbered screen, where <tt>n</tt> is a number from 0 to the
+number of screens less 1.</P>
+
<H4><A NAME="Fl.selection">void selection(Fl_Widget &amp;owner, const char* stuff, int len);</A></H4>
<P>Changes the current selection. The block of text is