From 73821732239738743ac5dc6833222b0c88437b8f Mon Sep 17 00:00:00 2001 From: Greg Ercolano Date: Tue, 15 Jul 2014 15:23:33 +0000 Subject: Solves STR #1895 by making the recalc method and structure protected (accessible to derived widgets). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Scroll.H | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/FL/Fl_Scroll.H b/FL/Fl_Scroll.H index f29142567..4d763faae 100644 --- a/FL/Fl_Scroll.H +++ b/FL/Fl_Scroll.H @@ -94,14 +94,12 @@ class FL_EXPORT Fl_Scroll : public Fl_Group { void fix_scrollbar_order(); static void draw_clip(void*,int,int,int,int); -private: - - // +#if FLTK_ABI_VERSION >= 10303 +protected: // NEW (STR#1895) +#else +private: // OLD +#endif // Structure to manage scrollbar and widget interior sizes. - // - // Private for now -- we'd like to expose some of this at - // some point to solve STR#1895.) - // typedef struct { int scrollsize; // the scrollsize (global|local) int innerbox_x, innerbox_y, innerbox_w, innerbox_h; // widget's inner box (excludes scrollbars) -- cgit v1.2.3