diff --git a/CHANGES b/CHANGES index dd14c89df..f692f9d0a 100644 --- a/CHANGES +++ b/CHANGES @@ -1,11 +1,23 @@ CHANGES IN FLTK 1.1.4 - - CodeWarrior Mac OS X updated to work with current CW8.3 + - 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) + - CodeWarrior Mac OS X updated to work with current + CW8.3 (STR #34) - Apple-C/X/V/Z didn't work in the Fl_Input widget due - to a bad mapping to control keys (STR #pending) + to a bad mapping to control keys (STR #79) - Added the OSX-specific fl_open_callback() function to handle Open Documents messages from the Finder (STR - #pending) + #80) - The configure script contained erroneous whitespace in various tests which caused errors on some platforms (STR #60) diff --git a/FL/Enumerations.H b/FL/Enumerations.H index 843aa0d7f..5bfe44c24 100644 --- a/FL/Enumerations.H +++ b/FL/Enumerations.H @@ -1,5 +1,5 @@ // -// "$Id: Enumerations.H,v 1.18.2.14.2.34 2003/05/18 22:12:19 easysw Exp $" +// "$Id: Enumerations.H,v 1.18.2.14.2.35 2003/06/12 01:36:15 easysw Exp $" // // Enumerations for the Fast Light Tool Kit (FLTK). // @@ -403,6 +403,8 @@ enum Fl_Damage { FL_DAMAGE_EXPOSE = 0x02, FL_DAMAGE_SCROLL = 0x04, FL_DAMAGE_OVERLAY = 0x08, + FL_DAMAGE_USER1 = 0x10, + FL_DAMAGE_USER2 = 0x20, FL_DAMAGE_ALL = 0x80 }; @@ -417,5 +419,5 @@ enum Fl_Damage { #endif // -// End of "$Id: Enumerations.H,v 1.18.2.14.2.34 2003/05/18 22:12:19 easysw Exp $". +// End of "$Id: Enumerations.H,v 1.18.2.14.2.35 2003/06/12 01:36:15 easysw Exp $". // diff --git a/FL/Fl_Double_Window.H b/FL/Fl_Double_Window.H index 8bca2bdb8..bd35a6b91 100644 --- a/FL/Fl_Double_Window.H +++ b/FL/Fl_Double_Window.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Double_Window.H,v 1.7.2.3.2.4 2003/01/30 21:38:57 easysw Exp $" +// "$Id: Fl_Double_Window.H,v 1.7.2.3.2.5 2003/06/12 01:36:16 easysw Exp $" // // Double-buffered window header file for the Fast Light Tool Kit (FLTK). // @@ -40,13 +40,13 @@ public: void hide(); ~Fl_Double_Window(); Fl_Double_Window(int W, int H, const char *l = 0) - : Fl_Window(W,H,l), force_doublebuffering_(0) {} + : Fl_Window(W,H,l), force_doublebuffering_(0) { type(FL_DOUBLE_WINDOW); } Fl_Double_Window(int X, int Y, int W, int H, const char *l = 0) - : Fl_Window(X,Y,W,H,l), force_doublebuffering_(0) {} + : Fl_Window(X,Y,W,H,l), force_doublebuffering_(0) { type(FL_DOUBLE_WINDOW); } }; #endif // -// End of "$Id: Fl_Double_Window.H,v 1.7.2.3.2.4 2003/01/30 21:38:57 easysw Exp $". +// End of "$Id: Fl_Double_Window.H,v 1.7.2.3.2.5 2003/06/12 01:36:16 easysw Exp $". // diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H index dd6f46a2a..880fcc7a7 100644 --- a/FL/Fl_Window.H +++ b/FL/Fl_Window.H @@ -1,5 +1,5 @@ // -// "$Id: Fl_Window.H,v 1.12.2.6.2.6 2003/01/30 21:40:37 easysw Exp $" +// "$Id: Fl_Window.H,v 1.12.2.6.2.7 2003/06/12 01:36:16 easysw Exp $" // // Window header file for the Fast Light Tool Kit (FLTK). // @@ -29,6 +29,7 @@ #include "Fl_Group.H" #define FL_WINDOW 0xF0 // all subclasses have type() >= this +#define FL_DOUBLE_WINDOW 0xF1 class Fl_X; @@ -123,5 +124,5 @@ public: #endif // -// End of "$Id: Fl_Window.H,v 1.12.2.6.2.6 2003/01/30 21:40:37 easysw Exp $". +// End of "$Id: Fl_Window.H,v 1.12.2.6.2.7 2003/06/12 01:36:16 easysw Exp $". // 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. -
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.