mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 16:46:52 +08:00
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
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user