diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2007-05-17 15:52:15 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2007-05-17 15:52:15 +0000 |
| commit | ac18bf760907d148490594a1a38dfa311978fcef (patch) | |
| tree | 3bec0bb159d3fef35edbf816a4cd7980760c76bb /documentation/Fl.html | |
| parent | 04ced5396e67c19ea808b64c851f8fa039e8eb95 (diff) | |
Replaced '>' with '>' in the documentation where appropriate (STR# 1682, 1684, 1685)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5838 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl.html')
| -rw-r--r-- | documentation/Fl.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/Fl.html b/documentation/Fl.html index 30bc498a0..f7f64e81b 100644 --- a/documentation/Fl.html +++ b/documentation/Fl.html @@ -169,7 +169,7 @@ void callback(void*) { if (!state_changed) return; state_changed = false; do_expensive_calculation(); - widget->redraw(); + widget->redraw(); } main() { @@ -472,10 +472,10 @@ respectively. <P>An example to compute the area inside a widget's box(): <pre> - int X = yourwidget->x() + Fl::box_dx(yourwidget->box()); - int Y = yourwidget->y() + Fl::box_dy(yourwidget->box()); - int W = yourwidget->w() - Fl::box_dw(yourwidget->box()); - int H = yourwidget->h() - Fl::box_dh(yourwidget->box()); + int X = yourwidget->x() + Fl::box_dx(yourwidget->box()); + int Y = yourwidget->y() + Fl::box_dy(yourwidget->box()); + int W = yourwidget->w() - Fl::box_dw(yourwidget->box()); + int H = yourwidget->h() - Fl::box_dh(yourwidget->box()); </pre> <P>These functions are mainly useful in the <tt>draw()</tt> code for deriving custom widgets, where one wants to avoid drawing |
