summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--FL/fl_draw.H6
1 files changed, 5 insertions, 1 deletions
diff --git a/FL/fl_draw.H b/FL/fl_draw.H
index 7c4168404..4a9c1fec3 100644
--- a/FL/fl_draw.H
+++ b/FL/fl_draw.H
@@ -199,7 +199,11 @@ enum {
// rectangles tweaked to exactly fill the pixel rectangle:
-/** Draws a 1-pixel border \e inside the given bounding box */
+/**
+ Draws a 1-pixel border \e inside the given bounding box.
+ This function is meant for quick drawing of simple boxes. The behavior is
+ undefined for line widths that are not 1.
+ */
inline void fl_rect(int x, int y, int w, int h) { fl_device->rect(x,y,w,h); };
/** Draws with passed color a 1-pixel border \e inside the given bounding box */