summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-06-12 01:36:18 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-06-12 01:36:18 +0000
commitf438ffa0870d9a131166a5a3463859c4994d10fa (patch)
tree96bbe0c7b54b68d4519c01d6dec16ad52b72ac67 /documentation
parentdd6c9535ef382b15966ac1afe0976acc3b61b54a (diff)
Added documentation for all forms of Fl_Widget::damage() (STR
#61) Fl_Double_Window now has a type() value of FL_DOUBLE_WINDOW, to allow double-buffered windows to process redraws properly on WIN32 (STR #46) Added FL_DAMAGE_USER1 and FL_DAMAGE_USER2 damage bits for use by widget developers (STR #57) Fl_Help_View didn't support numeric character entities (STR #66) Menu shortcuts didn't use the Mac key names under MacOS X (STR #71) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation')
-rw-r--r--documentation/Fl_Widget.html8
-rw-r--r--documentation/enumerations.html2
2 files changed, 8 insertions, 2 deletions
diff --git a/documentation/Fl_Widget.html b/documentation/Fl_Widget.html
index 3b6a1cf58..48e2076c9 100644
--- a/documentation/Fl_Widget.html
+++ b/documentation/Fl_Widget.html
@@ -258,13 +258,17 @@ method for more information.
equal to this widget. Returns 0 if <TT>b</TT> is <TT>NULL</TT>.
-<H4><A name=Fl_Widget.damage>uchar Fl_Widget::damage() const</A></H4>
+<H4><A name=Fl_Widget.damage>uchar Fl_Widget::damage() const<BR>
+void damage(uchar c);<BR>
+void damage(uchar c, int X, int Y, int W, int H);</A></H4>
-<P>Non-zero if <A
+<P>The first version returns non-zero if <A
HREF="subclassing.html#draw"><TT>draw()</TT></A> needs to be
called. The damage value is actually a bit field that the widget
subclass can use to figure out what parts to draw.
+<P>The last two forms set the damage bits for the widget; the
+last form damages the widget within the specified bounding box.
<H4><A name=Fl_Widget.default_callback>static void
Fl_Widget::default_callback(Fl_Widget*, void*)</A></H4>
diff --git a/documentation/enumerations.html b/documentation/enumerations.html
index c5aed2a1c..2d7817248 100644
--- a/documentation/enumerations.html
+++ b/documentation/enumerations.html
@@ -295,6 +295,8 @@ cursors.</P>
<LI><TT>FL_DAMAGE_SCROLL</TT> - The <TT>Fl_Scroll</TT> widget was
scrolled. </LI>
<LI><TT>FL_DAMAGE_OVERLAY</TT> - The overlay planes need to be redrawn. </LI>
+<LI><TT>FL_DAMAGE_USER1</TT> - First user-defined damage bit. </LI>
+<LI><TT>FL_DAMAGE_USER2</TT> - Second user-defined damage bit. </LI>
<LI><TT>FL_DAMAGE_ALL</TT> - Everything needs to be redrawn. </LI>
</UL>
</BODY></HTML>