From ac18bf760907d148490594a1a38dfa311978fcef Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 17 May 2007 15:52:15 +0000 Subject: 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 --- documentation/Fl.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'documentation/Fl.html') 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.

An example to compute the area inside a widget's 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());
+      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());
 

These functions are mainly useful in the draw() code for deriving custom widgets, where one wants to avoid drawing -- cgit v1.2.3