diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-04-12 12:58:10 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2018-04-12 12:58:10 +0000 |
| commit | efc3ec1b7b54718be4d2f5145342484607b5059e (patch) | |
| tree | 106d99f0f2f95af3187e3098212945af3777b171 /FL | |
| parent | 5e98a9e292001fe04e8cd2c2e2df4ffbf9642242 (diff) | |
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
Diffstat (limited to 'FL')
| -rw-r--r-- | FL/Fl_Group.H | 6 |
1 files changed, 5 insertions, 1 deletions
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 |
