From f438ffa0870d9a131166a5a3463859c4994d10fa Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Thu, 12 Jun 2003 01:36:18 +0000 Subject: 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 --- documentation/Fl_Widget.html | 8 ++++++-- documentation/enumerations.html | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'documentation') 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 b is NULL. -

uchar Fl_Widget::damage() const

+

uchar Fl_Widget::damage() const
+void damage(uchar c);
+void damage(uchar c, int X, int Y, int W, int H);

-

Non-zero if The first version returns non-zero if draw() 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. +

The last two forms set the damage bits for the widget; the +last form damages the widget within the specified bounding box.

static void Fl_Widget::default_callback(Fl_Widget*, void*)

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.

  • FL_DAMAGE_SCROLL - The Fl_Scroll widget was scrolled.
  • FL_DAMAGE_OVERLAY - The overlay planes need to be redrawn.
  • +
  • FL_DAMAGE_USER1 - First user-defined damage bit.
  • +
  • FL_DAMAGE_USER2 - Second user-defined damage bit.
  • FL_DAMAGE_ALL - Everything needs to be redrawn.
  • -- cgit v1.2.3