summaryrefslogtreecommitdiff
path: root/documentation/Fl_Window.html
diff options
context:
space:
mode:
authorBill Spitzak <spitzak@gmail.com>1999-01-31 07:43:16 +0000
committerBill Spitzak <spitzak@gmail.com>1999-01-31 07:43:16 +0000
commit4c53a5d8f4f23358a101ef6bda4b6b8ea4b95274 (patch)
tree322cf457283a64e3dc124846abba2331c4be3726 /documentation/Fl_Window.html
parent4b8754ace4ce4974e7ef8a83f3c830d56aa7f1d0 (diff)
Added optimization for SGI builds (mike: please run autoconf before making
a distribution). Documentation fixes. git-svn-id: file:///fltk/svn/fltk/trunk@259 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_Window.html')
-rw-r--r--documentation/Fl_Window.html16
1 files changed, 15 insertions, 1 deletions
diff --git a/documentation/Fl_Window.html b/documentation/Fl_Window.html
index 568dd8d4c..9ed982880 100644
--- a/documentation/Fl_Window.html
+++ b/documentation/Fl_Window.html
@@ -45,6 +45,7 @@ exit(0)</TT> if this is the last top-level window. </P>
<LI><A href=#Fl_Window.border>border</A></LI>
<LI><A href=#Fl_Window.clear_border>clear_border</A></LI>
<LI><A href=#Fl_Window.current>current</A></LI>
+<LI><A href=#Fl_Window.cursor>cursor</A></LI>
</UL>
</TD><TD align=left valign=top>
<UL>
@@ -265,4 +266,17 @@ debug and maintain!</B>
<P>This method only works for the <TT>Fl_Window</TT> and <TT>
Fl_Gl_Window</TT> classes. </P>
<H4><A name=Fl_Window.current>static Fl_Window* Fl_Window::current()</A></H4>
- Returns the last window that was made current. </BODY></HTML>
+ Returns the last window that was made current.
+<H4><A name=Fl_Window.cursor>void Fl_Window::cursor(Fl_Cursor, Fl_Color = FL_WHITE, Fl_Color = FL_BLACK)</H4>
+Change the cursor for this window. This always calls the system, if
+you are changing the cursor a lot you may want to keep track of how
+you set it in a static varaible and call this only if the new cursor
+is different.
+
+<P>The type <TT>Fl_Cursor</TT> is an enumeration defined in <A
+href=enumerations.html#cursor> <TT>&lt;Enumerations.H&gt;</TT></A>.
+(Under X you can get any XC_cursor value by passing <TT>
+Fl_Cursor((XC_foo/2)+1)</TT>). The colors only work on X, they are
+not implemented on WIN32.
+
+</BODY></HTML>