diff --git a/documentation/subclassing.dox b/documentation/subclassing.dox index cb4763be2..64d2e10ce 100644 --- a/documentation/subclassing.dox +++ b/documentation/subclassing.dox @@ -60,17 +60,17 @@ deimage(0);
Draws a focus box inside the widgets bounding box. The second form allows you to specify a different bounding box. -
The second version lets you do this test against an arbitrary string.
-Here is a sample handle() method for a widget that acts as @@ -249,12 +249,12 @@ the parts whose bits are set. FLTK will turn on the be redrawn, e.g. for an expose event.
Expose events (and the above damage(b,x,y,w,h)) will cause -draw() to be called with FLTK's +draw() to be called with FLTK's clipping turned on. You can greatly speed up redrawing in some cases by testing fl_not_clipped(x,y,w,h) or fl_clip_box(...) and skipping invisible parts.
Besides the protected methods described above, FLTK provides a large -number of basic drawing functions, which are described +number of basic drawing functions, which are described below.
This should not call redraw(), at least if only the -x() and y() change. This is because composite widgets like +x() and y() change. This is because composite widgets like Fl_Scroll may have a more efficient way of drawing the new position.
MyClass::MyClass(int x, int y, int w, int h) :
Fl_Group(x, y, w, h),
@@ -343,23 +343,23 @@ int MyClass::draw() {
Fl_Group provides some protected methods to make drawing
easier:
-