From efc3ec1b7b54718be4d2f5145342484607b5059e Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Thu, 12 Apr 2018 12:58:10 +0000 Subject: Remove unnecessary dependency on FL/Fl_Rect.H. Fl_Rect.H is no longer included by Fl_Group.H to avoid unnecessary dependencies on Fl_Rect.H. Currently it is only needed to access the array returned by the protected method bounds(). Also clarified documentation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12827 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Group.H | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'FL') diff --git a/FL/Fl_Group.H b/FL/Fl_Group.H index 8ab96c9a6..00edf1bcf 100644 --- a/FL/Fl_Group.H +++ b/FL/Fl_Group.H @@ -23,7 +23,11 @@ #define Fl_Group_H #include "Fl_Widget.H" -#include "Fl_Rect.H" + +// Don't #include Fl_Rect.H because this would introduce lots +// of unnecessary dependencies on Fl_Rect.H +class Fl_Rect; + /** The Fl_Group class is the FLTK container widget. It maintains -- cgit v1.2.3