diff options
Diffstat (limited to 'documentation/subclassing.html')
| -rw-r--r-- | documentation/subclassing.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/documentation/subclassing.html b/documentation/subclassing.html index 5d061a1c1..15bf6179f 100644 --- a/documentation/subclassing.html +++ b/documentation/subclassing.html @@ -100,13 +100,13 @@ MyClass::handle(int event) { } MyClass::draw() { - if (damage() & FL_DAMAGE_ALL) { + if (damage() & FL_DAMAGE_ALL) { ... draw frame/box and other static stuff ... } - if (damage() & (FL_DAMAGE_ALL | 1)) draw_part1(); - if (damage() & (FL_DAMAGE_ALL | 2)) draw_part2(); - if (damage() & (FL_DAMAGE_ALL | 4)) draw_part3(); + if (damage() & (FL_DAMAGE_ALL | 1)) draw_part1(); + if (damage() & (FL_DAMAGE_ALL | 2)) draw_part2(); + if (damage() & (FL_DAMAGE_ALL | 4)) draw_part3(); } </PRE></UL> <H4><A name=draw_box>void Fl_Widget::draw_box() const |
