mirror of
https://github.com/fltk/fltk.git
synced 2026-06-06 00:22:42 +08:00
Improved documentation of Fl_Widget::clear_damage(uchar).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6861 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+9
-2
@@ -866,9 +866,16 @@ public:
|
|||||||
*/
|
*/
|
||||||
uchar damage() const {return damage_;}
|
uchar damage() const {return damage_;}
|
||||||
|
|
||||||
/** Clears the damage flags.
|
/** Clears or sets the damage flags.
|
||||||
Damage flags are cleared when parts of the widget drawing is repaired.
|
Damage flags are cleared when parts of the widget drawing is repaired.
|
||||||
\param[in] c bitmask of flags to clear
|
|
||||||
|
The optional argument \p c specifies the bits that <b>are set</b>
|
||||||
|
after the call (default: 0) and \b not the bits that are cleared!
|
||||||
|
|
||||||
|
\note Therefore it is possible to set damage bits with this method, but
|
||||||
|
this should be avoided. Use damage(uchar) instead.
|
||||||
|
|
||||||
|
\param[in] c new bitmask of damage flags (default: 0)
|
||||||
\see damage(uchar), damage()
|
\see damage(uchar), damage()
|
||||||
*/
|
*/
|
||||||
void clear_damage(uchar c = 0) {damage_ = c;}
|
void clear_damage(uchar c = 0) {damage_ = c;}
|
||||||
|
|||||||
Reference in New Issue
Block a user