summaryrefslogtreecommitdiff
path: root/FL/fl_draw.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/fl_draw.H')
-rw-r--r--FL/fl_draw.H7
1 files changed, 6 insertions, 1 deletions
diff --git a/FL/fl_draw.H b/FL/fl_draw.H
index 8db59b43b..66125d351 100644
--- a/FL/fl_draw.H
+++ b/FL/fl_draw.H
@@ -299,7 +299,12 @@ inline void fl_rect(Fl_Rect r) {
fl_rect(r.x(), r.y(), r.w(), r.h());
}
-/** Draw a dotted rectangle, used to indicate keyboard focus on a widget. */
+/** Draw a dotted rectangle, used to indicate keyboard focus on a widget.
+
+ This method draws the rectangle in the current color and independent of
+ the Fl::visible_focus() option. You may need to set the current color
+ with fl_color() before you call this.
+*/
inline void fl_focus_rect(int x, int y, int w, int h) {
fl_graphics_driver->focus_rect(x, y, w, h);
}